w1100n
This site is best viewed in Google Chrome
11/20/2019 16:00

https://colobu.com/2016/12/21/how-to-dump-goroutine-stack-traces/
https://golang.org/pkg/net/http/pprof/
https://segmentfault.com/a/1190000016412013

import _ "net/http/pprof"

go func() {
    fmt.Println(http.ListenAndServe("localhost:6060", nil))
}()

go tool pprof http://localhost:6060/debug/pprof/heap

<< Previous Posts Newer Posts >>
辽ICP备14012896