|
Boost : |
Subject: Re: [boost] [Root Pointer] Benchmark w/ Threading = 124% faster
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-27 17:11:35
On 03/27/2016 02:04 PM, Phil Bouchard wrote:
> I just noticed that if I do not define the BOOST_DISABLE_THREADS macro,
> root_ptr is faster than allocate_shared_noinit by 124%:
>
> unique_ptr (new): 42.1397
> unique_ptr (make_unique): 43.4631
> shared_ptr (new): 76.4543
> shared_ptr (make_shared): 76.6611
> shared_ptr (allocate_shared_noinit): 81.9926
> root_ptr (new): 66.3417
... And the bjam file works fine now:
https://github.com/philippeb8/root_ptr/blob/master/example/Jamfile.v2
Just uncomment the following lines to use a local installation of Boost:
#<library-path>/usr/local/lib
#<dll-path>/usr/local/lib
Thanks,
-Phil
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk