We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
perf-config.json
1 parent 1b641c3 commit 1858715Copy full SHA for 1858715
site/src/benchmark_metadata/mod.rs
@@ -52,7 +52,12 @@ fn load_compile_benchmark_metadata() -> HashMap<String, CompileBenchmarkMetadata
52
release_metadata,
53
} = metadata;
54
let perf_config: BenchmarkConfig =
55
- serde_json::from_value(perf_config).expect("Cannot deserialize perf-config.json");
+ serde_json::from_value(perf_config).unwrap_or_else(|error| {
56
+ panic!(
57
+ "Cannot deserialize perf-config.json for benchmark {name}: {:?}",
58
+ error
59
+ );
60
+ });
61
62
let metadata = CompileBenchmarkMetadata {
63
perf_config,
0 commit comments