🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #257

Re: Performance issue with NT 4.0

#257
From: Anders P
Date: Wed, 13 Mar 2002 06:30
60 lines
3699 bytes
"Max Bolingbroke" <batterseapower{no@spam}hotmail.com> wrote in message
news:a6k7sr$djn$1@newsfeed.th.ifl.net...
> Runs so fast for me on XP that the button barely goes down.

Thanx, that was encouraging! ;-)

Anyway, point being, there **IS** a huge difference between performance on
this code on WinNT 4.0 and almost any other windows system. We have a test
department at our company with plenty of testing mashines and different
environments, and our customers have up to thousands of computers, making
room for chance in these test next to nothing. There is really no reason
everyone to post their results (and with the results from those who've done
it, I think one should get the picture already).

My big consern is if anyone has either a good *explaination* or any
*solution*.

Best regards
 -Anders

> "Anders P" <ap@comp.nospan> wrote in message
> news:xIfj8.3172$Mg4.3426@news1.bredband.com...
> > I have this performance issue with NT 4.0 for my Visual Basic app. I
have
> > isolated the problem into the process of adding many items to a
> collection.
> > The same code and EXE-file runs REMARKABLY slower on Win NT 4.0 than on
> e.g.
> > Win2000 or Win98.  Typical number would be 10-50 times slower on NT with
> > same hardware. Anyone having clues to the reason and any workarounds
(when
> > upgrading the NT systems is out of the question!)?
> >
> > best regards
> >  -Anders
> >
> > Test the follwing code for youself (paste code in a form with command
> button
> > and label):
> >
> > Private Sub Command1_Click()
> > Dim dtStart     As Date
> > Dim dtStop      As Date
> > Dim collTest    As Collection
> > Dim i           As Long
> >   Set collTest = New Collection
> >   dtStart = Now
> >   For i = 1 To 100000
> >     collTest.Add "qwrqweltjqwegkwldjgsldkjsldqwertyjf"
> >   Next i
> >   dtStop = Now
> >   Label1.Caption = DateDiff("s", dtStart, dtStop)
> > End Sub
> >
> >
> >
> >
> >
>
>
Technical Details
Message-ID: <DlCj8.3652$Mg4.3938@news1.bredband.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsspool1.bredband.com!news1.bredband.com.POSTED!not-for-mail
References: <xIfj8.3172$Mg4.3426@news1.bredband.com> <a6k7sr$djn$1@newsfeed.th.ifl.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cf61,b177bb349b2c46c5
X-Google-Attributes: gid10cf61,public
X-Google-Thread: 111c14,b177bb349b2c46c5
X-Google-Attributes: gid111c14,public
X-Google-Thread: 110e3b,b177bb349b2c46c5
X-Google-Attributes: gid110e3b,public
X-Google-Thread: fb992,b177bb349b2c46c5
X-Google-Attributes: gidfb992,public
X-Google-Thread: f645d,b177bb349b2c46c5
X-Google-Attributes: gidf645d,public
X-Google-Thread: f51ba,b177bb349b2c46c5
X-Google-Attributes: gidf51ba,public
X-Google-ArrivalTime: 2002-03-12 22:35:56 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsspool1.bredband.com!news1.bredband.com.POSTED!not-for-mail
Reply-To: "Anders P" <ap@comp.nospan>
From: "Anders P" <ap@comp.nospan>
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,comp.lang.visual.basic,dk.edb.programmering.basic.visual-basic,microsoft.private.mvp.visualbasic,no.it.programmering.visual-basic
References: <xIfj8.3172$Mg4.3426@news1.bredband.com> <a6k7sr$djn$1@newsfeed.th.ifl.net>
Subject: Re: Performance issue with NT 4.0
Lines: 62
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <DlCj8.3652$Mg4.3938@news1.bredband.com>
Date: Wed, 13 Mar 2002 07:30:52 +0100
NNTP-Posting-Host: 213.112.166.135
X-Complaints-To: news-abuse@bredband.com
X-Trace: news1.bredband.com 1016000995 213.112.166.135 (Wed, 13 Mar 2002 07:29:55 CET)
NNTP-Posting-Date: Wed, 13 Mar 2002 07:29:55 CET
Organization: A customer of B2 Bredbandsbolaget (www.bredband.com)