This is an automated email from the ASF dual-hosted git repository.

akurmustafa pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new e1ca74e7c6 [MINOR]: Generate physical plan, instead of logical plan in 
the bench test (#9383)
e1ca74e7c6 is described below

commit e1ca74e7c68e4949504e902f91d2e2b152cfc910
Author: Mustafa Akur <[email protected]>
AuthorDate: Thu Feb 29 10:47:08 2024 +0300

    [MINOR]: Generate physical plan, instead of logical plan in the bench test 
(#9383)
    
    * initial commit
    
    * Add logical plan all benchmark
---
 datafusion/core/benches/sql_planner.rs | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/datafusion/core/benches/sql_planner.rs 
b/datafusion/core/benches/sql_planner.rs
index 6f54054530..d800bcfe5b 100644
--- a/datafusion/core/benches/sql_planner.rs
+++ b/datafusion/core/benches/sql_planner.rs
@@ -247,6 +247,14 @@ fn criterion_benchmark(c: &mut Criterion) {
         .collect::<Vec<_>>();
 
     c.bench_function("physical_plan_tpch_all", |b| {
+        b.iter(|| {
+            for sql in &all_tpch_sql_queries {
+                physical_plan(&ctx, sql)
+            }
+        })
+    });
+
+    c.bench_function("logical_plan_tpch_all", |b| {
         b.iter(|| {
             for sql in &all_tpch_sql_queries {
                 logical_plan(&ctx, sql)

Reply via email to