Extremely long build times
- From: Stavros Papadopoulos <"nestor at anadelta dot com">
- Date: Tue, 31 Jul 2007 19:24:15 +0300
Building our 500,000+ line application in Delphi 2007 takes about 37
minutes (although sometimes, for unknown reasons, it will take more
than one hour and a half) on a fairly fast machine (1GB Intel Core
Duo). At the early stages of development (up to 100,000 lines)
compilation was extremely quick, taking less than a minute for a full
build. The slowdown now appears to be exponential in nature with
respect to source size.
The amount of the machine's memory is irrelevant, since bds.exe does
not consume more than 200MB at any point during the building process.
There are no invalid entries in our library and search paths, no
network drives and no read-only files.
After posting at borland.public.delphi.non-technical and discussing
the issue a few months ago, it was suggested that the problem was that
the compiler keeps rebuilding incomplete units from scratch each time
they are being referenced. We split several of our largest such units,
but it made absolutely no difference.
We have made a post on QC about our problem (report #49845), in which
we have included an .XLS file that graphically depicts the compiler's
progress through our source code.
At this point, we have tried a lot of promising and even some not-so-
promising things (such as disabling hint generation). Does anyone have
any new insights into the probable cause of this slowdown?
.
- Follow-Ups:
- Re: Extremely long build times
- From: Alan Clark
- Re: Extremely long build times
- From: Stavros Papadopoulos
- Re: Extremely long build times
- From: OBones
- Re: Extremely long build times
- From: John Herbster
- Re: Extremely long build times
- From: Nick Hodges (CodeGear)
- Re: Extremely long build times
- From: Eduardo A. Salgado
- Re: Extremely long build times
- From: Dmitry Streblechenko
- Re: Extremely long build times
- From: Craig Stuntz [TeamB]
- Re: Extremely long build times
- Prev by Date: Re: I hate the CapsLock Key
- Next by Date: Re: Extremely long build times
- Previous by thread: Extremely long build times
- Next by thread: Re: Extremely long build times
- Index(es):
Relevant Pages
|