Posted 2020-02-27Updated 2024-02-17 Jack Liu Go6 minutes read (About 906 words)Go tool pprof性能监控调试工具基本使用说明Go tool pprof使用方式go中有pprof包来做代码的性能监控主要涉及两个pkg:1234567891011#web服务器:import ( "net/http" _ "net/http/pprof")#一般应用程序(实际应用无web交互)import ( "net/http" _ "runtime/pprof")Read more