摘要: 使用pprof调试go程序 pprof可以用来调试go程序,在go中有两个库可以使用,1. net/http/pprof 2. runtime/pprof 方法1 net/http/pprof 测试代码 启动http的方式 查看web 分析MEM 分析CPU 方法2 runtime/pprof 测试 阅读全文
posted @ 2019-08-02 13:30 苏小北1024 阅读(1757) 评论(0) 推荐(0) 编辑