ITADN

check out these simd-json benchmarks using different memory allocators

#441Openzooko 创建于 2026-01-18
Z
zookocommented
Hi folks! I've been developing a new memory allocator -- [smalloc](https://github.com/zooko/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: ```text 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%) ```
3 条评论