holys / gcvis

Visualise Go program GC trace data in real time

Home Page:http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gcvis

Visualise Go program gctrace data in real time

Note: GC timing graphs are only supported for go 1.6

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

About

Visualise Go program GC trace data in real time

http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 100.0%