Skip to content

Add batch pass-through optimization to SortPreservingMergeExec#21335

Closed
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:batch-pass-through-spm
Closed

Add batch pass-through optimization to SortPreservingMergeExec#21335
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:batch-pass-through-spm

Conversation

@Dandandan
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A — performance optimization

Rationale for this change

SortPreservingMergeExec currently processes every row through the loser tree, even when an entire batch from the winning stream is strictly less than all other streams' current values. This is common for:

  • Time-series data with range-partitioned inputs
  • After hash repartition + sort where partitions have distinct value ranges
  • Any workload where input batches don't overlap

What changes are included in this PR?

Batch pass-through optimization: After the loser tree selects a winner, if the winner's cursor is at the start of a new batch, check whether the batch's last value is strictly less than the runner-up's current value (found via O(log K) loser-tree walk).

Two fast paths when the check succeeds:

  1. Zero-copy: When in_progress buffer is empty and the full batch qualifies, RecordBatch::slice returns the batch directly — no interleave, no row-level copying.

  2. Bulk-push: When partial rows are already buffered, append all qualifying rows at once via push_rows, skipping O(remaining × log K) loser-tree comparisons.

Files changed

  • cursor.rs: Add remaining(), last_cmp(), advance_by(), is_at_start() to Cursor
  • builder.rs: Add push_rows() (bulk append) and take_batch_slice() (zero-copy emission)
  • merge.rs: Add find_runner_up(), can_batch_pass_through(), modify poll_next_inner
  • sort_preserving_merge.rs: 3 new tests covering non-overlapping, partial overlap, and fetch limits

Are these changes tested?

Yes — 3 new test cases plus all 18 existing tests pass:

  • test_batch_pass_through_multi_batch: Multiple non-overlapping batches per partition
  • test_batch_pass_through_with_fetch: Fetch limit that cuts through a pass-through batch
  • test_batch_pass_through_partial_overlap: Mixed overlap across 3 partitions

Are there any user-facing changes?

No API changes. Existing behavior is preserved — the optimization is strictly an internal fast path that produces identical output.

🤖 Generated with Claude Code

When the loser tree winner's entire remaining batch is strictly less
than every other stream's current value, skip per-row loser-tree
comparisons and emit the batch directly.

Two fast paths:
- Zero-copy: when in_progress buffer is empty and the full batch
  qualifies, slice and return the RecordBatch without interleave
- Bulk-push: otherwise append all qualifying rows at once, avoiding
  O(remaining × log K) loser-tree work

The runner-up is found by walking the winner's loser-tree path
(O(log K)), and the check is only performed at the start of each
new batch to amortise cost.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmarks

@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmark sort_tpch

@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Apr 3, 2026
@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4182932560-714-pmp4c 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 batch-pass-through-spm (4feba22) to 1e93a67 (merge-base) diff using: clickbench_partitioned
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-c4182932560-715-jwpnp 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 batch-pass-through-spm (4feba22) to 1e93a67 (merge-base) diff using: tpcds
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-c4182932560-716-66s5l 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 batch-pass-through-spm (4feba22) to 1e93a67 (merge-base) diff using: tpch
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4182932616-717-86flp 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 batch-pass-through-spm (4feba22) to 1e93a67 (merge-base) diff
BENCH_NAME=sort_tpch
BENCH_COMMAND=cargo bench --features=parquet --bench sort_tpch
BENCH_FILTER=
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

Benchmark for this request failed.

Last 20 lines of output:

Click to expand
    string_to_array
    strpos
    struct_query_sql
    substr
    substr_index
    substring
    sum
    to_char
    to_hex
    to_timestamp
    topk_aggregate
    topk_repartition
    translate
    trim
    trunc
    unhex
    upper
    uuid
    window_query_sql
    with_hashes

File an issue against this benchmark runner

@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmark tpch_sort

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4182953569-718-r759f 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 batch-pass-through-spm (4feba22) to 1e93a67 (merge-base) diff
BENCH_NAME=tpch_sort
BENCH_COMMAND=cargo bench --features=parquet --bench tpch_sort
BENCH_FILTER=
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

Benchmark for this request failed.

Last 20 lines of output:

