Skip to content

Instantly share code, notes, and snippets.

@guylaor
Created June 29, 2017 19:59
Show Gist options
  • Save guylaor/985b273f519aa7c906fd9f8703f9638f to your computer and use it in GitHub Desktop.
Save guylaor/985b273f519aa7c906fd9f8703f9638f to your computer and use it in GitHub Desktop.
Commands to use Go pprof
# command to export the profiling info as an svg graph
go tool pprof -svg name_of_executable_program_file /Users/g.laor/profile.dev.pg.gz > profile.dev.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment