Skip to content
Ricky
English

Search

Searching… No matching pages. Matching pages are listed below. Search is unavailable. Please try again.

Go code refactoring : the 23x performance hunt

  • Ricky Lin
  • 1 minute
$ go test -bench=. -cpuprofile cpu.prof
$ go tool pprof -svg cpu.prof > cpu.svg
$ go test -bench=. -trace trace.out
$ go tool trace trace.out