13 Mar
2016
13 Mar
'16
4:44 p.m.
On 03/13/2016 11:24 AM, Glen Fernandes wrote:
Results on one machine:
unique_ptr (new): 81.2868 unique_ptr (make_unique): 83.2583 shared_ptr (new): 139.141 shared_ptr (make_shared): 84.8653
It might address one of the concerns Rob had with your benchmark (e.g. your use of function pointers).
I just overwrote the benchmark and now I have: unique_ptr (new): 47.7686 unique_ptr (make_unique): 46.8545 shared_ptr (new): 77.8261 shared_ptr (make_shared): 50.8072 shared_ptr (make_shared_alloc_noinit): 33.021 block_ptr (new): 69.6554 -Phil