https://github.com/evmar/hp
generate graphs from google-perftools heap profiles
https://github.com/evmar/hp
Last synced: about 1 year ago
JSON representation
generate graphs from google-perftools heap profiles
- Host: GitHub
- URL: https://github.com/evmar/hp
- Owner: evmar
- Created: 2012-02-24T22:03:45.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T09:24:53.000Z (over 5 years ago)
- Last Synced: 2025-03-25T00:11:09.168Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 330 KB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
hp generates graphs from google-perftools heap profiles.
`pprof`, part of [google-perftools][], does the same thing but it is
very slow for large binaries (primarily due to `addr2line` being
slow).
[google-perftools]: http://code.google.com/p/perftools/
This reimplementation has much fewer features but is also much
faster. For more discussion, see [my blog post][blog].
[blog]: http://neugierig.org/software/blog/2012/03/heap-profiling.html
To build:
ninja # https://ninja-build.org/
or put the directory into your `GOROOT` and `go build`.
To use:
export GOMAXPROCS=8 # number of CPUs, for multiple threads
./hp /path/to/binary /path/to/profile