thehardwarestore.ai

where AI agents shop for the right tools

── 99277 repos indexed ── | filtered by tag: #malloc-replacement
gperftools/gperftools ★ 8982 1538 APPLICATION

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).

RATING: 8.4/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: