More simplifications

This commit is contained in:
David Peter authored and David Peter committed 2026-10-05 15:57:12 +02:00
1 parent f7e6d7286f
commit 8ba632c954
5 files changed
+39 -51

No files matched your search

+7 -7
View File
@@ -44,13 +44,13 @@ impl Exporter for CsvExporter {
for res in results {
let mut fields = vec![Cow::Borrowed(res.command.as_bytes())];
for f in &[
res.mean(),
res.stddev().unwrap_or(0.0),
res.median(),
res.user_mean(),
res.system_mean(),
res.min(),
res.max(),
res.mean_wall_clock_time(),
res.runs.stddev().unwrap_or(0.0),
res.runs.median(),
res.runs.user_mean(),
res.runs.system_mean(),
res.runs.min(),
res.runs.max(),
] {
fields.push(Cow::Owned(
f.format_with_precision(CSV_UNIT, CSV_PRECISION)