DEV Community

Discussion on: An unexpected performance regression

sharkdp profile image
David Peter Author • Edited on

Thank you for your feedback! I hadn't heard about mimalloc. I quickly tried it out via the mimallocator crate and the results for all of the benchmarks show that mimalloc is either on par or a tiny bit faster than jemalloc (1%). I'll take a closer look at this. There are also other things to consider, like availability on certain platforms (jemalloc via jemallocator does not work on Windows and for musl-libc builds).

erichdongubler profile image
Erich Gubler

jemalloc works for the gnu targets, but not the MSVC targets yet. I speak as the person who filed the PR fixing that specific target. :)

Thread Thread
sharkdp profile image
David Peter Author

Yes, I noticed that when integrating it here: For now, jemalloc is not enabled on Windows