Hacker News new | ask | show | jobs
by Zagitta 1658 days ago
As others have noted this sounds like a contention issue that you should fix by not allocating in your hot path if at all possible. The easiest fix would probably be to try to switch out your global allocator for something like https://github.com/gnzlbg/jemallocator and see if that doesn't give you a nice performance boost.
1 comments

Hmm, yes we are already using jemallocator actually