-
Notifications
You must be signed in to change notification settings - Fork 10
Profiling JTIMON
Nilesh Simaria edited this page Mar 15, 2022
·
1 revision
It's very easy to profile JTIMON.
- Install pprof if it's not already installed.
$ go get github.com/google/pprof
- Start JTIMON in profiling mode
$ ./jtimon-darwin-amd64 --config config.json --pprof --pprof-port 6060
This will tell JTIMON to start capturing profiling data and export it to port 6060 over HTTP.
- Now use amazing pprof tool to visualize profiling data on your browser.
$ pprof -http=:8080 http://localhost:6060/debug/pprof/profile
$ pprof -http=:8080 http://localhost:6060/debug/pprof/heap
Happy profiling !!!