Skip to content

Commit

Permalink
perf: Allow comparing perf reports with only one difference.
Browse files Browse the repository at this point in the history
The cairo-perf-diff-files tool would ignore perf reports with
just one test for no apparent reason.  The traces take so long
that it's useful to be able to compare runs with just one trace.
  • Loading branch information
M Joonas Pihlaja committed Jun 17, 2010
1 parent 29b8cfd commit 800e977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf/cairo-perf-diff-files.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ cairo_perf_reports_compare (cairo_perf_report_t *reports,
diff++;
num_diffs++;
}
if (num_diffs < 2)
if (num_diffs == 0)
goto DONE;

if (num_reports == 2)
Expand Down

0 comments on commit 800e977

Please sign in to comment.