summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-chart.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix -WuninitializedKhaled Hosny2023-02-061-1/+1
| | | | | | | | | | ../perf/cairo-perf-chart.c:232:4: warning: variable 'sum' is uninitialized when used here [-Wuninitialized] sum += v/100; ^~~ ../perf/cairo-perf-chart.c:142:43: note: initialize the variable 'sum' to silence this warning double slow_sum = 0, fast_sum = 0, sum; ^ = 0.0
* perf: Refactor some common macros to cairo-perf.hBryce Harrington2014-04-181-2/+0
| | | | | | | | These macros are standard in src's cairoint.h and test's cairo-test.h internal header files, so for consistency do the same thing with perf's cairo-perf.h. Reviewed-by: Uli Schlachter <psychon@znc.in>
* Adding a simple usage statement to cairo-perf-chartMatthew Fischer2013-03-181-0/+29
| | | | Signed-off-by: Uli Schlachter <psychon@znc.in>
* perf/chart: Contract the default output filenamesChris Wilson2012-12-291-3/+1
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* perf/chart: Show the geometric average as an extra columnChris Wilson2012-12-291-1/+111
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* perf/chart: Render a solid bar if the column is too narrow for the gradientChris Wilson2012-07-121-22/+31
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* perf/chart: Make the columns transculent so that the label behind is visibleChris Wilson2012-01-111-4/+44
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* perf/chart: Show values next to the column if too small to fit insideChris Wilson2012-01-111-6/+14
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* perf/chart: Tweak labels on right not to fall off the edgeChris Wilson2012-01-111-8/+8
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* perfChris Wilson2011-10-111-19/+42
|
* whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/.M Joonas Pihlaja2010-06-241-12/+26
| | | | | Ran a script to align the formal parameters of functions and collapse spaces to tabs in code.
* [perf] Trim outliers from chartChris Wilson2009-08-301-39/+172
| | | | | | | Use "mild outliers" method to remove exceptional speed-ups and slow-downs from the graph, so that the majority of information is not lost by the scaling. Add the timing labels to the bars so that the true factor is always presented.
* [perf] Add charting utilityChris Wilson2009-08-291-0/+751
cairo-perf-chart takes multiple runs (currently it is limited to prefiltered data sets) and pretty-prints a chart showing performace improvements/regressions (in either ASCII or HTML) along with a cairo-perf-chart.png