-
Notifications
You must be signed in to change notification settings - Fork 29
Profiling JTIMON
Nilesh Simaria edited this page Dec 4, 2018
·
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 !!!