Click to expand
    string_to_array
    strpos
    struct_query_sql
    substr
    substr_index
    substring
    sum
    to_char
    to_hex
    to_timestamp
    topk_aggregate
    topk_repartition
    translate
    trim
    trunc
    unhex
    upper
    uuid
    window_query_sql
    with_hashes

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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 batch-pass-through-spm
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃         batch-pass-through-spm ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │ 45.22 / 46.12 ±0.96 / 47.43 ms │ 45.61 / 46.48 ±0.84 / 47.52 ms │    no change │
│ QQuery 2  │ 21.22 / 21.50 ±0.28 / 21.85 ms │ 21.21 / 21.37 ±0.23 / 21.83 ms │    no change │
│ QQuery 3  │ 31.72 / 32.51 ±1.23 / 34.96 ms │ 31.85 / 31.97 ±0.11 / 32.18 ms │    no change │
│ QQuery 4  │ 20.12 / 20.75 ±0.66 / 21.95 ms │ 20.91 / 22.11 ±1.08 / 23.44 ms │ 1.07x slower │
│ QQuery 5  │ 49.02 / 51.53 ±1.39 / 53.21 ms │ 48.09 / 50.63 ±1.70 / 52.62 ms │    no change │
│ QQuery 6  │ 16.93 / 18.07 ±1.45 / 20.48 ms │ 17.23 / 17.39 ±0.21 / 17.80 ms │    no change │
│ QQuery 7  │ 54.41 / 56.31 ±2.20 / 59.74 ms │ 55.81 / 56.89 ±1.08 / 58.49 ms │    no change │
│ QQuery 8  │ 47.64 / 48.06 ±0.29 / 48.40 ms │ 48.80 / 49.49 ±1.23 / 51.95 ms │    no change │
│ QQuery 9  │ 53.29 / 54.91 ±1.06 / 56.41 ms │ 54.61 / 55.58 ±0.98 / 57.14 ms │    no change │
│ QQuery 10 │ 70.92 / 72.84 ±1.62 / 75.05 ms │ 72.21 / 73.64 ±1.04 / 74.84 ms │    no change │
│ QQuery 11 │ 13.72 / 14.30 ±0.51 / 15.00 ms │ 13.95 / 14.15 ±0.19 / 14.42 ms │    no change │
│ QQuery 12 │ 27.85 / 28.04 ±0.10 / 28.15 ms │ 27.89 / 28.09 ±0.20 / 28.42 ms │    no change │
│ QQuery 13 │ 39.26 / 40.33 ±0.91 / 41.72 ms │ 39.42 / 40.30 ±0.54 / 41.02 ms │    no change │
│ QQuery 14 │ 28.71 / 28.98 ±0.25 / 29.44 ms │ 28.58 / 28.90 ±0.20 / 29.10 ms │    no change │
│ QQuery 15 │ 33.26 / 33.65 ±0.28 / 33.97 ms │ 33.52 / 34.03 ±0.39 / 34.47 ms │    no change │
│ QQuery 16 │ 16.27 / 16.73 ±0.64 / 17.98 ms │ 15.96 / 16.27 ±0.29 / 16.81 ms │    no change │
│ QQuery 17 │ 73.19 / 73.77 ±0.72 / 75.15 ms │ 72.35 / 73.10 ±0.68 / 74.13 ms │    no change │
│ QQuery 18 │ 77.91 / 80.23 ±1.88 / 82.75 ms │ 78.55 / 79.87 ±1.11 / 81.05 ms │    no change │
│ QQuery 19 │ 37.70 / 38.15 ±0.64 / 39.38 ms │ 37.30 / 37.86 ±0.55 / 38.83 ms │    no change │
│ QQuery 20 │ 40.46 / 41.22 ±0.75 / 42.53 ms │ 39.55 / 40.51 ±0.75 / 41.46 ms │    no change │
│ QQuery 21 │ 64.14 / 66.70 ±1.96 / 69.06 ms │ 63.17 / 65.58 ±1.91 / 68.18 ms │    no change │
│ QQuery 22 │ 17.77 / 18.09 ±0.42 / 18.88 ms │ 17.74 / 18.36 ±0.47 / 19.07 ms │    no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                     ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                     │ 902.79ms │
│ Total Time (batch-pass-through-spm)   │ 902.59ms │
│ Average Time (HEAD)                   │  41.04ms │
│ Average Time (batch-pass-through-spm) │  41.03ms │
│ Queries Faster                        │        0 │
│ Queries Slower                        │        1 │
│ Queries with No Change                │       21 │
│ Queries with Failure                  │        0 │
└───────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 4.8s
Peak memory 4.1 GiB
Avg memory 3.6 GiB
CPU user 33.8s
CPU sys 2.6s
Disk read 0 B
Disk write 140.0 KiB

