Documentation ¶
Overview ¶
Package main of cmd/profiling is for profiling some key functions.
Run the program from anywhere
time go run github.com/opennetworkinglab/onos-config/profiling
and then run to view the output in a web browser (requires graphviz to be installed)
go tool pprof -http=localhost:8080 /tmp/cpuProfile.out
Click to show internal directories.
Click to hide internal directories.