Skip to content

DRAFT Bench 25358 - #27128

Draft
kosiew wants to merge 12 commits into
apache:mainfrom
kosiew:bench-25358
Draft

kosiew wants to merge 12 commits into
apache:mainfrom
kosiew:bench-25358

Conversation

@kosiew

@kosiew kosiew commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

bench #25358

- Add staged_sort benchmark with automatic ORDER BY evaluation across ties, NULLs, expensive keys, and controls
- Include inline data with knobs: STAGED_SORT_ROWS=200000, STAGED_SORT_PAYLOAD_WIDTH=32
- Update bench.sh to include staged_sort in staged workloads
- Document staged_sort as a separate workload with deterministic in-memory table generation
- Add staged_sort to README.md with detailed workload descriptions and query variants
- Create new README.md section for staged_sort with query variants 01–08
- Define query 01: unique id prefix, optional lower and md5 skips
- Define query 02: one sparse tie group (~10% rows), md5 on tied rows
- Define query 03: prefix group, all rows reach md5 (fallback)
- Define query 04: sparse ties resolve via lower(payload), skips md5
- Define query 05: nullable prefix, descending with NULLS FIRST, NULLs tie
- Define query 06: cheap keys only, control with no expensive stage
- Define query 07: TopK (LIMIT 100), eager fetch-path control
- Define query 08: same keys as 02, multiple sorted runs and merge
- Set defaults: STAGED_SORT_ROWS=200000, STAGED_SORT_PAYLOAD_WIDTH=32
- Ensure in-place sort threshold of 1 GiB for queries 01–07, zero for 08
- Use consistent fixture assertions for row count, unique IDs, payload width
- Verify plan shape: expensive expressions in 01 and 04 remain, 07 is TopK
- Confirm 08 exercises intended run/merge path
- Update bench.sh to skip external data for staged_sort
- Add debug options via --debug or EXPLAIN ANALYZE for timing insights
- Add new benchmark files for q04_multiple_stages, q05_null_ties, q06_cheap_control, q07_topk_control, and q08_multiple_runs
- Update template and add QPAD, NAME, and THRESHOLD values for each benchmark
- Modify SQL queries in queries/ to reflect new ordering expressions and payloads
- Update benchmarks/staged_sort.benchmark.template with load command and group metadata
- Ensure consistent data generation in load.sql with deterministic keys and payloads
- Maintain test assertions for row counts and NULL handling across all staged sorts
- Update staged ORDER BY evaluation logic to handle sparse keys, expensive keys, NULLs, and control conditions
- Modify test assertions to validate distinct tie_key and id % 100 conditions
- Ensure payload width calculation respects environment variable STAGED_SORT_PAYLOAD_WIDTH
- Add inline data generation for fixture rows with at least 100 entries
- Adjust suite description to reflect automatic evaluation across tie densities and key types
- Set default fixture rows to 200,000 with payload width of 32
- Update command example to reflect unique-prefix case
- Confirm cleanup step removes bench table after test run
- Maintain test coverage for COUNT, DISTINCT, and filtering logic
- Ensure result output path aligns with staged sort directory structure
@github-actions github-actions Bot added documentation Improvements or additions to documentation physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt) common Related to common crate physical-plan Changes to the physical-plan crate labels Nov 5, 2026
@kosiew

kosiew commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark sql

env:
  BENCH_NAME: staged_sort
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
baseline:
  ref: 89554196b7405d303f19584d8ee01522825023fe

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6656872401-4516-8hg84 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-25358 (6c96507) to 8955419 diff

Run configuration
run benchmark sql
env:
  BENCH_NAME: "staged_sort"
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
baseline:
  ref: "89554196b7405d303f19584d8ee01522825023fe"

Results will be posted here when complete


File an issue against this benchmark runner

@apache apache deleted a comment from adriangbot Nov 5, 2026
@apache apache deleted a comment from adriangbot Nov 5, 2026
@adriangbot

Copy link
Copy Markdown

Benchmark for this request failed before finishing (Kubernetes reason: BackoffLimitExceeded).

Benchmarks requested: sql

