Re: Extremely long build times
- From: "Dmitry Streblechenko" <dmitry@xxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 09:50:08 -0700
What does your Compile dialog show? Are you getting any hints/warning?
I don't know about Delphi 2007, but in the previous versions of Delphi the
compilation could get *exteremely* slow if you had many warnings/hints
(thousands). It sure looks like Delphi was rebutiling the list of
warnings/errors by setting the TStringList.Text rather than calling
TStringList.Add.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Stavros Papadopoulos" <"nestor at anadelta dot com"> wrote in message
news:46af6232$1@xxxxxxxxxxxxxxxxxxxxxxxxx
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: Nikos Bakolas
- Re: Extremely long build times
- References:
- Extremely long build times
- From: Stavros Papadopoulos
- Extremely long build times
- Prev by Date: Re: I hate the CapsLock Key
- Next by Date: Re: Ground control to CodeGear...
- Previous by thread: Re: Extremely long build times
- Next by thread: Re: Extremely long build times
- Index(es):
Relevant Pages
|