# gperftools/gperftools

Main gperftools repository

Repository: https://github.com/gperftools/gperftools
Canonical: https://ross.abutalabs.com/products/gperftools
Language: C++
License: BSD-3-Clause
License Family: permissive
Last push: 2026-07-25T16:16:01+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 61, longevity 100
- inputs: {"age_days": 4600, "days_push": 39, "days_rel": 180, "gap_med": 40, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8978, forks 1540 (observed 2026-08-28T04:10:26.581015+00:00)

## What it is
gperftools (Google Performance Tools) is a collection of high-performance multi-threaded malloc implementations (tcmalloc) plus CPU and heap profiling tools for C/C++ applications. It links into existing binaries via -ltcmalloc or LD_PRELOAD and produces profiles analyzable with pprof.

## Use cases
- profile cpu usage of a c++ program
- find memory leaks with heap profiling
- speed up multithreaded application allocation with tcmalloc
- profile a binary I didn't compile via LD_PRELOAD
- analyze heap usage over time
- replace malloc for better multithreaded performance

## When to choose
- you need a fast multithreaded malloc replacement for C/C++
- you want CPU or heap profiling on Linux/macOS with pprof integration
- you need to profile binaries without recompiling

## When to avoid
- you need profiling on Windows (profilers unsupported there)
- you want modern Go-based pprof tooling itself (use google/pprof)
- you need memory-safe or managed-language profiling

## Facets
- artifact type: library
- maturity: maintenance
- function: benchmarking, monitoring, caching
- domain: developer-tools, performance, backend
- platform: cpp, cross-platform
- tags: tcmalloc, memory-allocator, profiling, heap-profiler, cpu-profiler, linux, macos

## Member repositories
- gperftools/gperftools (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.581015+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:24.859001+00:00, confidence not recorded.
  - readme: https://github.com/gperftools/gperftools (fetched 2026-08-28T04:10:26.581015+00:00, sha 15a70a2aceb0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
