2019独角兽企业重金招聘Python工程师标准>>>
使用pprof进行性能调优
获取cpu profile分析:
go tool pprof http://127.0.0.1:1993/debug/pprof/profile
获取mem profile分析:
go tool pprof http://192.168.1.131:1993/debug/pprof/heap
转载于:https://my.oschina.net/zilinangel1986/blog/1797824
最后
以上就是冷静电脑最近收集整理的关于go 性能调优的全部内容,更多相关go内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复