Golang 利用 pprof 定位问题
在代码中引入 _ “net/http/pprof” 并监听 http 服务后
通过终端查看
go tool pprof http://127.0.0.1:9191/debug/pprof/heap
通过浏览器查看
http://127.0.0.1:9191/debug/pprof/
Read other posts
在代码中引入 _ “net/http/pprof” 并监听 http 服务后
通过终端查看
go tool pprof http://127.0.0.1:9191/debug/pprof/heap
通过浏览器查看
http://127.0.0.1:9191/debug/pprof/