Runner log (last 40 lines)
   Compiling datafusion-expr-common v57.0.0-dev (/workspace/datafusion-branch/datafusion/expr-common)
   Compiling datafusion-proto-models v57.0.0-dev (/workspace/datafusion-branch/datafusion/proto-models)
   Compiling datafusion-physical-expr-common v57.0.0-dev (/workspace/datafusion-branch/datafusion/physical-expr-common)
   Compiling datafusion-functions-aggregate-common v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions-aggregate-common)
   Compiling datafusion-functions-window-common v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions-window-common)
   Compiling datafusion-expr v57.0.0-dev (/workspace/datafusion-branch/datafusion/expr)
   Compiling datafusion-physical-expr v57.0.0-dev (/workspace/datafusion-branch/datafusion/physical-expr)
   Compiling datafusion-execution v57.0.0-dev (/workspace/datafusion-branch/datafusion/execution)
   Compiling datafusion-functions v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions)
   Compiling datafusion-functions-aggregate v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions-aggregate)
   Compiling datafusion-functions-window v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions-window)
   Compiling datafusion-optimizer v57.0.0-dev (/workspace/datafusion-branch/datafusion/optimizer)
   Compiling datafusion-physical-plan v57.0.0-dev (/workspace/datafusion-branch/datafusion/physical-plan)
   Compiling datafusion-physical-expr-adapter v57.0.0-dev (/workspace/datafusion-branch/datafusion/physical-expr-adapter)
   Compiling datafusion-functions-nested v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions-nested)
   Compiling datafusion-sql v57.0.0-dev (/workspace/datafusion-branch/datafusion/sql)
   Compiling datafusion-session v57.0.0-dev (/workspace/datafusion-branch/datafusion/session)
   Compiling datafusion-datasource v57.0.0-dev (/workspace/datafusion-branch/datafusion/datasource)
   Compiling datafusion-pruning v57.0.0-dev (/workspace/datafusion-branch/datafusion/pruning)
   Compiling datafusion-catalog v57.0.0-dev (/workspace/datafusion-branch/datafusion/catalog)
   Compiling datafusion-datasource-json v57.0.0-dev (/workspace/datafusion-branch/datafusion/datasource-json)
   Compiling datafusion-datasource-arrow v57.0.0-dev (/workspace/datafusion-branch/datafusion/datasource-arrow)
   Compiling datafusion-datasource-csv v57.0.0-dev (/workspace/datafusion-branch/datafusion/datasource-csv)
   Compiling datafusion-datasource-avro v57.0.0-dev (/workspace/datafusion-branch/datafusion/datasource-avro)
   Compiling datafusion-datasource-parquet v57.0.0-dev (/workspace/datafusion-branch/datafusion/datasource-parquet)
   Compiling datafusion-physical-optimizer v57.0.0-dev (/workspace/datafusion-branch/datafusion/physical-optimizer)
   Compiling datafusion-catalog-listing v57.0.0-dev (/workspace/datafusion-branch/datafusion/catalog-listing)
   Compiling datafusion-functions-table v57.0.0-dev (/workspace/datafusion-branch/datafusion/functions-table)
   Compiling datafusion v57.0.0-dev (/workspace/datafusion-branch/datafusion/core)
   Compiling datafusion-proto v57.0.0-dev (/workspace/datafusion-branch/datafusion/proto)
   Compiling datafusion-benchmarks v57.0.0-dev (/workspace/datafusion-branch/benchmarks)
    Finished `bench` profile [optimized] target(s) in 11m 49s
     Running benches/sql.rs (target/release/deps/sql-e7295a71e583953b)
Gnuplot not found, using plotters backend

thread 'main' (20661) panicked at benchmarks/benches/sql.rs:42:27:
failed to run SQL benchmarks: NotImplemented("The context currently only supports a single SQL statement")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: bench failed, to rerun pass `-p datafusion-benchmarks --bench sql`
Kubernetes message
Job has reached the specified backoff limit

File an issue against this benchmark runner

@kosiew

kosiew commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark sql

env:
  BENCH_NAME: staged_sort
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
baseline:
  ref: 24d41f29a0

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6657705723-4517-nvswc 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-25358 (99fce22) to 24d41f2 diff

Run configuration
run benchmark sql
env:
  BENCH_NAME: "staged_sort"
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
baseline:
  ref: "24d41f29a0"

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-25358 (99fce22) to 24d41f2 diff

