go tool pprof vs go tool trace: Which One Do You Actually Need?
pprof tells you where CPU time went. trace tells you why goroutines weren't running. Both ship with Go. Here's how to pick the right one for your problem.
Mar 7, 2026 · Cristian Curteanu