Boost logo

Boost :

Subject: Re: [boost] Measuring compile time performance
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-10-17 10:39:30


David Abrahams wrote:
> on Fri Oct 17 2008, dan marsden <danmarsden-AT-yahoo.co.uk> wrote:
>
>> 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?
>
> It's pretty simple just to use
>
> time g++ ...whatever...
>
> If you need to run windoze commands, you can just install cygwin and use
> its implementation of time.

time is good enough for benchmarking. OTOH, Steven's perl sript
is nice because it can (as he says) actually gather info when
templates are being instantiated. I haven't used it yet, but it
seems to be just the tool we need for profiling templates.
Steven, please tell us more about your script.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

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