Skip to content

Commit 2914c8c

Browse files
bench_tools: fix committer benchmark config
1 parent 8b610b7 commit 2914c8c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/bench_tools/src/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub fn run_benchmarks(benchmarks: &[&BenchmarkConfig], input_dir: Option<&str>,
108108
}
109109

110110
/// Runs benchmarks and compares them against previous results, failing if regression exceeds limit.
111-
pub async fn run_and_compare_benchmarks(
111+
pub fn run_and_compare_benchmarks(
112112
benchmarks: &[&BenchmarkConfig],
113113
input_dir: Option<&str>,
114114
output_dir: &str,

crates/bench_tools/src/types/benchmark_config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ pub const BENCHMARKS: &[BenchmarkConfig] = &[
3737
BenchmarkConfig {
3838
name: "single_tree_flow",
3939
package: "starknet_committer_and_os_cli",
40-
cmd_args: &["bench", "-p", "starknet_committer_and_os_cli", "single_tree_flow"],
40+
cmd_args: &["bench", "-p", "starknet_committer_and_os_cli", "tree_computation_flow"],
4141
input_dir: Some("crates/starknet_committer_and_os_cli/test_inputs"),
42-
criterion_benchmark_names: None, // Single benchmark with same name.
42+
criterion_benchmark_names: Some(&["tree_computation_flow"]),
4343
},
4444
BenchmarkConfig {
4545
name: "gateway_apply_block",

0 commit comments

Comments
 (0)