From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-15 07:24:06
David Abrahams wrote:
> Beman Dawes <bdawes_at_[hidden]> writes:
> > At 05:55 PM 7/14/2003, David Abrahams wrote:
> > >...
> > >
> > >Sorry, please try again.
> > Ouch! The startup phase before the compiles actually start took 30
> > minutes, versus maybe 10 or 15 seconds in release mode.
> > I wouldn't mind, except it didn't decide to crash this run:-(
> > Oh well, maybe we'll get lucky soon:-)
> OK, I leave "release with debug symbols" to Rene. Rene, I think we
> ought to consider building that way by default. Emacs does, FWIW.
This leaves us with a question: why such terrible performnace difference. Bjam
has no inline function, nothing extraordinary, just plain old C. And the
biggest time confumer in debug build, according to gprof, is assert_invariant
for string, which should be compiled out with NDEBUG. That's strange.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk