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:
+3
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user