Show HN: GoRef – slim profiler for Go applications
github.com
github.com
I'm using it to measure the execution time of all my HTTP routes (and other important code paths) to track down potential bottlenecks in the application (and it helped me detect a goroutine that didn't exit properly in a certain cases)
It's designed to have as little as possible overhead (as it's meant to be used in production code)
https://blog.golang.org/profiling-go-programs https://golang.org/pkg/net/http/pprof/ https://golang.org/pkg/runtime/pprof/