dgrijalva
dgrijalva

Reputation: 213

Profiling in go

What's the best way to get profiling information about my go program? I've seen references to pprof, but documentation seems scarce compared to other areas of Go.

Upvotes: 4

Views: 259

Answers (1)

Elazar Leibovich
Elazar Leibovich

Reputation: 33583

Have a look at the 6prof command. Note that it's for all architectures, despite its name.

For reasons of disambiguation it is installed as 6prof although it also serves as an 8prof and a 5prof.

Upvotes: 2

Related Questions