Skip to content

Commit fa452e6

Browse files
authored
Fix clickbench avg time compute (#15472)
1 parent cd85749 commit fa452e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/src/clickbench.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ impl RunOpt {
129129
self.register_hits(&ctx).await?;
130130

131131
let iterations = self.common.iterations;
132-
let mut millis = Vec::with_capacity(iterations);
133132
let mut benchmark_run = BenchmarkRun::new();
134133
for query_id in query_range {
134+
let mut millis = Vec::with_capacity(iterations);
135135
benchmark_run.start_new_case(&format!("Query {query_id}"));
136136
let sql = queries.get_query(query_id)?;
137137
println!("Q{query_id}: {sql}");

0 commit comments

Comments
 (0)