On 03/11/2016 09:56 PM, Phil Bouchard wrote:
On 03/06/2016 10:57 PM, Phil Bouchard wrote:
True but if block_ptr<> is 10x faster than the Mark & Sweep GC then I
think we got something perhaps worth investigating.
- For the record, now block_ptr<> is 600% times faster than shared_ptr<>
so it's a good start:
new:
auto_ptr: 23174753 ns
shared_ptr: 49726615 ns
block_ptr: 7812659 ns
Sorry for the confusion but the real benchmark of the pointers is:
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
But block_ptr<> handles cyclic references as well. I just thought you
might be interested in this benchmark.
Regards,
-Phil
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev