Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRG Class build takes ten times longer than VCX
Message
De
17/06/2006 19:03:53
 
 
À
17/06/2006 05:24:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01129448
Message ID:
01129759
Vues:
9
>>What did you do to restructure the INCLUDE files?

>The mean include file "weight" mesaured in size and number of accessed files dropped to about a quarter.
>
>Since at that time each developer had to test COM-capability of their modules, all had to build at least once per day and then the speed gains were worth the effort.

Hooray! It was the INCLUDE files. They had been proliferating and that times the increased number of files with PRG classes apparently made the difference.

I have reduced the build time from 160 seconds to 24 seconds by consolidating INCLUDE files and eliminating large unused DEFINE lists. I still have the master INCLUDE file.

What blows my mind is that the comipiler apparently opens and reevaluates every INCLUDE file and every INCLUDE file referenced by an INCLUDE file for every module even though those modules are NOT being recomipiled.

Just did a build with RECOMPILE. Takes 44 seconds.

Thanks Thomas.

Folks, let's spread the word about how much chained INCLUDE files can slow down your build.

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform