[Development] [root_ptr] GC + Automatic Reference Counting
Phil Bouchard
philippeb8 at gmail.com
Fri Jan 13 02:50:51 CET 2017
On 01/11/2017 07:10 PM, Phil Bouchard wrote:
>
> Moreover I will try part of the following kernel level memory manager
> sooner or later:
> https://github.com/tempesta-tech/tempesta
I just wanted to close the subject with the following note:
I did try the user-space version of the Tempesta Tech memory pool (see
attached) and I get allocations 473% times faster than the system
operator new (on an Intel i7 2.4 GHz)!
0: 100000000000000 allocations / second (no allocation)
1: 38739974.57882868 allocations / second (system operator new)
2: 183240796.7309842 allocations / second (tfwpool)
3: 77259572.07468219 allocations / second (boost::pool_allocator)
4: 79126882.32962202 allocations / second (boost::pool_allocator)
5: 238646397.6326277 allocations / second (boost::fast_pool_allocator)
6: 254717365.6111179 allocations / second (boost::fast_pool_allocator)
2 / 1: 473.001850732047% boost
The boost::fast_pool_allocator is as fast but there is no need to define
the type at compile-time.
Thanks for your time,
-Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pool-benchmark.cpp
Type: text/x-c++src
Size: 9061 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170112/205ba32b/attachment.cpp>
More information about the Development
mailing list