generate graphs from google-perftools heap profiles
Go
Failed to load latest commit information.
.gitignore
README.markdown blog post Mar 26, 2012
build.ninja rename file so go build knows it's not linux-specific Mar 27, 2012
hp.go don't show fractional kb Mar 5, 2012
linux_mangle.go rename file so go build knows it's not linux-specific Mar 27, 2012
linux_mangle_test.go rename file so go build knows it's not linux-specific Mar 27, 2012
mangle.go demangler into interface Mar 4, 2012
page.html hacky cache bypass Mar 5, 2012
parse.go basic template works Mar 1, 2012
syms.go strip .foobar suffix on syms read from file too Feb 24, 2012
util.go license Feb 24, 2012
web.go

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