Run configuration
run benchmark sql
env:
  BENCH_NAME: "staged_sort"
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
baseline:
  ref: "24d41f29a0"
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-25358
-----                              ----                                   -----------
staged_sort/q01_unique_prefix      14.11    35.0±0.15ms        ? ?/sec    1.00      2.5±0.04ms        ? ?/sec
staged_sort/q02_partial_ties       4.02     45.1±0.12ms        ? ?/sec    1.00     11.2±0.12ms        ? ?/sec
staged_sort/q03_all_ties           1.16     79.3±0.57ms        ? ?/sec    1.00     68.2±1.17ms        ? ?/sec
staged_sort/q04_multiple_stages    6.40     46.7±0.12ms        ? ?/sec    1.00      7.3±0.09ms        ? ?/sec
staged_sort/q05_null_ties          1.36     66.7±0.28ms        ? ?/sec    1.00     49.0±0.27ms        ? ?/sec
staged_sort/q06_cheap_control      1.00     29.0±0.10ms        ? ?/sec    1.02     29.5±0.09ms        ? ?/sec
staged_sort/q07_topk_control       1.00     34.3±0.11ms        ? ?/sec    1.02     34.9±0.09ms        ? ?/sec
staged_sort/q08_multiple_runs      1.08     42.8±0.23ms        ? ?/sec    1.00     39.8±0.18ms        ? ?/sec

Resource Usage

sql — base (merge-base)

Metric Value
Wall time 470.3s
Peak memory 391.5 MiB
Avg memory 39.8 MiB
CPU user 103.3s
CPU sys 0.3s
Peak spill 0 B

sql — branch

Metric Value
Wall time 460.3s
Peak memory 310.8 MiB
Avg memory 36.3 MiB
CPU user 93.5s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@kosiew

kosiew commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark sort_tpch topk_tpch

env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6675026192-4532-v4kwv 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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sort_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6675026192-4533-5grjb 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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark topk_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"

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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark topk_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
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

Comparing HEAD and bench-25358
--------------------
Benchmark run_topk_tpch.json
--------------------
┏━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query ┃     HEAD ┃ bench-25358 ┃    Change ┃
┡━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Q1    │  2.13 ms │     2.09 ms │ no change │
│ Q2    │  2.82 ms │     2.90 ms │ no change │
│ Q3    │ 31.36 ms │    31.49 ms │ no change │
│ Q4    │  3.28 ms │     3.29 ms │ no change │
│ Q5    │ 10.35 ms │    10.46 ms │ no change │
│ Q6    │ 17.34 ms │    17.26 ms │ no change │
│ Q7    │ 37.21 ms │    37.46 ms │ no change │
│ Q8    │  6.87 ms │     6.91 ms │ no change │
│ Q9    │  8.59 ms │     8.63 ms │ no change │
│ Q10   │ 12.78 ms │    12.70 ms │ no change │
│ Q11   │  3.85 ms │     4.00 ms │ no change │
└───────┴──────────┴─────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary          ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)          │ 136.57ms │
│ Total Time (bench-25358)   │ 137.21ms │
│ Average Time (HEAD)        │  12.42ms │
│ Average Time (bench-25358) │  12.47ms │
│ Queries Faster             │        0 │
│ Queries Slower             │        0 │
│ Queries with No Change     │       11 │
│ Queries with Failure       │        0 │
└────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench-25358
--------------------
Benchmark run_topk_tpch.json
--------------------
┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query ┃                           HEAD ┃                    bench-25358 ┃        Change ┃
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ Q1    │    2.13 / 2.68 ±0.99 / 4.66 ms │    2.09 / 2.92 ±1.04 / 4.73 ms │  1.09x slower │
│ Q2    │    2.82 / 2.96 ±0.15 / 3.18 ms │    2.90 / 3.46 ±0.63 / 4.68 ms │  1.17x slower │
│ Q3    │ 31.36 / 32.07 ±0.78 / 33.23 ms │ 31.49 / 31.92 ±0.36 / 32.34 ms │     no change │
│ Q4    │    3.28 / 3.86 ±0.96 / 5.76 ms │    3.29 / 4.18 ±0.88 / 5.34 ms │  1.08x slower │
│ Q5    │ 10.35 / 10.54 ±0.18 / 10.81 ms │ 10.46 / 10.70 ±0.27 / 11.06 ms │     no change │
│ Q6    │ 17.34 / 17.50 ±0.12 / 17.66 ms │ 17.26 / 17.48 ±0.17 / 17.80 ms │     no change │
│ Q7    │ 37.21 / 38.13 ±0.93 / 39.88 ms │ 37.46 / 37.91 ±0.23 / 38.08 ms │     no change │
│ Q8    │    6.87 / 6.93 ±0.06 / 7.03 ms │    6.91 / 7.18 ±0.24 / 7.60 ms │     no change │
│ Q9    │    8.59 / 8.67 ±0.05 / 8.73 ms │   8.63 / 9.37 ±1.38 / 12.12 ms │  1.08x slower │
│ Q10   │ 12.78 / 12.86 ±0.08 / 13.00 ms │ 12.70 / 12.84 ±0.10 / 12.97 ms │     no change │
│ Q11   │    3.85 / 4.79 ±1.13 / 6.35 ms │    4.00 / 4.11 ±0.10 / 4.24 ms │ +1.17x faster │
└───────┴────────────────────────────────┴────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary          ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)          │ 140.97ms │
│ Total Time (bench-25358)   │ 142.07ms │
│ Average Time (HEAD)        │  12.82ms │
│ Average Time (bench-25358) │  12.92ms │
│ Queries Faster             │        1 │
│ Queries Slower             │        4 │
│ Queries with No Change     │        6 │
│ Queries with Failure       │        0 │
└────────────────────────────┴──────────┘

Resource Usage

topk_tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 260.0 KiB
Avg memory 43.3 KiB
CPU user 0.0s
CPU sys 0.0s
Peak spill 0 B

topk_tpch — branch

Metric Value
Wall time 5.0s
Peak memory 256.0 KiB
Avg memory 42.7 KiB
CPU user 0.0s
CPU sys 0.0s
Peak spill 0 B

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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sort_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "true"
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

Comparing HEAD and bench-25358
--------------------
Benchmark sort_tpch1.json
--------------------
┏━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query ┃      HEAD ┃ bench-25358 ┃    Change ┃
┡━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Q1    │ 110.72 ms │   110.57 ms │ no change │
│ Q2    │  97.10 ms │    97.42 ms │ no change │
│ Q3    │ 616.55 ms │   622.02 ms │ no change │
│ Q4    │ 157.76 ms │   159.83 ms │ no change │
│ Q5    │ 233.34 ms │   233.74 ms │ no change │
│ Q6    │ 246.16 ms │   245.71 ms │ no change │
│ Q7    │ 392.52 ms │   393.58 ms │ no change │
│ Q8    │ 293.61 ms │   292.48 ms │ no change │
│ Q9    │ 305.50 ms │   309.83 ms │ no change │
│ Q10   │ 451.69 ms │   452.40 ms │ no change │
│ Q11   │ 239.76 ms │   240.95 ms │ no change │
└───────┴───────────┴─────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary          ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)          │ 3144.70ms │
│ Total Time (bench-25358)   │ 3158.52ms │
│ Average Time (HEAD)        │  285.88ms │
│ Average Time (bench-25358) │  287.14ms │
│ Queries Faster             │         0 │
│ Queries Slower             │         0 │
│ Queries with No Change     │        11 │
│ Queries with Failure       │         0 │
└────────────────────────────┴───────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench-25358
--------------------
Benchmark sort_tpch1.json
--------------------
┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query ┃                               HEAD ┃                        bench-25358 ┃    Change ┃
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Q1    │  110.72 / 111.56 ±0.75 / 112.91 ms │  110.57 / 111.44 ±1.02 / 113.44 ms │ no change │
│ Q2    │     97.10 / 98.22 ±1.02 / 99.75 ms │    97.42 / 98.79 ±1.34 / 101.30 ms │ no change │
│ Q3    │  616.55 / 621.34 ±3.19 / 625.91 ms │  622.02 / 624.63 ±2.39 / 628.27 ms │ no change │
│ Q4    │  157.76 / 158.75 ±0.68 / 159.54 ms │  159.83 / 160.52 ±0.71 / 161.85 ms │ no change │
│ Q5    │  233.34 / 234.53 ±0.92 / 235.98 ms │  233.74 / 235.02 ±1.69 / 238.35 ms │ no change │
│ Q6    │  246.16 / 246.76 ±0.55 / 247.77 ms │  245.71 / 246.60 ±0.84 / 247.84 ms │ no change │
│ Q7    │  392.52 / 393.85 ±0.97 / 395.25 ms │  393.58 / 395.11 ±1.27 / 397.17 ms │ no change │
│ Q8    │  293.61 / 299.05 ±4.62 / 305.32 ms │  292.48 / 297.94 ±4.20 / 304.76 ms │ no change │
│ Q9    │ 305.50 / 315.53 ±10.67 / 334.23 ms │  309.83 / 321.55 ±9.68 / 336.43 ms │ no change │
│ Q10   │  451.69 / 459.22 ±6.33 / 468.66 ms │ 452.40 / 466.70 ±15.12 / 495.64 ms │ no change │
│ Q11   │ 239.76 / 252.05 ±22.03 / 296.05 ms │ 240.95 / 255.57 ±24.91 / 305.16 ms │ no change │
└───────┴────────────────────────────────────┴────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary          ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)          │ 3190.87ms │
│ Total Time (bench-25358)   │ 3213.86ms │
│ Average Time (HEAD)        │  290.08ms │
│ Average Time (bench-25358) │  292.17ms │
│ Queries Faster             │         0 │
│ Queries Slower             │         0 │
│ Queries with No Change     │        11 │
│ Queries with Failure       │         0 │
└────────────────────────────┴───────────┘

Resource Usage

sort_tpch — base (merge-base)

Metric Value
Wall time 20.0s
Peak memory 2.4 GiB
Avg memory 1.1 GiB
CPU user 61.4s
CPU sys 2.6s
Peak spill 0 B

sort_tpch — branch

Metric Value
Wall time 20.0s
Peak memory 2.4 GiB
Avg memory 1.1 GiB
CPU user 61.1s
CPU sys 2.6s
Peak spill 0 B

File an issue against this benchmark runner

@kosiew

kosiew commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark sort_tpch topk_tpch

env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6675224177-4534-89b6t 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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sort_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6675224177-4535-2v8c9 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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark topk_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"

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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark topk_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"
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

Comparing HEAD and bench-25358
--------------------
Benchmark run_topk_tpch.json
--------------------
┏━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query ┃     HEAD ┃ bench-25358 ┃    Change ┃
┡━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Q1    │  2.12 ms │     2.14 ms │ no change │
│ Q2    │  2.77 ms │     2.79 ms │ no change │
│ Q3    │ 31.32 ms │    31.49 ms │ no change │
│ Q4    │  3.27 ms │     3.27 ms │ no change │
│ Q5    │ 10.37 ms │    10.32 ms │ no change │
│ Q6    │ 17.37 ms │    17.49 ms │ no change │
│ Q7    │ 37.50 ms │    37.64 ms │ no change │
│ Q8    │  6.90 ms │     6.91 ms │ no change │
│ Q9    │  8.62 ms │     8.76 ms │ no change │
│ Q10   │ 12.80 ms │    12.84 ms │ no change │
│ Q11   │  3.82 ms │     3.95 ms │ no change │
└───────┴──────────┴─────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary          ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)          │ 136.86ms │
│ Total Time (bench-25358)   │ 137.60ms │
│ Average Time (HEAD)        │  12.44ms │
│ Average Time (bench-25358) │  12.51ms │
│ Queries Faster             │        0 │
│ Queries Slower             │        0 │
│ Queries with No Change     │       11 │
│ Queries with Failure       │        0 │
└────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench-25358
--------------------
Benchmark run_topk_tpch.json
--------------------
┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query ┃                           HEAD ┃                    bench-25358 ┃        Change ┃
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ Q1    │    2.12 / 3.32 ±1.62 / 6.44 ms │    2.14 / 2.81 ±0.93 / 4.62 ms │ +1.19x faster │
│ Q2    │    2.77 / 3.07 ±0.43 / 3.93 ms │    2.79 / 2.97 ±0.19 / 3.31 ms │     no change │
│ Q3    │ 31.32 / 31.84 ±0.61 / 32.62 ms │ 31.49 / 31.71 ±0.25 / 32.10 ms │     no change │
│ Q4    │    3.27 / 3.40 ±0.17 / 3.72 ms │    3.27 / 3.40 ±0.16 / 3.71 ms │     no change │
│ Q5    │ 10.37 / 10.51 ±0.13 / 10.75 ms │ 10.32 / 10.47 ±0.12 / 10.64 ms │     no change │
│ Q6    │ 17.37 / 17.64 ±0.21 / 17.98 ms │ 17.49 / 17.53 ±0.04 / 17.62 ms │     no change │
│ Q7    │ 37.50 / 37.95 ±0.41 / 38.64 ms │ 37.64 / 37.97 ±0.35 / 38.64 ms │     no change │
│ Q8    │    6.90 / 7.58 ±1.14 / 9.85 ms │    6.91 / 7.46 ±1.01 / 9.49 ms │     no change │
│ Q9    │    8.62 / 8.69 ±0.05 / 8.75 ms │  8.76 / 10.01 ±1.52 / 12.13 ms │  1.15x slower │
│ Q10   │ 12.80 / 12.93 ±0.18 / 13.27 ms │ 12.84 / 14.67 ±1.38 / 15.89 ms │  1.14x slower │
│ Q11   │    3.82 / 4.37 ±0.85 / 6.04 ms │    3.95 / 5.22 ±1.03 / 6.32 ms │  1.20x slower │
└───────┴────────────────────────────────┴────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary          ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)          │ 141.30ms │
│ Total Time (bench-25358)   │ 144.22ms │
│ Average Time (HEAD)        │  12.85ms │
│ Average Time (bench-25358) │  13.11ms │
│ Queries Faster             │        1 │
│ Queries Slower             │        3 │
│ Queries with No Change     │        7 │
│ Queries with Failure       │        0 │
└────────────────────────────┴──────────┘

