Repository Details
Shared by
HelloGitHub Rating
0 ratings
Go 语言的性能分析工具,可以用来调试 Go 程序的内存泄露、goroutine 泄露之类的问题
Past 7 days Received 2 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 9,326 | — |
| 周三 | 9,326 | 0 |
| 周四 | 9,327 | +1 |
| 周五 | 9,326 | -1 |
| 周六 | 9,326 | 0 |
| 周日 | 9,326 | 0 |
| 周一 | 9,328 | +2 |
9.3k
Stars
No
Chinese
Go
Language
Yes
Active
138
Contributors
62
Issues
Yes
Organization
None
Latest
688
Forks
Apache-2.0
License
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