gperftools is a production-grade C++ performance tools library, primarily known for its thread-caching malloc (tcmalloc) that replaces the standard libc malloc/free and C++ new/delete. The library provides significant performance improvements for multi-threaded applications by reducing lock contention through per-thread caches. In addition to the allocator, it offers CPU profiling (via timer-based sampling), heap profiling, heap leak checking (deprecated stub), and a debug allocator with corruption detection. The codebase is cross-platform (Linux, Windows, macOS, BSD) and includes extensive unit tests and benchmarks. It is consumed as a shared or static library, linked with `-ltcmalloc` or `-ltcmalloc_minimal`. The repository also contains vendored dependencies (Google Test, libbacktrace) and supports multiple build systems (autotools primary, CMake preliminary, Bazel experimental).