Skip to content

Glossary: Go in Practice

go tool pprof

Also written: pprof, -top, -sample_index, -http

Go's profile reader. `-top` lists the busiest functions, `-sample_index=alloc_space` reads memory profiles by bytes, and `-http` opens a browser view with a flame graph.

Where the book teaches it

Related terms

CPU profileMemory profileFlame graphnet/http/pprof