pprof

2019-12-27  本文已影响0人  wncbbnk
go tool pprof -http=127.0.0.1:8181/:8181 *.file/http://localhost:1234/debug/pprof/heap

top

flat  flat%   sum%        cum   cum%

flat 函数内部除去调用其他函数的开销
cum 函数内部所有开销(包括调用其他人)
sum 本行以及本行之上的行的flat开销之和

上一篇 下一篇

猜你喜欢

热点阅读