4 ms·
I've worked with several projects where a TCMalloc based allocator (threaded) was used to great success. A simple switch to DLMalloc (non-threaded) can also pro
by forrestthewoods 15y ago
I've worked with several projects where a TCMalloc based allocator (threaded) was used to great success. A simple switch to DLMalloc (non-threaded) can also provide a significant performance boost.
Moderate usage of STL can do nasty, nasty things to memory performance. In one case a game I worked on ran at 5-10fps and a simple, fast change to DLMalloc instantly took perf to 60fps.
- caf 15y agoIt's worth noting that at least on some platforms the system malloc is dlmalloc (presuming that DL is Doug Lea).
- vetler 15y ago+1 for TCMalloc. We used TCMalloc at Opera Community[0], and they still might be using it there for all I know ... it greatly improved performance on our MySQL servers! [0]: http://my.opera.com/ http://my.opera.com/