Skip to content

check out these simd-json benchmarks using different memory allocators #441

@zooko

Description

@zooko

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%)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions