Go:性能分析工具

By kcersing , 26 四月, 2020

准备工资

安装graphviz

brew install graphviz

讲$GOPATH/bin 加入$PATH

mac OS :在.bash_profile中修改路径

安装 go-torch

go get github.com/uber/go-torch

go get github.com/uber/go-torch

下载并且复制 flamegraph.pl(https://github.com/brendangregg/FlameGraph)至 $GOPATH/bin 路径下

将$GOPATH/bin 加入$PATH

标签