Remove unused err.myc example

Update benchmark output for soa_series.myc.
Also, fix the tester to not panic when a baseline is missing, and
instead just report it as missing.
This commit is contained in:
Michael Schimmel
2026-03-06 12:07:39 +01:00
parent 1342c7ca8e
commit b9d88f019e
4 changed files with 9 additions and 25 deletions
+3 -8
View File
@@ -100,6 +100,9 @@ pub fn run_benchmarks(update: bool, filter: Option<&str>) -> Vec<BenchmarkResult
let content = fs::read_to_string(&path).unwrap();
let baseline_match = baseline_re.captures(&content);
if !update && baseline_match.is_none() {
continue;
}
let repeat_match = repeat_re.captures(&content);
let mut repeats = repeat_match
@@ -269,14 +272,6 @@ pub fn run_benchmarks(update: bool, filter: Option<&str>) -> Vec<BenchmarkResult
diff_pct: Some(diff * 100.0),
status: status.to_string(),
});
} else {
results.push(BenchmarkResult {
name,
median: median_single,
baseline: None,
diff_pct: None,
status: "MISSING BASELINE".to_string(),
});
}
}
results