Repository Details
Shared by


HelloGitHub Rating
0 ratings
Free•Apache-2.0
Claim
Discuss
Collect
Share
8.7k
Stars
No
Chinese
Go
Language
Yes
Active
118
Contributors
55
Issues
Yes
Organization
None
Latest
635
Forks
Apache-2.0
License
More
Go 语言的性能分析工具,可以用来调试 Go 程序的内存泄露、goroutine 泄露之类的问题。使用方法:
```
# 安装
$ go get -u github.com/google/pprof
# 生成一个profile文件
$ pprof -top [你的golang程序二进制文件] profile.pb.gz
# 生成火焰图
$ pprof -web [你的golang程序二进制文件] profile.pb.gz
```
Included in:
Vol.36
Comments
Rating:
No comments yet