If the issue is indeed repeated (de-)allocations, I would also like to see Linux glibc/musl benchmarks. I expect musl malloc to perform even worse, so many stories about allocation sensitive services performing horribly in production because they're based on alpine images.
5 comments
[ 3.0 ms ] story [ 28.5 ms ] threadThe macOS malloc is known to perform poorly, so I wonder if it's possible to narrow the gap just by using jemalloc, without any other optimisations.
If the issue is indeed repeated (de-)allocations, I would also like to see Linux glibc/musl benchmarks. I expect musl malloc to perform even worse, so many stories about allocation sensitive services performing horribly in production because they're based on alpine images.