 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Roddy Pratt Guest
|
Posted: Fri Jun 17, 2005 5:47 pm Post subject: BCB Compile speed - again... |
|
|
I feel strangely compelled to raise the issue of BCB compile speed (or lack
of it) once more.
I'm aware of the stock answers, namely
* C++ is awseomely difficult to compile
* Pre-compiled headers don't work the way you think
* Your computer needs more memory
* You need a faster computer/more disks/faster disks/more computers
* You need a slooooower brain
And, it's always nagged me, because I came to BCB from Delphi, and Delphi
has always just blazed along when compiling,
But, today I saw something that that makes me feel that there's more to it
than that: ProjectMaker
(http://helene-lange-weg.mine.nu/Rutsch/cppcorner.html)
It's not perfect: it doesn't work for all projects, and it doesn't play
nicely with the IDE, but it DOES speed up builds by a factor of between 5
and 10.
That is, a two minute BCB5 build of my project takes well under 20 seconds
with Projectmaker.
As far as I can tell, it achieves this magic just by running the Borland
command line make and compile tools. What *possible* sane reason is there
for this to give a five or ten times speedup???
I don't know if I can use ProjectMaker for real yet, but I now believe that
BCB compiles slowly because there's the equivalent of a brick wedged under
the gas pedal. Will DeXter remove the brick? I hope so!
- Roddy
|
|
| Back to top |
|
 |
David Charron Guest
|
Posted: Fri Jun 17, 2005 6:03 pm Post subject: Re: BCB Compile speed - again... |
|
|
"Roddy Pratt" <roddy at spam fritter dot com> wrote in <42b30cc2$1
@newsgroups.borland.com>:
| Quote: | I don't know if I can use ProjectMaker for real ye
|
I already use it for real. Works great. I also split my program in different
lib project so that I only need to recompile the needed library project I
changed.
--
Regards from Quebec.
David Charron
|
|
| Back to top |
|
 |
Dave Guest
|
Posted: Fri Jun 17, 2005 9:00 pm Post subject: Re: BCB Compile speed - again... |
|
|
I've been using it and it works good (MUCH faster) but I have to exit the
IDE before I build. I would be VERY disapointed if the new C++ Borland is
working on built any slower in the IDE than this can do. Now that we know
this is possible anything less is unacceptable, build speed is just too
important.
Dave
|
|
| Back to top |
|
 |
Roddy Pratt Guest
|
Posted: Fri Jun 17, 2005 9:45 pm Post subject: Re: BCB Compile speed - again... |
|
|
"Dave" <drbsname_ (AT) _aol (DOT) com> wrote
| Quote: | I would be VERY disapointed if the new C++ Borland is
working on built any slower in the IDE than this can do.
|
Agreed. Having seen the speed differential, I've filed a report in QC...
| Quote: | Now that we know this is possible anything less is unacceptable
|
Back to the brick under the gas pedal analogy: Part of me is pissed off
that I've put up with the poor performance for so long, and part of me is
delighted with the new speed...
- Roddy
|
|
| Back to top |
|
 |
Siegfried Rohdewald Guest
|
Posted: Sat Jun 18, 2005 7:26 am Post subject: Re: BCB Compile speed - again... |
|
|
You may want to test the SuperSpeed RAMDisk utility. I use it with just
512 MBytes of RAM under Windows XP SP2, and it speeds up build times of
BCB5 by about 40% (30 to 40 seconds instead of about 1 minute). Code
size is about 100,000 lines.
Be sure to specify file system NTFS for the RAMDisk virtual drive.
Right click the virtual drive in Windows Explorer and check option
"Compress drive to save disk space" so all intermediate and final
output files fit into RAM.
HTH,
Siegfried.
Roddy Pratt wrote:
| Quote: | "Dave" <drbsname_ (AT) _aol (DOT) com> wrote in message
news:42b33a2b$1 (AT) newsgroups (DOT) borland.com...
I would be VERY disapointed if the new C++ Borland is
working on built any slower in the IDE than this can do.
Agreed. Having seen the speed differential, I've filed a report in QC...
Now that we know this is possible anything less is unacceptable
Back to the brick under the gas pedal analogy: Part of me is pissed off
that I've put up with the poor performance for so long, and part of me is
delighted with the new speed...
- Roddy
|
|
|
| Back to top |
|
 |
Al Acker Guest
|
Posted: Fri Jul 01, 2005 1:33 am Post subject: Re: BCB Compile speed - again... |
|
|
| Quote: | build speed is just too important.
|
I have to disagree ( even though I'd like faster builds also <g> )....
people who require fast build speed normally are the ones that design on the
fly.... I tend to make a list of what needs to be done.... do it all at one
time and then build. But then again, I'd like to have faster builds ( would
cut down on the coffee bill <g> ).
Al
--
Al Acker, President
Acker Consulting, Inc.
mailto:al (AT) thexbasefiles (DOT) com
http://www.ackerconsulting.com
|
|
| Back to top |
|
 |
Hendrik Schober Guest
|
Posted: Fri Jul 01, 2005 9:38 am Post subject: Re: BCB Compile speed - again... |
|
|
Al Acker <al (AT) thexbasefiles (DOT) com> wrote:
| Quote: | build speed is just too important.
I have to disagree ( even though I'd like faster builds also <g> )....
people who require fast build speed normally are the ones that design on the
fly.... I tend to make a list of what needs to be done.... do it all at one
time and then build. But then again, I'd like to have faster builds ( would
cut down on the coffee bill <g> ).
|
Have you ever been working on an app with 1MLOC?
I do work on large projects and I can assure you
that then build times start to matter even if you
design well and watch your dependencies.
For an example, one of our apps currently gets
ported to SunOS. Where VC links it within 2-3mins,
CW isn't much slower, and GCC on Linux with ~10mins
is still acceptable, GCC on SunOS takes 30mins (in
words: Thirty Minutes) to link the app. Try fixing
a bug that only manifests itself on SunOS, and you
will realize that build times indeed matter, even
though you can influence them to some degree.
Schobi
--
[email]SpamTrap (AT) gmx (DOT) de[/email] is never read
I'm Schobi at suespammers dot org
"Coming back to where you started is not the same as never leaving"
Terry Pratchett
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|