mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-24 16:00:11 +01:00
cairo-perf-diff-files: Always print old and new configuration names
Previously, if the change in the first test case was small enough to be considered insignificant, then the header lines showing the names of the old and new configurations would be omitted. This commit fixes that bug.
This commit is contained in:
parent
6035d3b47e
commit
050dad7173
1 changed files with 6 additions and 6 deletions
|
|
@ -698,6 +698,12 @@ cairo_perf_reports_compare (cairo_perf_report_t *reports,
|
|||
max_change = fabs (diffs[i].change);
|
||||
}
|
||||
|
||||
if (num_reports == 2 )
|
||||
printf ("old: %s\n"
|
||||
"new: %s\n",
|
||||
diffs->tests[0]->configuration,
|
||||
diffs->tests[1]->configuration);
|
||||
|
||||
for (i = 0; i < num_diffs; i++) {
|
||||
diff = &diffs[i];
|
||||
|
||||
|
|
@ -708,12 +714,6 @@ cairo_perf_reports_compare (cairo_perf_report_t *reports,
|
|||
continue;
|
||||
|
||||
if (num_reports == 2) {
|
||||
if (i == 0) {
|
||||
printf ("old: %s\n"
|
||||
"new: %s\n",
|
||||
diffs->tests[0]->configuration,
|
||||
diffs->tests[1]->configuration);
|
||||
}
|
||||
if (diff->change > 1.0 && ! printed_speedup) {
|
||||
printf ("Speedups\n"
|
||||
"========\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue