Board index » cppbuilder » woeful compile times in BCB6
woeful compile times in BCB6
2003-10-23 05:13:49 PM
I've just upgraded my app from BCB4 to BCB6. Its a big app, 469 forms and
units. A full build in BCB4 used to take 11 minutes. A full build now
takes over 50 minutes in BCB6 in the IDE.
I accept it should take a little longer to compile for increased
functionality but>4 times?
Anti-virus software is turned off.
I've created a PCH.H file as in Harold Howe article and deleted all the TDS,
CSM, IL* files and managed to get a full build to 12 minutes in the IDE. A
command line build takes 8 minutes.
But now after a week or so its back to taking 50+ minutes for a build, even
though the IDE reports the build taking less than this time! Why does the
IDE take so long? It takes at least 10 seconds before each file starts to
compile. The command line compiler rips through 2-3 files per second.
I have a P4 2G, gigs of disk space, with 512MB so this shouldn't be an
issue. I notice the CSM file is now>54MB. Does this get larger with each
incremental build? Do I need to delete all the TDS, CSM, IL* files
periodically to maintain low build times?
If I close and reopen the IDE after a build then click Run it takes a 30-40
seconds to work out nothing needs to be compiled then runs the app?
I've seen similar problems in news groups but as yet have not found the