Boost logo

Boost :

Subject: Re: [boost] Measuring compile time performance
From: Gubenko, Boris (boris.gubenko_at_[hidden])
Date: 2008-10-17 09:08:47


To measure compile time, I modify toolset to add 'time' to the compile command, as the following:

actions acc.compile.c++
{
    time $(CONFIG_COMMAND) ...
}

And then, the time reported by the 'time' appear in bjam.log.

HTH,
  Boris

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of dan marsden
> Sent: Friday, October 17, 2008 2:46 AM
> To: Boost
> Subject: [boost] Measuring compile time performance
>
> Hi
>
> We're looking at optimizing some of the compile time
> performance in Boost.Fusion. I'm looking for any experience
> in Boost of measuring build times / compile time cost, how to
> structure tests that cover it etc. Does Boost.Build provide
> any support for measuring compile time for example?
>
> I'm aware there's a Perl script by Steven Watanabe that
> measures template instantiations if I understand correctly.
> Are there any other techniques that are being used that I
> should be aware of?
>
> Cheers
>
> Dan
>
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk