tcmalloc
A drop-in GlobalAlloc implementation using tcmalloc from gperftools.
Usage
Keep in mind that as of today, GlobalAlloc is only available in nightly,
hidden behind the global_allocator feature flag.
extern crate tcmalloc;
use TCMalloc;
static GLOBAL: TCMalloc = TCMalloc;
Also note that you can only define one global allocator per crate.