Gopher China Go Tools
10:42 19 Jul 2018
fengzhide
10:42 19 Jul 2018
fengzhide
go tool pprof
go-torch
./trace > trace.out go tool trace trace.out 需要安装Graphviz
GODEBUG=gotrace=1 ./godebug gc # @#s #%: #+#+# ms clock, #+#/#/#+# ms cpu, #->#-># MB, # MB goal, # P where the fields are as follows: gc # the GC number, incremented at each GC @#s time in seconds since program start #% percentage of time spent in GC since program start #+...+# wall-clock/CPU times for the phases of the GC #->#-># MB heap size at GC start, at GC end, and live heap # MB goal goal heap size # P number of processors used
godoc -analysis pointer -http=127.0.0.1:8080 (-play)
logrus cobra Hey json-iterator
10:42 19 Jul 2018
fengzhide