Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] benchmark
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-05-25 12:19:54

On 5/25/2011 5:10 AM, Mathias Gaunard wrote:

> This is a fairly bad way to write a benchmark, and is likely to yield
> somewhat incorrect results.

It is based on a fixed amount of work and returns an estimate of time.

> You should bench based on an external condition, such as time, rather
> than making a fixed number of iterations.

You mean: it should return the amount of iterations based on a fixed
interval of time. I don't think it'll be as precise.


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