Resource Usage

topk_tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 260.0 KiB
Avg memory 43.3 KiB
CPU user 0.0s
CPU sys 0.0s
Peak spill 0 B

topk_tpch — branch

Metric Value
Wall time 5.0s
Peak memory 236.0 KiB
Avg memory 39.3 KiB
CPU user 0.0s
CPU sys 0.0s
Peak spill 0 B

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-25358 (99fce22) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sort_tpch
env:
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"
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

Comparing HEAD and bench-25358
--------------------
Benchmark sort_tpch1.json
--------------------
┏━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query ┃      HEAD ┃ bench-25358 ┃    Change ┃
┡━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Q1    │ 111.69 ms │   110.97 ms │ no change │
│ Q2    │  98.16 ms │    97.61 ms │ no change │
│ Q3    │ 626.23 ms │   627.63 ms │ no change │
│ Q4    │ 159.31 ms │   159.00 ms │ no change │
│ Q5    │ 235.24 ms │   235.60 ms │ no change │
│ Q6    │ 248.40 ms │   247.88 ms │ no change │
│ Q7    │ 399.00 ms │   398.58 ms │ no change │
│ Q8    │ 294.33 ms │   295.74 ms │ no change │
│ Q9    │ 310.62 ms │   314.22 ms │ no change │
│ Q10   │ 460.31 ms │   455.01 ms │ no change │
│ Q11   │ 244.73 ms │   243.74 ms │ no change │
└───────┴───────────┴─────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary          ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)          │ 3188.02ms │
│ Total Time (bench-25358)   │ 3185.96ms │
│ Average Time (HEAD)        │  289.82ms │
│ Average Time (bench-25358) │  289.63ms │
│ Queries Faster             │         0 │
│ Queries Slower             │         0 │
│ Queries with No Change     │        11 │
│ Queries with Failure       │         0 │
└────────────────────────────┴───────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench-25358
--------------------
Benchmark sort_tpch1.json
--------------------
┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query ┃                               HEAD ┃                        bench-25358 ┃    Change ┃
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Q1    │  111.69 / 112.68 ±0.91 / 114.35 ms │  110.97 / 111.90 ±0.96 / 113.73 ms │ no change │
│ Q2    │    98.16 / 99.67 ±1.42 / 102.21 ms │    97.61 / 98.90 ±1.67 / 102.16 ms │ no change │
│ Q3    │  626.23 / 630.75 ±2.36 / 632.97 ms │  627.63 / 637.71 ±6.54 / 646.05 ms │ no change │
│ Q4    │  159.31 / 163.13 ±7.01 / 177.13 ms │  159.00 / 162.46 ±4.42 / 171.18 ms │ no change │
│ Q5    │  235.24 / 238.26 ±2.66 / 241.67 ms │  235.60 / 237.61 ±2.39 / 242.09 ms │ no change │
│ Q6    │  248.40 / 249.97 ±1.71 / 253.26 ms │  247.88 / 249.51 ±1.33 / 251.29 ms │ no change │
│ Q7    │  399.00 / 401.80 ±1.98 / 405.10 ms │  398.58 / 401.96 ±2.29 / 405.49 ms │ no change │
│ Q8    │ 294.33 / 303.31 ±10.14 / 321.66 ms │  295.74 / 301.93 ±6.32 / 313.63 ms │ no change │
│ Q9    │  310.62 / 319.60 ±8.79 / 334.72 ms │  314.22 / 322.97 ±8.51 / 337.07 ms │ no change │
│ Q10   │ 460.31 / 487.88 ±20.83 / 521.05 ms │ 455.01 / 465.88 ±14.61 / 494.74 ms │ no change │
│ Q11   │ 244.73 / 256.14 ±12.09 / 272.05 ms │ 243.74 / 256.05 ±13.76 / 276.16 ms │ no change │
└───────┴────────────────────────────────────┴────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary          ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)          │ 3263.19ms │
│ Total Time (bench-25358)   │ 3246.88ms │
│ Average Time (HEAD)        │  296.65ms │
│ Average Time (bench-25358) │  295.17ms │
│ Queries Faster             │         0 │
│ Queries Slower             │         0 │
│ Queries with No Change     │        11 │
│ Queries with Failure       │         0 │
└────────────────────────────┴───────────┘

