Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solution to BCB 6 slow compile!!!

42 views
Skip to first unread message

Fred Powell

unread,
Jul 12, 2002, 12:11:15 PM7/12/02
to
From Chris Hesik at Borland:

Move away all of the *.hdp files in your BCB6 lib directory.
These are used by the IDE to try to optimize precompiled headers for smaller
apps (where the user is less likely to do the optimization himself). The
increase in the number of these files in BCB6 could be the cause of some
slowdown at compile time.

My compile times in sec:
BCB 5 = 217
BCB 6 = 1552
without *.hpd = 231

Fred

--
___________________________________________
Fred Powell, Jr.
Computing Technologies for Aviation
434-971-7624


Andrue Cope

unread,
Jul 12, 2002, 12:28:53 PM7/12/02
to
Fred Powell,

<stressed out humour warning>
So let's get this straight:The IDE is slow for two reasons:

* Because it caches a lot of things (From J.Kaster)
* Because its performance has been optimised.

Um..is it just me or is there something wrong here <g>?

Andrue Cope
[Bicester, UK]

Team Thai Kingdom

Harald Plontke

unread,
Jul 13, 2002, 8:40:08 AM7/13/02
to
Hello,

I just found hdp-files on my machine in the directory "include/vcl". After
removing the my compile time is also a bit shorter, but not as in your case:

BCB6, Project with 100+ Units

without hdp-Files
706s

without hdp-Files
573s

Greetings

Harald


Harald Plontke

unread,
Jul 13, 2002, 8:42:26 AM7/13/02
to
sorry:

with hdp-Files
706s
without hdp-Files
573s

Andrue Cope

unread,
Jul 15, 2002, 8:25:02 AM7/15/02
to
Fred Powell,

Having run tests this morning I can say that removing the HDP files
gives significant speed gains. It depends on the project (presumably
it's not a linear speed penalty) but for most of our projects we see
a halving of compilation times.

0 new messages