# README
cpu and memory analysis cmds:
- go-torch -u http://localhost:12004/debug/pprof/heap --colors mem --raw -f mem.svg
- go-torch -u http://localhost:12004 --seconds 60 --raw -f cpu.svg
- go tool pprof -raw -seconds 60 http://localhost:12004/debug/pprof/profile
- go tool pprof http://localhost:12004/debug/pprof/profile
cpu analysis result:
ExternalGateWayServer
InnerGateWayServer
GameServer
LoginServer
# Functions
Cmdline responds with the running program's command line, with arguments separated by NUL bytes.
No description provided by the author
Handler returns an HTTP handler that serves the named profile.
Index responds with the pprof-formatted profile named by the request.
No description provided by the author
Profile responds with the pprof-formatted cpu profile.
No description provided by the author
Symbol looks up the program counters listed in the request, responding with a table mapping program counters to function names.
Trace responds with the execution trace in binary form.