Resource Usage

sort_tpch — base (merge-base)

Metric Value
Wall time 20.0s
Peak memory 2.4 GiB
Avg memory 1.1 GiB
CPU user 60.8s
CPU sys 3.1s
Peak spill 0 B

sort_tpch — branch

Metric Value
Wall time 20.0s
Peak memory 2.3 GiB
Avg memory 1.0 GiB
CPU user 61.0s
CPU sys 2.9s
Peak spill 0 B

File an issue against this benchmark runner

@kosiew

kosiew commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark sql

env:
  BENCH_NAME: staged_sort
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"
baseline:
  ref: 24d41f29a0

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6676217288-4543-jg256 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-25358 (99fce22) to 24d41f2 diff

Run configuration
run benchmark sql
env:
  BENCH_NAME: "staged_sort"
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"
baseline:
  ref: "24d41f29a0"

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-25358 (99fce22) to 24d41f2 diff

Run configuration
run benchmark sql
env:
  BENCH_NAME: "staged_sort"
  DATAFUSION_EXECUTION_ENABLE_STAGED_SORT: "false"
baseline:
  ref: "24d41f29a0"
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-25358
-----                              ----                                   -----------
staged_sort/q01_unique_prefix      1.00     35.2±0.14ms        ? ?/sec    1.00     35.3±0.20ms        ? ?/sec
staged_sort/q02_partial_ties       1.00     45.2±0.20ms        ? ?/sec    1.00     45.1±0.15ms        ? ?/sec
staged_sort/q03_all_ties           1.03     87.3±0.42ms        ? ?/sec    1.00     84.4±0.79ms        ? ?/sec
staged_sort/q04_multiple_stages    1.00     47.0±0.21ms        ? ?/sec    1.00     47.2±0.32ms        ? ?/sec
staged_sort/q05_null_ties          1.00     67.2±0.22ms        ? ?/sec    1.01     67.6±0.15ms        ? ?/sec
staged_sort/q06_cheap_control      1.00     29.4±0.08ms        ? ?/sec    1.01     29.8±0.10ms        ? ?/sec
staged_sort/q07_topk_control       1.00     34.8±0.10ms        ? ?/sec    1.00     34.7±0.10ms        ? ?/sec
staged_sort/q08_multiple_runs      1.00     42.5±0.13ms        ? ?/sec    1.02     43.2±0.18ms        ? ?/sec

Resource Usage

sql — base (merge-base)

Metric Value
Wall time 475.2s
Peak memory 399.6 MiB
Avg memory 38.8 MiB
CPU user 104.0s
CPU sys 0.3s
Peak spill 0 B

sql — branch

Metric Value
Wall time 465.2s
Peak memory 400.4 MiB
Avg memory 41.4 MiB
CPU user 104.3s
CPU sys 0.3s
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

common Related to common crate documentation Improvements or additions to documentation physical-expr Changes to the physical-expr crates physical-plan Changes to the physical-plan crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants