|
Boost : |
Subject: [boost] [Root Pointer] Benchmark
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-13 20:11:47
So I renamed block_ptr<> to root_ptr<> and the code is accessible from here:
https://github.com/philippeb8/root_ptr
I am sorry but I made a mistake in the benchmark again. root_ptr<>
wasn't using the fast allocator. Now it does and the new benchmark is:
unique_ptr (new): 42.3736
unique_ptr (make_unique): 59.6104
shared_ptr (new): 69.9175
shared_ptr (make_shared): 46.9994
shared_ptr (allocate_shared_noinit): 31.0648
root_ptr (new): 30.5549
Regards,
-Phil
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk