We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb7add commit 914cebfCopy full SHA for 914cebf
docs/profiling.md
@@ -44,11 +44,11 @@
44
Example:
45
46
```
47
-curl "http://localhost:6060/debug/pprof/trace?duration=20" -o trace20s
+curl "http://localhost:6060/debug/pprof/trace?seconds=20" -o trace20s
48
curl "http://localhost:6060/debug/pprof/profile?duration=20" -o profile20s
49
curl "http://localhost:6060/debug/pprof/heap?gc" -o heap
50
curl "http://localhost:6060/debug/pprof/allocs" -o allocs
51
curl "http://localhost:6060/debug/pprof/goroutine" -o goroutine
52
53
54
-4. Use `go tool pprof` to dig into the profiles (`go tool trace` for the `trace` profile)
+4. Use `go tool pprof` to dig into the profiles (`go tool trace` for the `trace` profile)
0 commit comments