How to use Go's pprof toolchain to profile CPU, memory, goroutines, block, and mutex — collect profiles safely in production and act on what you find.
Mar 12, 2026 · Cristian Curteanu
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
How Go's garbage collector works, what GOGC and GOMEMLIMIT actually control, how the Pacer schedules GC work, and how to tune these for your service.
May 22, 2025 · Cristian Curteanu
How Go's append and map growth work, when pre-allocation actually helps, benchmark results across slice sizes, and practical rules for hot-path code.
Aug 27, 2024 · Cristian Curteanu