英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论