This project is no longer maintained
I'm sorry but I do not have the bandwidth to maintain this tool. Please do not send issues or PRs. Thank you.
gcvis
Visualise Go program gctrace data in real time
Note: GC timing graphs are only supported for go 1.6
Preinstall
Have the go binary files in the path
For UNIX/OSX/Linux
export PATH=$PATH:/`go env GOPATH`/bin
Install
export PATH=$PATH:/users/hiro/go/bin;
go get "github.com/goferHiro/gcvis";
go install "github.com/goferHiro/gcvis";
Usage
Running it directly:
env GOMAXPROCS=4 gcvis godoc -index -http=:6060
Adding the gctrace
flag yourself:
GODEBUG=gctrace=1 godoc -index -http=:6060 2>&1 | gcvis
Or from a log file:
GODEBUG=gctrace=1 godoc -index -http=:6060 2> stderr.log
cat stderr.log | gcvis
Starting the server without automatically opening a browser:
gcvis -o=false godoc -index -http=:6060