Extremely long build times



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?

.



Relevant Pages

  • Extremely long build times
    ... network drives and no read-only files. ... the compiler keeps rebuilding incomplete units from scratch each time ... progress through our source code. ... we have tried a lot of promising and even some not-so- ...
    (borland.public.delphi.non-technical)
  • Search engine material
    ... I have been looking up various search engine material on the net. ... looks promising is an article that Wrox published, ... I have the article, but cannot get the source code, as the ... infinite wisdom. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OLAP Web Control
    ... Gerald Aichholzer schrieb: ... (source code available) ... It looks quite promising, ... enhancement to support non-IE browsers, ...
    (microsoft.public.sqlserver.olap)
  • Re: Where to get Crafty 1.0 / How to start writing chess prg from scratch?
    ... Looks promising and understandable :-) ... I will read and study the source code in detail and maybe ask again ... Michael. ... Prev by Date: ...
    (rec.games.chess.computer)