| 29 | | * [http://opcontrol.sf.net oprofile] - a system-wide profiler for Linux systems, capable of profiling all running code at low overhead. |
| | 27 | * 在 [raw-attachment:wiki:jazz/10-06-07:Advanced_C_Programming_Pro?ling.pdf slides of "Advanced C Programming - Pro?ling"] 投影片介紹中,有三個主要工具 memcheck、cachegrind、callgrind |
| | 28 | * cachegrind - 模擬 L1/L2 Cache, 找出 cache misses |
| | 29 | * [http://packages.debian.org/kcachegrind Debian 套件 kcachegrind] - visualisation tool for valgrind profiling output |
| | 30 | * [http://packages.debian.org/kcachegrind-converters Debian 套件 kcachegrind-converters] - format converters for KCachegrind profiling visualisation tool |
| | 31 | * callgrind - 紀錄函數呼叫圖(call graph) |
| | 32 | * [http://oprofile.sourceforge.net oprofile] - a system-wide profiler for Linux systems, capable of profiling all running code at low overhead. |
| | 33 | * 有 [http://packages.debian.org/oprofile Debian 套件 - oprofile] |
| | 34 | {{{ |
| | 35 | #!sh |
| | 36 | ~# opcontrol --init # to load module and daemon |
| | 37 | ~# opcontrol -s # to start sampling |
| | 38 | ~# opcontrol -t # to stop sampling |
| | 39 | ~# opcontrol --dump # ?ushes the event log |
| | 40 | ~# opcontrol --list-events # shows available performance counters |
| | 41 | ~# opreport -l prog-name # gives breakdown of samples per function in prog-name |
| | 42 | }}} |
| | 43 | |
| | 44 | * Perl |
| | 45 | * [http://search.cpan.org/dist/Devel-Profile/ Devel::Profile] - [http://packages.debian.org/libdevel-profile-perl Debian 套件 - libdevel-profile-perl] - a Perl code profiler |
| | 46 | |
| | 47 | * PHP - references for armorize |
| | 48 | * [http://www.linuxjournal.com/article/7213 PHP Performance Profiling] |
| | 49 | * [http://www.php-editors.com/php-tools/php-profiler.php php-profiler] |
| | 50 | |
| | 51 | * Python |
| | 52 | * [http://packages.debian.org/python-profiler Debian 套件 python-profiler] - deterministic profiling of any Python programs |
| | 53 | |
| | 54 | * Ruby |
| | 55 | * [http://packages.debian.org/ruby-prof Debian 套件 ruby-prof] - A fast code profiler for Ruby |
| | 56 | |
| | 57 | * C# / Mono |
| | 58 | * [http://packages.debian.org/mono-profiler mono-profiler] - Mono profiler - [http://packages.debian.org/mono-profiler 有 Debian 套件 mono-profiler] |