tpch — branch

Metric Value
Wall time 4.7s
Peak memory 4.0 GiB
Avg memory 3.6 GiB
CPU user 33.9s
CPU sys 2.5s
Disk read 0 B
Disk write 60.0 KiB

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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 batch-pass-through-spm
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃                batch-pass-through-spm ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.29 / 4.59 ±6.47 / 17.53 ms │          1.30 / 4.59 ±6.43 / 17.45 ms │     no change │
│ QQuery 1  │        14.37 / 14.83 ±0.24 / 15.04 ms │        14.62 / 14.75 ±0.10 / 14.90 ms │     no change │
│ QQuery 2  │        44.00 / 44.28 ±0.40 / 45.07 ms │        44.29 / 44.70 ±0.31 / 45.19 ms │     no change │
│ QQuery 3  │        42.95 / 47.22 ±2.27 / 49.59 ms │        41.24 / 45.36 ±2.95 / 49.67 ms │     no change │
│ QQuery 4  │    298.72 / 314.47 ±10.13 / 330.60 ms │     290.28 / 301.32 ±6.42 / 306.62 ms │     no change │
│ QQuery 5  │     354.55 / 359.28 ±5.05 / 368.85 ms │     351.37 / 354.85 ±2.65 / 359.11 ms │     no change │
│ QQuery 6  │           5.82 / 6.18 ±0.36 / 6.81 ms │         5.27 / 13.13 ±8.41 / 24.18 ms │  2.13x slower │
│ QQuery 7  │        17.05 / 18.09 ±1.38 / 20.78 ms │        16.84 / 17.18 ±0.27 / 17.50 ms │ +1.05x faster │
│ QQuery 8  │     424.84 / 441.30 ±9.50 / 452.62 ms │    435.68 / 442.64 ±10.53 / 463.53 ms │     no change │
│ QQuery 9  │     651.97 / 667.07 ±8.76 / 677.15 ms │    646.34 / 656.57 ±12.38 / 679.92 ms │     no change │
│ QQuery 10 │       92.74 / 96.09 ±3.44 / 102.74 ms │        92.13 / 95.51 ±3.08 / 99.49 ms │     no change │
│ QQuery 11 │     104.47 / 106.09 ±1.54 / 108.85 ms │     105.15 / 106.38 ±0.68 / 106.93 ms │     no change │
│ QQuery 12 │     349.59 / 356.60 ±5.06 / 365.10 ms │     347.91 / 356.33 ±8.71 / 372.65 ms │     no change │
│ QQuery 13 │    457.48 / 476.43 ±10.65 / 487.35 ms │     460.66 / 471.35 ±5.41 / 475.13 ms │     no change │
│ QQuery 14 │     357.77 / 361.70 ±3.04 / 366.85 ms │     355.00 / 362.17 ±4.55 / 368.80 ms │     no change │
│ QQuery 15 │    360.43 / 376.34 ±14.47 / 402.16 ms │    375.13 / 394.29 ±19.42 / 430.69 ms │     no change │
│ QQuery 16 │    729.93 / 748.60 ±15.02 / 775.16 ms │     723.70 / 730.41 ±5.60 / 740.24 ms │     no change │
│ QQuery 17 │     723.94 / 728.16 ±2.22 / 729.90 ms │     724.74 / 731.28 ±5.52 / 741.41 ms │     no change │
│ QQuery 18 │ 1429.37 / 1495.85 ±45.02 / 1566.83 ms │ 1476.92 / 1506.41 ±31.59 / 1567.21 ms │     no change │
│ QQuery 19 │        36.21 / 37.87 ±1.58 / 40.84 ms │        35.95 / 37.14 ±1.04 / 38.68 ms │     no change │
│ QQuery 20 │    720.61 / 738.57 ±19.44 / 765.60 ms │    720.43 / 732.03 ±10.87 / 746.57 ms │     no change │
│ QQuery 21 │     766.30 / 769.49 ±2.63 / 772.90 ms │     763.86 / 768.73 ±4.87 / 777.96 ms │     no change │
│ QQuery 22 │  1135.42 / 1141.40 ±7.96 / 1156.61 ms │  1134.52 / 1138.17 ±4.15 / 1145.68 ms │     no change │
│ QQuery 23 │ 3088.74 / 3101.61 ±11.59 / 3121.00 ms │ 3075.01 / 3095.58 ±22.77 / 3136.09 ms │     no change │
│ QQuery 24 │     101.95 / 104.96 ±2.11 / 108.25 ms │      98.81 / 103.47 ±2.84 / 107.41 ms │     no change │
│ QQuery 25 │     140.62 / 141.69 ±0.84 / 143.10 ms │     140.32 / 143.25 ±1.98 / 145.36 ms │     no change │
│ QQuery 26 │     101.34 / 103.69 ±1.43 / 105.76 ms │      99.66 / 102.29 ±2.39 / 105.37 ms │     no change │
│ QQuery 27 │    853.53 / 861.77 ±10.07 / 881.06 ms │     849.54 / 854.26 ±2.75 / 857.82 ms │     no change │
│ QQuery 28 │ 7728.50 / 7774.26 ±25.57 / 7802.84 ms │ 7748.27 / 7803.35 ±36.91 / 7844.15 ms │     no change │
│ QQuery 29 │        49.75 / 53.72 ±3.35 / 58.94 ms │        50.16 / 55.52 ±6.64 / 67.95 ms │     no change │
│ QQuery 30 │     363.73 / 372.38 ±5.34 / 378.58 ms │     372.82 / 379.05 ±4.12 / 384.99 ms │     no change │
│ QQuery 31 │     372.85 / 379.10 ±7.58 / 392.35 ms │    360.15 / 379.77 ±13.36 / 402.23 ms │     no change │
│ QQuery 32 │ 1050.61 / 1062.93 ±16.33 / 1092.71 ms │ 1159.37 / 1323.57 ±98.25 / 1454.68 ms │  1.25x slower │
│ QQuery 33 │  1470.15 / 1477.88 ±5.63 / 1484.40 ms │ 1574.53 / 1613.87 ±34.56 / 1672.85 ms │  1.09x slower │
│ QQuery 34 │ 1469.80 / 1484.56 ±11.13 / 1498.82 ms │ 1577.20 / 1620.60 ±32.63 / 1665.51 ms │  1.09x slower │
│ QQuery 35 │     394.30 / 397.33 ±2.93 / 401.99 ms │    396.84 / 441.28 ±33.65 / 486.75 ms │  1.11x slower │
│ QQuery 36 │     120.99 / 125.48 ±2.35 / 127.88 ms │    128.58 / 140.98 ±11.85 / 163.61 ms │  1.12x slower │
│ QQuery 37 │        49.24 / 50.64 ±1.38 / 52.85 ms │        49.99 / 51.21 ±1.09 / 52.78 ms │     no change │
│ QQuery 38 │        78.40 / 79.48 ±0.86 / 80.73 ms │        84.43 / 84.92 ±0.53 / 85.88 ms │  1.07x slower │
│ QQuery 39 │     216.33 / 225.30 ±5.55 / 231.65 ms │     234.16 / 238.56 ±3.03 / 243.68 ms │  1.06x slower │
│ QQuery 40 │        22.71 / 25.95 ±2.47 / 30.18 ms │        22.96 / 27.20 ±2.26 / 29.07 ms │     no change │
│ QQuery 41 │        19.52 / 21.64 ±1.67 / 23.82 ms │        21.01 / 21.94 ±0.60 / 22.50 ms │     no change │
│ QQuery 42 │        19.64 / 20.55 ±0.47 / 21.04 ms │        19.57 / 20.17 ±0.33 / 20.54 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                     ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                     │ 27215.42ms │
│ Total Time (batch-pass-through-spm)   │ 27826.15ms │
│ Average Time (HEAD)                   │   632.92ms │
│ Average Time (batch-pass-through-spm) │   647.12ms │
│ Queries Faster                        │          1 │
│ Queries Slower                        │          8 │
│ Queries with No Change                │         34 │
│ Queries with Failure                  │          0 │
└───────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 137.3s
Peak memory 40.5 GiB
Avg memory 32.0 GiB
CPU user 1293.6s
CPU sys 88.7s
Disk read 0 B
Disk write 4.5 GiB

