Boost logo

Boost :

Subject: Re: [boost] [offtopic] C++11 useful trick
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-07-03 10:52:30

On 07/03/2012 09:50 AM, Roland Bock wrote:
> I used the attached
> versions to compare compilation times:
> Using clang with -O3
> Eric:
> real 0m0.471s
> user 0m0.420s
> sys 0m0.030s
> Roland:
> real 0m0.512s
> user 0m0.470s
> sys 0m0.020s
> Obviously the measurement is rather crude and imprecise, but your
> version definitely compiles faster. And it is also much shorter and
> easier to setup for such a comparison :-)

Given your test, I suggest you benchmark the preprocessed output rather
than the source directly.

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