Skip to content

Commit 66ccfbd

Browse files
committed
Fix release benchmark with multiple collectors
1 parent ac90432 commit 66ccfbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

collector/src/bin/collector.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,6 +1749,10 @@ async fn run_benchmark_job(
17491749
"Cannot prepare benchmark configs: {error:?}"
17501750
))
17511751
})?;
1752+
if compile_config.is_none() && runtime_config.is_none() {
1753+
log::warn!("Nothing to benchmark");
1754+
return Ok(());
1755+
}
17521756

17531757
let shared = SharedBenchmarkConfig {
17541758
artifact_id,

0 commit comments

Comments
 (0)