Skip to content

Instantly share code, notes, and snippets.

@samuell
Created August 8, 2013 11:29
Show Gist options
  • Select an option

  • Save samuell/6183841 to your computer and use it in GitHub Desktop.

Select an option

Save samuell/6183841 to your computer and use it in GitHub Desktop.
1 #!/bin/bash
2 rm basecompl.prof basecompl_blow
3 go build -o basecompl_blow basecompl_blow.go
4 ./basecompl_blow -cpuprofile=basecompl.prof > out.tmp
5 echo "top10"|go tool pprof basecompl_blow basecompl.prof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment