Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-07-26 13:18:51


Vladimir Prus <ghost_at_[hidden]> writes:

> On Wednesday 26 July 2006 19:42, David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> > On Wednesday 26 July 2006 18:15, David Abrahams wrote:
>> >> Simple things like rebuilding the "html" target in libs/parameter/doc
>> >> or rebuilding the "sfinae" target in libs/parameter/test produce an
>> >> intolerably long delay for me before any build actions start.
>> >
>> > For a start, is delay the same on the second invocation as it is on
>> > the first?
>>
>> To my perception, yes.
>
> In my case, on cold run it takes ~30 seconds, and then ~2. Probably because
> there's 6G of memory here, so all disk accesses are cached.

I have 2G; shouldn't that be enough?

>> > Also, can you try the attached patch to top-level Jamfile.v2?
>>
>> With the patch, it flies!
>
> What's performance of V1? I can replace the globbing code with that we have
> there, as a quick solution.

v1 is much faster than v2, even with the patch. Building starts
essentially instantaneously.

> I also planed to make globbing lazy -- and don't it it unless we're installing
> -- but maybe that's not important if V1 code works fine.

I think you have slowdowns elsewhere.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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