Skip to content

DRAFT Bench 26317 - #27582

Draft
kosiew wants to merge 3 commits into
apache:mainfrom
kosiew:bench-26317
Draft

kosiew wants to merge 3 commits into
apache:mainfrom
kosiew:bench-26317

Conversation

@kosiew

@kosiew kosiew commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

benchmark #26317

@github-actions github-actions Bot added sql SQL Planner core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Nov 19, 2026
Joery van den Hoff and others added 3 commits November 19, 2026 16:46
Vary projection width and nesting depth for named columns, and include
qualified wildcard queries as a control.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SqlToRel::sql_select_to_rex called LogicalPlan::using_columns() for every
SELECT item, walking the whole input plan each time. Compute it once in
prepare_select_exprs (and once for a wildcard's REPLACE items) and pass it
down.
Wildcard-only projections never normalize an expression, so they no longer
walk the input plan for USING columns. REPLACE items share the same lazily
collected set. Add an SLT for REPLACE over a USING join.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kosiew

kosiew commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark sql_planner

env:
  BENCH_FILTER: '^logical_nested_(select|qualified_wildcard)_'
baseline:
  ref: 7827d8080c

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c7004296471-5473-kn6lj 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing bench-26317 (9a8b128) to 7827d80 diff

Run configuration
run benchmark sql_planner
env:
  BENCH_FILTER: "^logical_nested_(select|qualified_wildcard)_"
baseline:
  ref: "7827d8080c"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

Comparing bench-26317 (9a8b128) to 7827d80 diff

Run configuration
run benchmark sql_planner
env:
  BENCH_FILTER: "^logical_nested_(select|qualified_wildcard)_"
baseline:
  ref: "7827d8080c"
CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

group                                                     HEAD                                   bench-26317
-----                                                     ----                                   -----------
logical_nested_qualified_wildcard_700_columns_1_levels    1.00      3.4±0.01ms        ? ?/sec    1.00      3.4±0.01ms        ? ?/sec
logical_nested_qualified_wildcard_700_columns_8_levels    1.00     15.5±0.04ms        ? ?/sec    1.01     15.6±0.04ms        ? ?/sec
logical_nested_select_100_columns_1_levels                1.05  1457.5±35.76µs        ? ?/sec    1.00   1393.4±6.39µs        ? ?/sec
logical_nested_select_100_columns_8_levels                1.35      7.1±0.03ms        ? ?/sec    1.00      5.3±0.01ms        ? ?/sec
logical_nested_select_700_columns_1_levels                1.23     11.6±0.05ms        ? ?/sec    1.00      9.4±0.02ms        ? ?/sec
logical_nested_select_700_columns_8_levels                2.65    119.8±1.20ms        ? ?/sec    1.00     45.2±0.15ms        ? ?/sec

Resource Usage

sql_planner — base (merge-base)

Metric Value
Wall time 215.1s
Peak memory 131.7 MiB
Avg memory 39.4 MiB
CPU user 80.9s
CPU sys 0.4s
Peak spill 0 B

sql_planner — branch

Metric Value
Wall time 410.1s
Peak memory 132.5 MiB
Avg memory 20.4 MiB
CPU user 78.8s
CPU sys 0.8s
Peak spill 0 B

File an issue against this benchmark runner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate sql SQL Planner sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants