词汇表
-
profile /侧写/轮廓/绘制侧面图
-
在计算机里面指的是收集相关(资源使用/函数调用/...)信息。
-
-
performance 性能
-
往往是性能分析工具 , 简写 perf-tools
-
性能分析工具
-
google-perftools
-
全称 : Google Performance Tools
-
开发者 : 谷歌
-
功能模块
-
CPU PROFILER
-
heap ( 基于tcmalloc)
-
HEAP PROFILER
-
HEAP CHECKER
-
-
-
支持系统
-
Linux
-
Windows
-
-
-
Valgrind
-
全称 : Valgrind
-
开发者 : Valgrind™ Developers
-
Homepage : http://valgrind.org/
-
功能模块 :
-
堆栈使用/内存监控
-
Memcheck
-
Massif
-
-
函数调用/分支预测
-
Callgrind
-
Cachegrind
-
-
多线程
-
DRD
-
Helgrind
-
-
-
支持系统:
-
Linux
-
Android
-
-
-
gprof
-
全称 : GNU profiler
-
开发者 : ( Jay Fenlason ) GNU
-
Download : https://ftp.gnu.org/gnu/binutils/ ( 属于GNU buildin的一个组件,常规无需安装)
-
Document : https://sourceware.org/binutils/docs/gprof/
-
功能模块
-
CPU / Function Profile
-
Call Graph
-
-
-
限制
-
gprof默认不支持多线程程序,默认不支持共享库程序。
-
-
支持系统
-
Linux
-
-
-
perf
-
全称: Linux profiling with performance counters
-
开发者 : Linux kernel group
-
功能模块
-
benchmark
-
?
-
-
record 记录profile信息
-
CPU , 函数调用 ( 包括内核函数调用 )
-
-
report 分析profile信息
-
可视化文本展示
-
-
-
支持系统 :
-
Linux( 内核级 )
-
-
静态代码审查工具
-
cppcheck
-
全称 : Cppcheck
-
开发者 : Cppcheck team
-
HomePage : http://cppcheck.net/
-
功能 :
-
各种不良代码的静态审查
-
可以整合到各种工具链中作为自动代码审查
-
-
支持系统
-
Windows
-
Linux
-
-
可视化/绘图辅助工具
-
profile2dot
-
全称 : profile2dot
-
HomePage : https://github.com/jrfonseca/gprof2dot
-
功能 :
-
将profile工具产生的文本文件,转化成DOT格式文件,供Graphvz工具绘图使用
-
-
支持 :
-
( Python 环境即可)
-
-
-
FramGraph
-
开发人员 : brendangregg
-
HomePage : http://www.brendangregg.com/flamegraphs.html
-
Download : https://github.com/brendangregg/FlameGraph
-
功能
-
将profile结果产生SVG格式的火焰图
-
-
支持
-
Linux
-
-