Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRG Class build takes ten times longer than VCX
Message
From
28/09/2006 02:35:57
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
27/09/2006 11:53:31
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01129448
Message ID:
01157754
Views:
30
>Just an update on an old conversation. I got my new Dell machine in (dual-core sweet) some time back and observed the same fluctuation in build time except that on the new machine it would go from 2.3 seconds to 4.5 seconds and back. That pretty much rules out the hardware.
>
>I haven't seen the higher time in quite a while now. Considering that a few months ago my build time was 160 seconds or more and now it is about two seconds, you can imagine that I am one happy camper.

understandable <g>
>
>BTW, there were two things that reduced my build time considerably (besides the new hardware).
>
>One, using only two include (.H) files instead of a dozen of so.
I found large amount of inclusion (as measured in bytes) to slow down vcx even more than prg, especially in classes having too many methods for my taste (apporaching god-classes). Each file opening will give a special pause as well.
>
>Two, organizing the PRG classes into about 30 files instead of 150 or so.

Since fileopening seems to be even more of a showstopper in your case, you might check how much the virus scan / possible path arbitration (security/network availabiltity) is involved.

regards

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform