Profiling Go Programs
Teaches disciplined CPU and memory profiling before guessing about performance problems.
Teaches disciplined CPU and memory profiling before guessing about performance problems.
- Author: Russ Cox
- Authority: primary
- Kind: blog
- URL: https://go.dev/blog/profiling-go-programs
What it covers
- pprof workflow
- CPU and memory profiling
- measurement-first performance tuning
Why authoritative
Foundational Go performance guidance from Russ Cox.
Use when
- how should I profile this Go program
- is this performance issue worth profiling first
- how do I use pprof here
Keywords
- profiling, pprof, cpu profile, memory profile, performance