Boost logo

Boost :

Subject: Re: [boost] Boost.Uuid and header-only support
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-05 02:59:21


James E. King, III wrote:

> Benchmark Times reusing a generator (1M loops):
> old implementation:
> 0.021822s wall, 0.031250s user + 0.000000s system = 0.031250s CPU
> (143.2%)
> new implementation:
> 0.373160s wall, 0.375000s user + 0.000000s system = 0.375000s CPU
> (100.5%)
>
> Benchmark Times using a new generator for each uuid (10K loops):
> old implementation:
> 1.168479s wall, 1.171875s user + 0.000000s system = 1.171875s CPU
> (100.3%)
> new implementation:
> 0.010272s wall, 0.015625s user + 0.000000s system = 0.015625s CPU
> (152.1%)

These results look odd to me. What code exactly is being tested?


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