This is an automated email from the ASF dual-hosted git repository.
ytyou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new fa452e6789 Fix clickbench avg time compute (#15472)
fa452e6789 is described below
commit fa452e6789194e6da7c3aaf5e2f1ffa5679aacf2
Author: Qi Zhu <[email protected]>
AuthorDate: Fri Mar 28 17:02:08 2025 +0800
Fix clickbench avg time compute (#15472)
---
benchmarks/src/clickbench.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/benchmarks/src/clickbench.rs b/benchmarks/src/clickbench.rs
index e07cb4779c..923c2bdd7c 100644
--- a/benchmarks/src/clickbench.rs
+++ b/benchmarks/src/clickbench.rs
@@ -129,9 +129,9 @@ impl RunOpt {
self.register_hits(&ctx).await?;
let iterations = self.common.iterations;
- let mut millis = Vec::with_capacity(iterations);
let mut benchmark_run = BenchmarkRun::new();
for query_id in query_range {
+ let mut millis = Vec::with_capacity(iterations);
benchmark_run.start_new_case(&format!("Query {query_id}"));
let sql = queries.get_query(query_id)?;
println!("Q{query_id}: {sql}");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]