BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BCB Compile speed - again...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Roddy Pratt
Guest





PostPosted: Fri Jun 17, 2005 5:47 pm    Post subject: BCB Compile speed - again... Reply with quote



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





PostPosted: Fri Jun 17, 2005 6:03 pm    Post subject: Re: BCB Compile speed - again... Reply with quote



"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





PostPosted: Fri Jun 17, 2005 9:00 pm    Post subject: Re: BCB Compile speed - again... Reply with quote



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

Quote:
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)



Back to top
Roddy Pratt
Guest





PostPosted: Fri Jun 17, 2005 9:45 pm    Post subject: Re: BCB Compile speed - again... Reply with quote

"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





PostPosted: Sat Jun 18, 2005 7:26 am    Post subject: Re: BCB Compile speed - again... Reply with quote

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





PostPosted: Fri Jul 01, 2005 1:33 am    Post subject: Re: BCB Compile speed - again... Reply with quote

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





PostPosted: Fri Jul 01, 2005 9:38 am    Post subject: Re: BCB Compile speed - again... Reply with quote

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.

Quote:
Al


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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.