clickbench_partitioned — branch

Metric Value
Wall time 139.6s
Peak memory 40.4 GiB
Avg memory 29.4 GiB
CPU user 1295.1s
CPU sys 109.3s
Disk read 0 B
Disk write 120.0 KiB

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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 batch-pass-through-spm
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                     HEAD ┃                   batch-pass-through-spm ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           44.14 / 44.86 ±0.59 / 45.88 ms │           44.19 / 44.86 ±0.43 / 45.52 ms │     no change │
│ QQuery 2  │        149.08 / 149.66 ±0.83 / 151.29 ms │        148.08 / 149.94 ±1.12 / 151.52 ms │     no change │
│ QQuery 3  │        115.66 / 116.80 ±0.73 / 117.80 ms │        116.30 / 116.93 ±0.43 / 117.64 ms │     no change │
│ QQuery 4  │    1404.42 / 1433.50 ±24.66 / 1466.80 ms │    1396.96 / 1435.88 ±25.10 / 1460.90 ms │     no change │
│ QQuery 5  │        175.94 / 177.15 ±1.72 / 180.44 ms │        175.51 / 177.18 ±1.29 / 179.30 ms │     no change │
│ QQuery 6  │     988.58 / 1048.89 ±36.63 / 1101.72 ms │    1048.27 / 1064.38 ±13.16 / 1084.01 ms │     no change │
│ QQuery 7  │        351.44 / 358.77 ±6.11 / 369.38 ms │        354.65 / 358.24 ±2.55 / 361.21 ms │     no change │
│ QQuery 8  │        116.94 / 118.12 ±0.93 / 119.77 ms │        117.03 / 118.29 ±1.40 / 120.07 ms │     no change │
│ QQuery 9  │        100.94 / 104.93 ±2.73 / 107.45 ms │        102.20 / 103.87 ±1.73 / 106.59 ms │     no change │
│ QQuery 10 │        107.41 / 108.83 ±0.92 / 109.94 ms │        108.79 / 110.34 ±1.57 / 113.32 ms │     no change │
│ QQuery 11 │      952.60 / 986.87 ±27.35 / 1036.57 ms │      930.85 / 988.12 ±46.68 / 1044.09 ms │     no change │
│ QQuery 12 │           46.36 / 48.96 ±1.38 / 50.38 ms │           46.05 / 48.11 ±1.57 / 50.60 ms │     no change │
│ QQuery 13 │        402.99 / 407.66 ±2.84 / 410.54 ms │        403.50 / 407.22 ±2.96 / 410.99 ms │     no change │
│ QQuery 14 │     1031.00 / 1043.35 ±7.09 / 1052.28 ms │     1023.26 / 1030.00 ±7.46 / 1044.19 ms │     no change │
│ QQuery 15 │           16.87 / 18.19 ±0.94 / 18.96 ms │           16.11 / 17.12 ±1.08 / 18.88 ms │ +1.06x faster │
│ QQuery 16 │           41.54 / 42.46 ±1.08 / 44.09 ms │           41.94 / 42.87 ±0.72 / 44.17 ms │     no change │
│ QQuery 17 │        248.76 / 252.23 ±2.46 / 255.30 ms │        247.11 / 249.72 ±2.00 / 252.54 ms │     no change │
│ QQuery 18 │        133.41 / 134.92 ±1.60 / 137.60 ms │        128.91 / 130.00 ±1.08 / 131.82 ms │     no change │
│ QQuery 19 │        153.22 / 157.82 ±2.89 / 161.97 ms │        156.69 / 160.59 ±3.59 / 166.06 ms │     no change │
│ QQuery 20 │           13.96 / 14.39 ±0.36 / 14.87 ms │           14.46 / 14.87 ±0.37 / 15.47 ms │     no change │
│ QQuery 21 │           19.27 / 19.51 ±0.30 / 20.07 ms │           20.03 / 20.88 ±0.61 / 21.93 ms │  1.07x slower │
│ QQuery 22 │        496.57 / 506.49 ±8.60 / 518.62 ms │        504.81 / 508.32 ±2.94 / 511.84 ms │     no change │
│ QQuery 23 │       891.54 / 935.91 ±25.85 / 957.70 ms │       888.81 / 947.14 ±30.87 / 973.20 ms │     no change │
│ QQuery 24 │        416.40 / 421.89 ±3.55 / 425.24 ms │        413.58 / 421.72 ±5.72 / 429.58 ms │     no change │
│ QQuery 25 │        358.85 / 362.20 ±2.76 / 365.54 ms │        353.99 / 359.51 ±2.94 / 362.79 ms │     no change │
│ QQuery 26 │           82.72 / 84.04 ±0.97 / 85.10 ms │           81.62 / 84.06 ±1.54 / 86.33 ms │     no change │
│ QQuery 27 │        346.14 / 352.42 ±3.35 / 356.17 ms │        350.52 / 357.88 ±3.74 / 360.90 ms │     no change │
│ QQuery 28 │        147.42 / 150.04 ±2.07 / 152.84 ms │        149.68 / 152.55 ±2.17 / 156.17 ms │     no change │
│ QQuery 29 │        301.88 / 304.41 ±1.89 / 306.81 ms │        302.27 / 305.34 ±2.95 / 310.62 ms │     no change │
│ QQuery 30 │           45.51 / 47.34 ±2.15 / 51.55 ms │           44.49 / 45.59 ±1.09 / 47.35 ms │     no change │
│ QQuery 31 │        171.87 / 173.09 ±0.99 / 174.71 ms │        170.69 / 174.36 ±2.68 / 177.02 ms │     no change │
│ QQuery 32 │           58.01 / 58.77 ±0.78 / 59.86 ms │           56.59 / 58.44 ±1.32 / 60.32 ms │     no change │
│ QQuery 33 │        140.54 / 143.87 ±2.11 / 147.13 ms │        140.65 / 143.55 ±1.75 / 145.76 ms │     no change │
│ QQuery 34 │        109.06 / 110.57 ±1.04 / 112.02 ms │        106.85 / 107.81 ±0.65 / 108.76 ms │     no change │
│ QQuery 35 │        106.37 / 109.43 ±1.61 / 110.83 ms │        108.85 / 111.31 ±2.46 / 115.57 ms │     no change │
│ QQuery 36 │        220.22 / 224.31 ±3.53 / 229.40 ms │        218.94 / 224.57 ±3.76 / 228.75 ms │     no change │
│ QQuery 37 │        177.19 / 178.66 ±0.96 / 179.62 ms │        177.10 / 180.27 ±2.42 / 183.49 ms │     no change │
│ QQuery 38 │           85.81 / 90.59 ±4.10 / 97.54 ms │           86.55 / 89.67 ±3.05 / 95.00 ms │     no change │
│ QQuery 39 │        131.16 / 135.26 ±2.37 / 137.83 ms │        128.22 / 131.88 ±4.29 / 138.80 ms │     no change │
│ QQuery 40 │        114.27 / 121.24 ±7.38 / 134.60 ms │        116.33 / 120.41 ±5.82 / 131.80 ms │     no change │
│ QQuery 41 │           15.10 / 16.79 ±1.12 / 18.62 ms │           14.58 / 16.53 ±1.33 / 18.57 ms │     no change │
│ QQuery 42 │        108.39 / 111.05 ±1.74 / 113.72 ms │        107.94 / 110.17 ±1.63 / 112.47 ms │     no change │
│ QQuery 43 │           84.11 / 85.27 ±0.85 / 86.48 ms │           84.62 / 85.74 ±1.09 / 87.62 ms │     no change │
│ QQuery 44 │           12.04 / 12.35 ±0.22 / 12.68 ms │           11.93 / 12.41 ±0.30 / 12.83 ms │     no change │
│ QQuery 45 │           55.05 / 55.70 ±0.39 / 56.14 ms │           51.54 / 54.11 ±1.78 / 56.40 ms │     no change │
│ QQuery 46 │        232.62 / 242.39 ±6.64 / 249.61 ms │        231.68 / 238.11 ±5.63 / 246.28 ms │     no change │
│ QQuery 47 │       777.92 / 811.95 ±17.77 / 829.54 ms │       761.68 / 782.92 ±11.50 / 793.05 ms │     no change │
│ QQuery 48 │        290.98 / 301.63 ±6.32 / 310.19 ms │        291.05 / 299.32 ±5.88 / 308.52 ms │     no change │
│ QQuery 49 │        254.24 / 258.29 ±2.23 / 260.91 ms │        259.61 / 262.78 ±1.92 / 264.80 ms │     no change │
│ QQuery 50 │        229.42 / 234.40 ±3.05 / 238.52 ms │        240.80 / 245.60 ±3.71 / 251.76 ms │     no change │
│ QQuery 51 │        184.74 / 187.37 ±2.60 / 191.96 ms │        187.47 / 189.08 ±1.52 / 191.43 ms │     no change │
│ QQuery 52 │        107.23 / 109.21 ±1.65 / 112.23 ms │        109.91 / 112.29 ±1.24 / 113.35 ms │     no change │
│ QQuery 53 │        103.02 / 104.73 ±1.46 / 107.43 ms │        104.48 / 105.78 ±0.76 / 106.85 ms │     no change │
│ QQuery 54 │        151.03 / 152.53 ±1.23 / 154.05 ms │        153.86 / 154.79 ±0.84 / 156.31 ms │     no change │
│ QQuery 55 │        107.02 / 109.39 ±1.72 / 111.96 ms │        108.92 / 110.66 ±1.15 / 112.11 ms │     no change │
│ QQuery 56 │        141.52 / 143.36 ±1.69 / 146.08 ms │        144.49 / 145.55 ±1.29 / 148.07 ms │     no change │
│ QQuery 57 │        174.17 / 181.08 ±3.62 / 183.63 ms │        177.33 / 179.97 ±2.19 / 182.36 ms │     no change │
│ QQuery 58 │        292.99 / 300.71 ±7.02 / 313.81 ms │        299.63 / 310.13 ±8.77 / 325.86 ms │     no change │
│ QQuery 59 │        200.20 / 203.42 ±2.32 / 207.13 ms │        201.16 / 203.01 ±1.58 / 205.72 ms │     no change │
│ QQuery 60 │        142.82 / 147.03 ±3.62 / 153.32 ms │        144.60 / 147.42 ±1.49 / 148.57 ms │     no change │
│ QQuery 61 │        171.23 / 175.81 ±2.49 / 177.69 ms │        172.71 / 175.47 ±2.89 / 179.88 ms │     no change │
│ QQuery 62 │      892.07 / 974.07 ±71.33 / 1075.21 ms │      941.22 / 983.75 ±29.74 / 1034.18 ms │     no change │
│ QQuery 63 │        102.75 / 105.13 ±2.38 / 109.26 ms │        104.32 / 107.21 ±3.35 / 113.71 ms │     no change │
│ QQuery 64 │        717.82 / 722.43 ±4.13 / 729.47 ms │        710.99 / 715.53 ±3.71 / 720.33 ms │     no change │
│ QQuery 65 │        252.45 / 262.21 ±7.70 / 271.16 ms │        252.26 / 261.41 ±6.87 / 270.40 ms │     no change │
│ QQuery 66 │       234.96 / 253.14 ±10.95 / 266.26 ms │       242.21 / 259.47 ±11.47 / 272.66 ms │     no change │
│ QQuery 67 │       314.01 / 331.00 ±11.11 / 345.32 ms │       308.51 / 323.89 ±11.88 / 340.97 ms │     no change │
│ QQuery 68 │        283.83 / 293.12 ±6.93 / 301.81 ms │        292.92 / 297.47 ±3.99 / 304.90 ms │     no change │
│ QQuery 69 │        104.38 / 105.54 ±1.21 / 107.68 ms │        103.88 / 105.84 ±1.40 / 108.17 ms │     no change │
│ QQuery 70 │       337.63 / 352.97 ±14.24 / 379.93 ms │       342.07 / 365.69 ±16.36 / 385.70 ms │     no change │
│ QQuery 71 │        136.09 / 140.36 ±5.72 / 151.39 ms │        135.23 / 137.18 ±1.46 / 139.70 ms │     no change │
│ QQuery 72 │       698.76 / 724.36 ±20.35 / 748.14 ms │       733.27 / 744.82 ±10.96 / 765.03 ms │     no change │
│ QQuery 73 │        103.92 / 106.36 ±2.14 / 110.15 ms │        104.17 / 107.94 ±2.10 / 110.34 ms │     no change │
│ QQuery 74 │       590.11 / 622.69 ±25.09 / 663.97 ms │        667.32 / 673.79 ±5.69 / 683.54 ms │  1.08x slower │
│ QQuery 75 │        275.62 / 279.24 ±2.71 / 283.44 ms │        275.62 / 280.66 ±3.49 / 285.33 ms │     no change │
│ QQuery 76 │        131.34 / 133.81 ±2.09 / 136.73 ms │        133.74 / 136.58 ±1.82 / 138.58 ms │     no change │
│ QQuery 77 │        186.60 / 189.52 ±2.15 / 193.17 ms │        187.92 / 190.56 ±1.86 / 193.41 ms │     no change │
│ QQuery 78 │        355.25 / 360.19 ±4.35 / 365.42 ms │        358.93 / 364.03 ±3.95 / 369.15 ms │     no change │
│ QQuery 79 │        233.03 / 238.21 ±6.58 / 251.18 ms │        250.34 / 253.79 ±2.46 / 257.13 ms │  1.07x slower │
│ QQuery 80 │        328.62 / 333.39 ±3.43 / 337.11 ms │        333.46 / 336.53 ±3.01 / 340.28 ms │     no change │
│ QQuery 81 │           26.84 / 27.61 ±0.71 / 28.69 ms │           28.69 / 29.78 ±0.99 / 31.64 ms │  1.08x slower │
│ QQuery 82 │        194.89 / 197.15 ±1.97 / 200.27 ms │        199.02 / 200.39 ±1.20 / 202.21 ms │     no change │
│ QQuery 83 │           39.62 / 40.15 ±0.69 / 41.51 ms │           40.17 / 41.22 ±0.78 / 42.37 ms │     no change │
│ QQuery 84 │           46.95 / 49.30 ±1.74 / 52.36 ms │           49.21 / 50.78 ±0.92 / 51.73 ms │     no change │
│ QQuery 85 │        146.78 / 149.90 ±2.16 / 152.64 ms │        148.55 / 150.79 ±1.52 / 152.53 ms │     no change │
│ QQuery 86 │           38.35 / 39.87 ±0.96 / 40.98 ms │           38.94 / 40.33 ±1.12 / 42.24 ms │     no change │
│ QQuery 87 │           92.05 / 95.73 ±2.69 / 98.92 ms │           86.29 / 92.08 ±4.17 / 98.50 ms │     no change │
│ QQuery 88 │        102.82 / 103.70 ±0.66 / 104.75 ms │        101.13 / 102.01 ±1.14 / 104.09 ms │     no change │
│ QQuery 89 │        120.70 / 122.08 ±1.15 / 123.56 ms │        117.43 / 120.09 ±2.27 / 123.76 ms │     no change │
│ QQuery 90 │           23.75 / 24.68 ±0.77 / 25.88 ms │           23.50 / 24.23 ±0.90 / 25.96 ms │     no change │
│ QQuery 91 │           62.38 / 66.41 ±2.05 / 68.02 ms │           62.15 / 64.62 ±1.42 / 66.44 ms │     no change │
│ QQuery 92 │           58.34 / 60.19 ±1.08 / 61.54 ms │           58.23 / 58.89 ±0.43 / 59.45 ms │     no change │
│ QQuery 93 │        201.51 / 202.52 ±1.11 / 204.40 ms │        195.04 / 199.35 ±3.97 / 206.79 ms │     no change │
│ QQuery 94 │           61.58 / 62.33 ±0.99 / 64.28 ms │           62.51 / 63.44 ±0.81 / 64.72 ms │     no change │
│ QQuery 95 │        138.02 / 139.63 ±1.41 / 141.50 ms │        134.66 / 136.28 ±1.08 / 137.81 ms │     no change │
│ QQuery 96 │           75.29 / 77.01 ±1.70 / 80.17 ms │           72.69 / 75.20 ±1.62 / 76.80 ms │     no change │
│ QQuery 97 │        134.45 / 136.85 ±1.67 / 139.14 ms │        126.70 / 130.65 ±3.46 / 134.81 ms │     no change │
│ QQuery 98 │        160.02 / 161.50 ±1.29 / 163.78 ms │        156.97 / 159.49 ±2.93 / 165.03 ms │     no change │
│ QQuery 99 │ 10753.17 / 10827.39 ±57.34 / 10927.59 ms │ 10872.21 / 10929.70 ±42.63 / 10981.87 ms │     no change │
└───────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                     ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                     │ 34354.61ms │
│ Total Time (batch-pass-through-spm)   │ 34571.03ms │
│ Average Time (HEAD)                   │   347.02ms │
│ Average Time (batch-pass-through-spm) │   349.20ms │
│ Queries Faster                        │          1 │
│ Queries Slower                        │          4 │
│ Queries with No Change                │         94 │
│ Queries with Failure                  │          0 │
└───────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 172.1s
Peak memory 5.3 GiB
Avg memory 4.5 GiB
CPU user 277.2s
CPU sys 18.5s
Disk read 0 B
Disk write 638.1 MiB

tpcds — branch

Metric Value
Wall time 173.2s
Peak memory 5.2 GiB
Avg memory 4.3 GiB
CPU user 278.0s
CPU sys 18.8s
Disk read 0 B
Disk write 160.0 KiB

File an issue against this benchmark runner

@Dandandan Dandandan closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants