分析进去 [英] Profiling in go

查看:74
本文介绍了分析进去的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取关于我的go程序的信息的最佳方式是什么?我已经看到了pprof的引用,但与Go的其他区域相比,文档似乎很少。

code> 6prof 命令。请注意,它适用于所有体系结构,尽管它的名称不同。


出于消除歧义的原因,它被安装为6prof,尽管它也可以作为8prof 5prof。



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.

解决方案

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.

这篇关于分析进去的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