4 ms·
http://golang.org/pkg/runtime/pprof/#Profile http://golang.org/pkg/runtime/pprof/#Profile Provides a "blocking profile" that tells you what things blocked and f
by jesstaa 12y ago
http://golang.org/pkg/runtime/pprof/#Profile http://golang.org/pkg/runtime/pprof/#Profile
Provides a "blocking profile" that tells you what things blocked and for how long they blocked for.
You can use it to find places where you've deadlocked as well as places where adding buffered channels might help performance.