[go-nuts] CPU Profiling on Mac OS Sierra

2016-11-08 Thread Dave Cheney
http://talks.godoc.org/github.com/davecheney/high-performance-go-workshop/high-performance-go-workshop.slide#36 See also think linked issue at the bottom of the slide. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this grou

[go-nuts] CPU Profiling on Mac OS Sierra

2016-11-08 Thread rhys . hiltner
Try specifying the path to the binary as the second to last argument (see "go tool pprof -h"). On Linux as of Go 1.7, CPU profiles include information on what executables are mapped into memory. This allows the pprof tool to locate the binary. Raw CPU profiles taken on macOS don't include this

[go-nuts] CPU Profiling on Mac OS Sierra

2016-11-08 Thread bob . ziuchkovski
Hi, I am attempting to profile a Go application but keep getting empty pprof data with go 1.7.3 on Mac Sierra (package installer version from https://golang.org/dl). The profiling output exists, but the top10 output is meaningless. Profiling the same code on ubuntu 16.04 with go 1.7.3 return