Difference between revisions of "Pprof"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users 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> |
+ | * <code>[[pprof -top]] [main_binary] profile.pb.gz</code> | ||
− | <code> | + | == Errors == |
+ | <code>package command-line-arguments is not a main package</code> | ||
== Related == | == Related == | ||
Line 10: | Line 12: | ||
* <code>Pprof server to collect metrics from [[Bor]]</code> | * <code>Pprof server to collect metrics from [[Bor]]</code> | ||
* [[perf]] | * [[perf]] | ||
+ | * <code>[[geth --pprof]]</code> | ||
== See also == | == See also == |
Latest 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[edit]
package command-line-arguments is not a main package
Related[edit]
- Grafana Phlare (Nov 2022)
Pprof server to collect metrics from Bor
- perf
geth --pprof
See also[edit]
Advertising: