title: C++ memory allocation mechanism performance comparison (tcmalloc vs. jemalloc)
body: <p>I have an application which allocates lots of memory and I am considering using a better memory allocation mechanism than malloc.</p>
  
  <p>My main options are: jemalloc and tcmalloc. Is there any benefits in using any of them over the other?</p>
  
  <p>There is a good comparison between some mechanisms (including the author's proprietary mechanism -- lockless) in <a href="http://locklessinc.com/benchmarks.shtml" rel="noreferrer">http://locklessinc.com/benchmarks.shtml</a> 
  and it mentions some pros and cons of each of them.</p>
  
  <p>Given that both of the mechanisms are active and constantly improving. Does anyone have any insight or experience about the relative performance of these two?</p>