[golang]pprof性能分析工具

1. 關於pprof pprof是golang程序一個性能分析的工具,能夠查看堆棧、cpu信息等。html 2. 源碼示例 package main import ( "flag" "log" "net/http" _ "net/http/pprof" "sync" "time" ) func Counter(wg *sync.WaitGroup
相關文章
相關標籤/搜索