Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRG Class build takes ten times longer than VCX
Message
De
28/09/2006 02:35:57
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
À
27/09/2006 11:53:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01129448
Message ID:
01157754
Vues:
31
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform