perf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
perf [2014/03/29 19:31] – [Perf] mikael.ohman | perf [2014/08/17 23:49] – mikael.ohman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Measuring performance ====== | ====== Measuring performance ====== | ||
In general, to obtain useful information from binaries, certain compile flags should be used. | In general, to obtain useful information from binaries, certain compile flags should be used. | ||
- | |||
===== Perf ===== | ===== Perf ===== | ||
Line 11: | Line 10: | ||
which will generate a perf.data file. | which will generate a perf.data file. | ||
- | Then you can visualize the results in several ways. A good, simple to understand method is to use [[code.google.com/ | + | Then you can visualize the results in several ways. A good, simple to understand method is to use [[http://code.google.com/ |
'' | '' | ||
+ | |||
+ | Or use the ncurses program | ||
+ | |||
+ | '' | ||
Perf has very small overhead, but only does statistical sampling. | Perf has very small overhead, but only does statistical sampling. |
perf.txt · Last modified: 2014/08/22 00:11 by mikael.ohman