Boost logo

Boost :

Subject: Re: [boost] Measuring compile time performance
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-17 11:00:48


AMDG

Joel de Guzman wrote:
> 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.

The scripts are actually a combination of bjam + perl + C++.

At the moment, the only thing that it does reliably is to
count the number of times each template is instantiated.

A month or two ago, I tried to make it produce a gprof-like
call graph by parsing the instantiation backtraces, but it
doesn't really work, and I broke gcc support in the process.
Hmmm, I'll try to fix this over fall break.

In Christ,
Steven Watanabe


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