Go性能分析pprof介绍

pprof简介 想要进行性能优化,Go本身自带的工具链就包含了性能分析工具,而且也非常棒,pprof就是Go性能分析的利器,它是Go语言自带的包,有如下两种: runtime/pprof:采集程序(非 Server)的运行数据进行分析 net/http/pprof:采集 HTTP Server 的运
posted @ 2024-01-20 10:59  誓鼎  阅读(138)  评论(0编辑  收藏  举报