Pprof interprets and displays profiles of Go programs.
Basic usage:
go tool pprof binary profile
For detailed usage information:
go tool pprof -h
For an example, see https://blog.golang.org/profiling-go-programs.