Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
generate graphs from google-perftools heap profiles
Go
Branch: master

README.markdown

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

This reimplementation has much fewer features but is also much faster. For more discussion, see my blog post.

To build:

ninja   # http://martine.github.com/ninja

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
Something went wrong with that request. Please try again.