Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRG Class build takes ten times longer than VCX
Message
From
17/06/2006 19:03:53
 
 
To
17/06/2006 05:24:58
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01129448
Message ID:
01129759
Views:
17
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform