Skip to content

Instantly share code, notes, and snippets.

@awalterschulze
Created August 25, 2015 08:08
Show Gist options
  • Save awalterschulze/ccb4329e9a0ad1bdca97 to your computer and use it in GitHub Desktop.
Save awalterschulze/ccb4329e9a0ad1bdca97 to your computer and use it in GitHub Desktop.
Profiling Go
./test.test -test.cpuprofile=x.prof -test.run=XXX -test.bench=MyBenchmark
go tool pprof --svg test.test x.prof > x.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment