pprof.sh:用于分析Go基准测试的帮助程序脚本

时间:2024-03-23 09:29:41
【文件属性】:

文件名称:pprof.sh:用于分析Go基准测试的帮助程序脚本

文件大小:3KB

文件格式:ZIP

更新时间:2024-03-23 09:29:41

Shell

pprof.sh 这里没有什么太花哨的了,只是一个帮助脚本来降低入门/使用Go的pprof功能进行基准测试的门槛。 安装 > curl https://raw.githubusercontent.com/blainsmith/pprof.sh/main/pprof.sh > pprof.sh > chmod +x pprof.sh 用法 运行不带参数的./pprof.sh 。 参考


【文件预览】:
pprof.sh-main
----.gitignore(25B)
----pprof.sh(2KB)
----LICENSE(1KB)
----README.md(513B)
----example()
--------go.mod(24B)
--------server.go(249B)
--------server_test.go(111B)

网友评论