2 ms·
This is not correct. TLSF has a worst-case of about 30 microseconds. Second best is 200 microseconds, which is shared by 3 allocators (HeapAlloc, dlmalloc, and
by forrestthewoods 4y ago
This is not correct.
TLSF has a worst-case of about 30 microseconds. Second best is 200 microseconds, which is shared by 3 allocators (HeapAlloc, dlmalloc, and rpmalloc). Which implies something inside the OS call is occasionally very slow.
TLSF is the only tested allocator that uses a pre-allocated pool and stays in user space. And it has noticeably better tail performance.
https://www.forrestthewoods.com/blog/benchmarking-malloc-with-doom3/assets/img/percentile_alloc_zoomed_large.png https://www.forrestthewoods.com/blog/benchmarking-malloc-wit...