generate graphs from google-perftools heap profiles
Go HTML
Switch branches/tags
Nothing to show
Clone or download
evmar Merge pull request #1 from mortonfox/patch-1
Update the URL for Ninja
Latest commit 435e250 Sep 7, 2016
Permalink
Failed to load latest commit information.
.gitignore reimport Feb 24, 2012
README.markdown Update the URL for Ninja Sep 7, 2016
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
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
parse.go basic template works Mar 1, 2012
syms.go
util.go
web.go don't crash on small dumps Mar 26, 2012

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   # 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