Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is tcmalloc better or worse than nedmalloc?

nedmalloc worse
0
Posted

Is tcmalloc better or worse than nedmalloc?

0

As you can see in the graph above, nedmalloc is about equal to tcmalloc for threadcache-only ops and substantially beats it for non-threadcache ops. nedmalloc is also written in C rather than C++ and v0.5 of tcmalloc only works on Unix systems and not win32. tcmalloc achieves its speed by never returning memory to the system – free space reclamation is one of the slowest parts of any allocator. Therefore tcmalloc should NOT be used outside long running server processes (and indeed its own docs say the same).

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123