V4RB: Win performance dragging
Peter De Berdt
peter.de.berdt at pandora.be
Sun Apr 20 23:45:11 CDT 2003
> > I'm seeing a very strange speed issue where creating a new Valentina
>> database on Win XP and Win Me takes anywhere from 5-10 seconds,
>> while creating the same database on Mac OS X and Classic takes about
>> a second. It's not just my Windows box; I've had reports from beta
>> testers that my app takes around 10 seconds to create a new database
>> file.
>
>I will check this soon.
>Exists other such reports.
Yes, and now I've found out it's not only less performant on
creating, but also on adding and updating records. My app runs very
fast on a Mac, but running the same code compiled for Win32 (using
V4RB) it's slow... This has nothing to do with a slow pc, ran it on a
top of the notch dual processor pc and it was still 5-10 times slower
than my humble one processor G4 PowerBook.
>
>> I've been trying to trace this back on the assumption that it's my
>> code, but now I can reproduce the symptoms using the Three Tables
>> example project that comes with Valentina. I'm using RB 4.5.2 and
>> V4RB 1.9.7, my build machine in an iBook running OS X 10.2.4.
>
>Aha, so you use V4RB...
>Strange. It looks like this problem comes from codeWarrior.
>
>V4MD developers on WIN (made by MS Visual C++) have GOOD speed.
>
>> I added a touch of profiling code to the example, but otherwise it's
>> exactly as I downloaded it.
>>
>> The compiled OS X app, running on my 600MHz iBook, completes the
>> following line of code (found in the File/New menu handler of the app
>> object) in about 0.5 or 0.6 seconds.
>>
>> res = w.mDataBase.Create( f, 4, 32 * 1024 )
>>
>> The compiled Windows app, running on my 1.7GHz Dell Celeron, Win XP
>> Home, takes about 6 seconds to complete the same line of code!
>>
>> Does anyone have any ideas about what could be causing this? Any
>> chance moving up to the 1.9.8 betas will address it? I'm sure this
>> isn't normal, but I'm at a loss to figure out what's wrong.
>
>This is not fixed yet.
>
Hope you find a fix soon, my client would be very pleased to see her
application speed up to my demo (ran on a Mac) presentation.
--
Best regards,
Peter De Berdt
--------------
My software never has bugs, it just generates random features...
More information about the Valentina
mailing list