gperftools
brew install gperftools
v2.18.1
BSD-3-Clause
Multi-threaded malloc() and performance analysis tools
171
30-day installs · #2778
677
90-day · #2577
5.2k
365-day · #1894
9.0k
★ GitHub stars · updated 5mo ago
Links
- https://github.com/gperftools/gperftools
- GitHub: gperftools/gperftools
- Brew formula source: Formula/g/gperftools.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Multi-threaded malloc() and performance analysis tools",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:22+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "gperftools",
"github_default_branch": "master",
"github_last_commit_at": "2026-03-08T17:06:07Z",
"github_readme_excerpt": "gperftools\n----------\n(originally Google Performance Tools)\n\nOVERVIEW\n---------\n\ngperftools is a collection of a high-performance multi-threaded\nmalloc() implementation, plus some pretty nifty performance analysis\ntools.\n\ngperftools is distributed under the terms of the BSD License. Join our\nmailing list at gperftools@googlegroups.com for updates:\nhttps://groups.google.com/forum/#!forum/gperftools\n\ngperftools was original home for pprof program. The original pprof was\na Perl script and there is not that many Perl experts\nnowadays. Thankfully, pprof has been rewritten in Go around 2016 and\nthat version of pprof has gotten a lot more feature-ful. So the\noriginal pprof is now removed in favor of Go version at\nhttps://github.com/google/pprof. Go\u0027s own profiling facilities are\nbased on that pprof version as well.\n\n\nTCMALLOC\n--------\nJust link in -ltcmalloc or -ltcmalloc_minimal to get the advantages of\ntcmalloc -- a replacement for malloc and new. See below for some\nenvironment variables you can use with tcmalloc, as well.\n\ntcmalloc functionality is available on all systems we\u0027ve tested; see\nINSTALL for more details. See README_windows.txt for instructions on\nusing tcmalloc on Windows.\n\n\nHEAP PROFILER\n-------------\nSee docs/heapprofile.adoc for information about how to use tcmalloc\u0027s\nheap profiler and analyze its output.\n\nAs a quick-start, do the following after installing this package:\n\n1) Link your executable with -ltcmalloc\n2) Run your executable with the HEAPPROFILE environment var set:\n $ HEAPPROFILE=/tmp/heapprof \u003cpath/to/binary\u003e [binary args]\n3) Run pprof to analyze the heap usage\n $ pprof \u003cpath/to/binary\u003e /tmp/heapprof.0045.heap # run \u0027ls\u0027 to see options\n $ pprof --gv \u003cpath/to/binary\u003e /tmp/heapprof.0045.heap\n\nYou can also use LD_PRELOAD to heap-profile an executable that you\ndidn\u0027t compile.\n\nThere are other environment variables, besides HEAPPROFILE, you can\nset to adjust the heap-profiler behavior; c.f. \"ENVIRONMENT VARIABLES\"\nbelow.\n\nThe heap pro",
"github_repo": "gperftools/gperftools",
"github_stars": 8958,
"github_topics": [],
"homepage": "https://github.com/gperftools/gperftools",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 171,
"installs_365d": 5227,
"installs_90d": 677,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-3-Clause",
"llm_generated_at": null,
"llm_model": null,
"name": "gperftools",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 2778,
"rank_365d": 1894,
"rank_90d": 2577,
"raw_hash": "6a0ffd0dfdb7b012",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/gperftools.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
"xz"
],
"version_head": "HEAD",
"version_stable": "2.18.1",
"versioned_formulae": [],
"why_use_this": null
}