在Go中进行性能分析

huangapple go评论161阅读模式
英文:

Profiling in go

问题

什么是获取关于我的Go程序的性能分析信息的最佳方法?我看到了关于pprof的参考资料,但相比Go的其他领域,文档似乎很少。

英文:

What's the best way to get profiling information about my go program? I've seen references to pprof, but documentation seems scarce compared to other areas of Go.

答案1

得分: 2

请查看6prof 命令。请注意,尽管它的名称如此,但它适用于所有架构。

>为了消除歧义,它被安装为6prof,尽管它也可以作为8prof和5prof使用。

英文:

Have a look at the 6prof command. Note that it's for all architectures, despite its name.

>For reasons of disambiguation it is installed as 6prof although it also serves as an 8prof and a 5prof.

huangapple
  • 本文由 发表于 2011年6月5日 09:36:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/6240484.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定