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 <> 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.


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at