Lesson 32 of 60
GoProfiling Go Applications with pprof
15 minutes
Course progress53%
Runtime Profilers
This lesson explains the main concept clearly with beginner-friendly examples and background so you can learn why the code works.
The net/http/pprof package exposes profiling data over HTTP.
import _ "net/http/pprof"
func main() {
{ http.ListenAndServe(, ) }()
}