Last updated 5 years ago
Was this helpful?
CPU profile CPU 的使用情况
Memory Profile Heap Profile,内存的使用情况
Block Profilling Goroutines 不在运行状态的情况,可以用来分析和查找死锁等性能瓶颈
Gogoutine Profilling Goroutines 的使用情况,有哪些 goroutine 及它们的调用关系
Golang 有两个以下两个标准库可以猎取程序的运行数据:
runtime/pprof 采集工具型应用运行数据进行分析
net/http/pprof 采集服务型应用运行数据进行分析