Skip to content

Commit e1ca74e

Browse files
authored
[MINOR]: Generate physical plan, instead of logical plan in the bench test (#9383)
* initial commit * Add logical plan all benchmark
1 parent ca37ce3 commit e1ca74e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

datafusion/core/benches/sql_planner.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,14 @@ fn criterion_benchmark(c: &mut Criterion) {
247247
.collect::<Vec<_>>();
248248

249249
c.bench_function("physical_plan_tpch_all", |b| {
250+
b.iter(|| {
251+
for sql in &all_tpch_sql_queries {
252+
physical_plan(&ctx, sql)
253+
}
254+
})
255+
});
256+
257+
c.bench_function("logical_plan_tpch_all", |b| {
250258
b.iter(|| {
251259
for sql in &all_tpch_sql_queries {
252260
logical_plan(&ctx, sql)

0 commit comments

Comments
 (0)