Canonical guidance

Use when

Avoid

Preferred pattern

go test -trace trace.out ./...
go tool trace trace.out

Anti-pattern

Explanation: This anti-pattern is tempting because traces are rich, but they are heavier and harder to read than simpler tools.

Why

Related pages

Sources