Boost logo

Boost :

Subject: Re: [boost] [build] Performance tests
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-04 10:55:03


vicente.botet wrote:

> Hi,
>
> I would like to execute some performance test with Boost.Build. Is there a way to force the
> execution of the tests without building the executables?

You should be able to do this:

        exe hello : hello.cpp ;
        run-output hello.output : hello ;
        time hello.time : hello.output ;

The first metatarget just builds exe, as usual. The second runs the executable
(capturing the output). The third records the time spend to run the executed.

You might need to 'import testing ; ' on top.

> Are there some examples of performance tests for some Boost libraries?

I am not aware of such.

Hope this helps,
Volodya


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