Go
Profiling
Official Doc
to enable profile data-server
cpu-profile: 30s
then to see topN methods, type
for help, type
start web-server (make sure graphviz is installed)
to access profiles: command-line
to access profiles: web-interface
Visit on browser
understand top command
refer
- about golang pprof: https://github.com/google/pprof/blob/main/doc/README.md