Skip to content
Snippets Groups Projects
Unverified Commit 914cebf0 authored by Mario Macias's avatar Mario Macias Committed by GitHub
Browse files

Update profiling.md

parent ccb7addd
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,11 @@
Example:
```
curl "http://localhost:6060/debug/pprof/trace?duration=20" -o trace20s
curl "http://localhost:6060/debug/pprof/trace?seconds=20" -o trace20s
curl "http://localhost:6060/debug/pprof/profile?duration=20" -o profile20s
curl "http://localhost:6060/debug/pprof/heap?gc" -o heap
curl "http://localhost:6060/debug/pprof/allocs" -o allocs
curl "http://localhost:6060/debug/pprof/goroutine" -o goroutine
```
4. Use `go tool pprof` to dig into the profiles (`go tool trace` for the `trace` profile)
\ No newline at end of file
4. Use `go tool pprof` to dig into the profiles (`go tool trace` for the `trace` profile)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment