开发常用工具
作者:互联网
- nar流量测试命令
- netperf带宽测试工具
- redid-benchmark
- nmon CPU、带宽监控工具
- google perftool 找到最耗cpu的函数。
https://github.com/gperftools/gperftools.git
yum install autoconf
yum install automake
yum install libtool
./autogen.sh
./configure
make
make install
gcc gperftest.c -O0 -lprofiler
export LD_LIBRARY_PATH=/usr/local/lib
./a.out
pprof --text a.out MyProfile
yum install graphviz ghostscript -y
pprof --pdf a.out MyProfile > MyProfile.pdf
标签:MyProfile,pprof,开发,yum,install,gperftools,常用工具,out 来源: https://www.cnblogs.com/lodger47/p/14998811.html