CmdID

CmdID / Commands

pprof

Visualize and analyze profiling data. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Generate a text report from a specific profiling file, on fibbo binary

pprof -top ./fibbo ./fibbo-profile.pb.gzIdentify

Generate a graph and open it on a web browser

pprof -svg ./fibbo ./fibbo-profile.pb.gzIdentify

Run pprof in interactive mode to be able to manually launch pprof on a file

pprof ./fibbo ./fibbo-profile.pb.gzIdentify

Run a web server that serves a web interface on top of pprof

pprof -http=localhost:8080 ./fibbo ./fibbo-profile.pb.gzIdentify

Fetch a profile from an HTTP server and generate a report

pprof http://localhost:8080/debug/pprofIdentify