Difference between revisions of "Pprof"
Jump to navigation
Jump to search
(→Errors) |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
https://github.com/google/pprof | https://github.com/google/pprof | ||
− | * [[go install]] github.com/google/pprof@latest | + | * <code>[[go install]] github.com/google/pprof@latest</code> |
− | * pprof -top [main_binary] profile.pb.gz | + | * <code>[[pprof -top]] [main_binary] profile.pb.gz</code> |
== Errors == | == Errors == | ||
Line 13: | Line 13: | ||
* [[perf]] | * [[perf]] | ||
* <code>[[geth --pprof]]</code> | * <code>[[geth --pprof]]</code> | ||
− | |||
== See also == | == See also == |
Revision as of 13:12, 16 May 2023
https://github.com/google/pprof
go install github.com/google/pprof@latest
pprof -top [main_binary] profile.pb.gz
Errors
package command-line-arguments is not a main package
Related
- Grafana Phlare (Nov 2022)
Pprof server to collect metrics from Bor
- perf
geth --pprof
See also
Advertising: