qoi-bench: only report totals if more than one png
This commit is contained in:
parent
feaac28244
commit
7b0044a824
1 changed files with 3 additions and 1 deletions
|
@ -381,7 +381,9 @@ fn bench_suite(files: &[PathBuf], seconds: f64, use_median: bool) -> Result<()>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
totals.report(use_median);
|
if totals.results.len() > 1 {
|
||||||
|
totals.report(use_median);
|
||||||
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue