snmalloc icon indicating copy to clipboard operation
snmalloc copied to clipboard

MiMalloc 3 Comparison

Open SchrodingerZhu opened this issue 5 months ago • 4 comments

https://github.com/microsoft/mimalloc

Seems v3 brings in some new stuffs such as numa affinity and performance improvement.

SchrodingerZhu avatar Jul 01 '25 12:07 SchrodingerZhu

I think many of the things that have been improved in mimalloc 3 are hard to benchmark. Large long running systems, so a empirical comparison with mimalloc-bench wouldn't say very much.

mjp41 avatar Jul 01 '25 13:07 mjp41

One thing that may be interesting to think about is to benchmark against lean4's mathlib. That is a huge project with a lot of RC flying around given the feature of Lean4's runtime.

SchrodingerZhu avatar Jul 01 '25 14:07 SchrodingerZhu

Could we add that to mimalloc-bench? How long does it run for?

mjp41 avatar Jul 01 '25 15:07 mjp41

It runs for around 1 hour without elaboration cache.

SchrodingerZhu avatar Jul 08 '25 15:07 SchrodingerZhu