Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds extra `pprof` endpoints that we can handle. So we can profile: ``` # CPU usage go tool pprof -http=: http://localhost:9999/debug/pprof/profile # Heap usage go tool pprof -http=: http://localhost:9999/debug/pprof/heap # Concurrency profiling # It requires changing the constant `main.EnableConcurrencyProfiling` go tool pprof -http=: http://localhost:9999/debug/pprof/mutex go tool pprof -http=: http://localhost:9999/debug/pprof/block ``` --------- Signed-off-by: Rafał Strzaliński <[email protected]> Co-authored-by: Przemyslaw Delewski <[email protected]>
- Loading branch information