-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
Hi folks! I've been developing a new memory allocator -- smalloc -- and I've been using simd-json's benchmarks to compare smalloc's performance with the Rust default allocator, jemalloc, snmalloc, mimalloc, and rpmalloc. Thought you might be interested!
Here you can find my forks of the simd-json repo: https://github.com/zooko/simd-json . And here are the instructions for how to run the benchmarks: https://github.com/zooko/smalloc/blob/main/bench/README.md#benchmarking-user-code-with-different-allocators
Here are some benchmark results generated with this process:
test default jemalloc snmalloc mimalloc rpmalloc smalloc
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
...
NORMALIZED (100s baseline work) 2100.0 s ( ) 2096.4 s ( ) 1944.6 s ( ) 1778.1 s ( ) 1756.2 s ( ) 1711.9 s ( )
RELATIVE TO BASELINE ( +0.0%) ( -0.2%) ( -7.4%) (-15.3%) (-16.4%) (-18.5%)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels