pprof
https://github.com/google/pprof
#
Installsudo apt install -y graphviz
import ( _ "net/http/pprof")
func main() { go func() { log.Println(http.ListenAndServe("0.0.0.0:6060", nil)) }()}
https://github.com/google/pprof
sudo apt install -y graphviz
import ( _ "net/http/pprof")
func main() { go func() { log.Println(http.ListenAndServe("0.0.0.0:6060", nil)) }()}