diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-17 14:27:13 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-17 14:27:13 +0300 |
commit | 800e977c2ea1e097c4b7332b18a5fc03089603c1 (patch) | |
tree | 5741c624172d67b847b5c990c4be81d2d764e153 | |
parent | 29b8cfd2b6cf590fcfe64e5ba5b4479c2748ac06 (diff) |
perf: Allow comparing perf reports with only one difference.
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.
-rw-r--r-- | perf/cairo-perf-diff-files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/cairo-perf-diff-files.c b/perf/cairo-perf-diff-files.c index a04014ca..056d7ece 100644 --- a/perf/cairo-perf-diff-files.c +++ b/perf/cairo-perf-diff-files.c @@ -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) |