Skip to content

feat: in-memory radix partitioning in grouped hash aggregate (draft)#21856

Closed
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:radix-partitioned-aggregate
Closed

feat: in-memory radix partitioning in grouped hash aggregate (draft)#21856
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:radix-partitioned-aggregate

Conversation

@Dandandan
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

Apache DataFusion's grouped hash aggregate today scales beyond a thread's L3 cache by letting the in-memory hash table grow unbounded, then spilling to disk on memory-pool exhaustion. Between "fits in L3" and "memory pool exhausted" there's a wide regime where the hash table thrashes cache (one near-miss per row), with no defense.

This PR adds a cache-efficient fallback inspired by Müller et al., Cache-Efficient Aggregation: Hashing Is Sorting (SIGMOD 2015): when the working set outgrows a thread's share of last-level cache, the operator radix-partitions the in-memory partial-aggregate state into a fixed number of bucketed runs, and after the input is drained re-aggregates each bucket independently with a fresh, cache-resident hash table. Each bucket holds ~K / 32 groups, so it stays small.

The trigger is the working-set size (sized to L3), not memory-pool exhaustion — by the time the pool is full the hash table has been thrashing cache for a while.

What changes are included in this PR?

  • New OutOfMemoryMode::RadixPartition for non-Partial modes with GroupOrdering::None.
  • New RadixPartitionState holding Vec<Vec<RecordBatch>> indexed by 5-bit hash bucket (NUM_RADIX_PARTITIONS = 32).
  • Proactive cache-size trigger in the ReadingInput poll path: after each ingested batch, if group_values.size() + accumulators.size() > threshold, flush the hash table into bucketed runs and continue.
  • Bucket-by-bucket drain phase reuses the existing is_stream_merging machinery (each bucket's runs become a BucketStream that flows back through merge_batch).
  • Fast-path bypass: if no radix flush ever fired during ingestion, fall through to the normal emit path so output ordering and tiny-query latency are unchanged.
  • Two new config options:
    • datafusion.execution.aggregate_radix_partitioned (bool, default true)
    • datafusion.execution.aggregate_radix_partitioned_threshold_bytes (default 32 MiB)

Known limitations (draft)

  • Disk-spill fallback for an oversized single bucket is not implemented. If a single bucket itself exceeds the memory budget during drain, the operator surfaces an error rather than recursively partitioning or falling back to disk. Recursive partitioning (paper's approach, with progressively higher hash bits) is the right fix; this draft chose to defer it. Tests that explicitly assert the disk-spill path now disable the flag.
  • The 32 MiB default threshold is too low for many ClickBench queries — see benchmark numbers below.

Are these changes tested?

Three new unit tests in datafusion-physical-plan (test_radix_partitioned_high_cardinality, _low_cardinality, _single_group) drive a Single-mode aggregate with the cache-size threshold pinned to 64 bytes (so the radix flush fires repeatedly) and assert the output multiset matches the non-radix path on the same input.

The pre-existing spill-specific tests (test_aggregate_with_spill_if_necessary, test_sort_reservation_fails_during_spill, aggregate_source_*_with_spill) explicitly disable the flag in their TaskContext so they continue to exercise the disk-spill code path.

All 89 aggregates:: tests pass.

Are there any user-facing changes?

The two new config keys appear in information_schema.df_settings and docs/source/user-guide/configs.md. No public Rust API changes.

Preliminary ClickBench numbers (single hits.parquet, 3 iterations)

Metric Radix off Radix on (default)
Total time 37.95 s 37.48 s (~1.2% faster)
Faster 6 queries
Slower 16 queries
No change 21 queries

Notable wins:

  • Q19: 1.50x faster (65 → 44 ms)
  • Q32: 1.40x faster (4.29 s → 3.06 s)
  • Q18: 1.16x faster (3.15 s → 2.71 s)

Notable regressions:

  • Q31: 1.33x slower (458 → 610 ms)
  • Q13: 1.29x slower (GROUP BY URL, ~10M distinct)
  • Q8: 1.25x slower
  • Q4–Q9, Q14–Q16: all 1.13–1.25x slower

The regression pattern is consistent with a too-low threshold: queries whose per-thread hash table sits just above 32 MiB get a forced extra round trip through bucket drain even though the data fit fine in L3. Threshold tuning + a reduction-factor gate (only flush if recent batches show poor aggregation) are the obvious next steps before this is ready for merge.

Follow-ups

  • Tune the default threshold (try 128 MiB / 256 MiB; likely needs to be cpu-count-aware).
  • Add a reduction-factor gate analogous to SkipAggregationProbe so we don't flush a hash table that is aggregating well.
  • Implement recursive partitioning with higher-order hash bits for oversized buckets, with disk-spill as the final fallback.
  • Run with --iterations 5+ and on the partitioned dataset for less variance.

🤖 Generated with Claude Code

When the grouped hash aggregate's working set outgrows a thread's share
of last-level cache, flush the in-memory hash table into a fixed number
of bucketed runs (hashed on the grouping columns) and re-aggregate each
bucket independently with a fresh, cache-resident hash table after the
input is drained. This avoids the L3-thrashing regime that grows the
single hash table beyond cache and ultimately spills to disk.

Matches the design from Müller et al., SIGMOD 2015 ("Cache-Efficient
Aggregation: Hashing Is Sorting"): hashing on small inputs that fit in
cache, partitioning to make them small. The trigger is the working-set
size, not memory-pool exhaustion — by the time the pool is full the
hash table has been thrashing cache for a while.

Two new config options:
- aggregate_radix_partitioned (default true)
- aggregate_radix_partitioned_threshold_bytes (default 32 MiB)

Tests added for high-cardinality, low-cardinality, and single-group
inputs, all asserting the radix path matches the non-radix path.

ClickBench preliminary numbers (single hits.parquet, 3 iterations):
overall ~1% faster (37.9s → 37.5s), with notable wins on Q19 (1.5x)
and Q32 (1.4x), but regressions on Q4–Q9, Q13–Q15 from the threshold
firing on hash tables that already fit in cache. The threshold and
the trigger heuristic both need tuning before flipping the default;
this is a draft.

Disk-spill fallback for an oversized single bucket is not yet
implemented — surfaces an error today.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation sqllogictest SQL Logic Tests (.slt) common Related to common crate physical-plan Changes to the physical-plan crate labels Apr 26, 2026
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmarks

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4321873733-1844-s8wv7 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 radix-partitioned-aggregate (6a2a602) to 65f337d (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-c4321873733-1845-dbzpf 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 radix-partitioned-aggregate (6a2a602) to 65f337d (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-c4321873733-1846-f8sjz 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 radix-partitioned-aggregate (6a2a602) to 65f337d (merge-base) diff using: tpch
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)

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 radix-partitioned-aggregate
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃    radix-partitioned-aggregate ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 40.26 / 40.97 ±1.15 / 43.24 ms │ 39.82 / 41.14 ±1.45 / 43.41 ms │ no change │
│ QQuery 2  │ 20.64 / 21.27 ±0.50 / 22.02 ms │ 20.66 / 20.84 ±0.14 / 21.04 ms │ no change │
│ QQuery 3  │ 38.27 / 40.13 ±1.44 / 42.43 ms │ 38.13 / 39.51 ±1.63 / 41.78 ms │ no change │
│ QQuery 4  │ 18.20 / 18.52 ±0.46 / 19.43 ms │ 18.33 / 18.81 ±0.55 / 19.81 ms │ no change │
│ QQuery 5  │ 48.00 / 50.69 ±1.45 / 52.18 ms │ 47.88 / 49.76 ±1.31 / 51.45 ms │ no change │
│ QQuery 6  │ 17.12 / 17.30 ±0.24 / 17.76 ms │ 17.30 / 17.37 ±0.06 / 17.48 ms │ no change │
│ QQuery 7  │ 53.97 / 55.15 ±1.05 / 57.01 ms │ 53.23 / 54.82 ±1.05 / 56.27 ms │ no change │
│ QQuery 8  │ 47.70 / 48.00 ±0.17 / 48.19 ms │ 48.20 / 48.34 ±0.12 / 48.55 ms │ no change │
│ QQuery 9  │ 52.94 / 54.15 ±0.68 / 54.91 ms │ 54.78 / 55.72 ±0.91 / 57.40 ms │ no change │
│ QQuery 10 │ 65.39 / 66.03 ±1.09 / 68.22 ms │ 65.61 / 66.71 ±1.26 / 68.98 ms │ no change │
│ QQuery 11 │ 13.98 / 14.22 ±0.15 / 14.38 ms │ 13.99 / 14.16 ±0.15 / 14.41 ms │ no change │
│ QQuery 12 │ 27.22 / 27.63 ±0.33 / 28.15 ms │ 27.46 / 27.66 ±0.19 / 28.01 ms │ no change │
│ QQuery 13 │ 38.41 / 39.87 ±1.93 / 43.63 ms │ 37.17 / 38.76 ±1.15 / 40.56 ms │ no change │
│ QQuery 14 │ 27.80 / 28.13 ±0.27 / 28.62 ms │ 27.87 / 28.70 ±0.97 / 30.49 ms │ no change │
│ QQuery 15 │ 33.31 / 33.47 ±0.13 / 33.63 ms │ 33.82 / 34.07 ±0.33 / 34.68 ms │ no change │
│ QQuery 16 │ 15.12 / 15.35 ±0.19 / 15.69 ms │ 15.33 / 15.36 ±0.04 / 15.44 ms │ no change │
│ QQuery 17 │ 78.20 / 79.55 ±1.16 / 81.31 ms │ 77.47 / 78.89 ±1.01 / 80.29 ms │ no change │
│ QQuery 18 │ 74.23 / 76.11 ±1.01 / 77.03 ms │ 75.36 / 75.59 ±0.13 / 75.72 ms │ no change │
│ QQuery 19 │ 37.42 / 37.56 ±0.13 / 37.72 ms │ 37.47 / 38.35 ±1.48 / 41.28 ms │ no change │
│ QQuery 20 │ 39.36 / 40.44 ±1.41 / 43.14 ms │ 39.75 / 41.00 ±1.93 / 44.81 ms │ no change │
│ QQuery 21 │ 64.54 / 65.32 ±0.86 / 66.92 ms │ 62.36 / 65.25 ±2.30 / 67.63 ms │ no change │
│ QQuery 22 │ 16.99 / 17.18 ±0.12 / 17.38 ms │ 17.16 / 17.48 ±0.34 / 18.12 ms │ no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                          ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                          │ 887.03ms │
│ Total Time (radix-partitioned-aggregate)   │ 888.29ms │
│ Average Time (HEAD)                        │  40.32ms │
│ Average Time (radix-partitioned-aggregate) │  40.38ms │
│ Queries Faster                             │        0 │
│ Queries Slower                             │        0 │
│ Queries with No Change                     │       22 │
│ Queries with Failure                       │        0 │
└────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 5.4 GiB
Avg memory 4.8 GiB
CPU user 33.6s
CPU sys 2.4s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 5.2 GiB
Avg memory 4.8 GiB
CPU user 33.6s
CPU sys 2.5s
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)

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 radix-partitioned-aggregate
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                     HEAD ┃              radix-partitioned-aggregate ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │              6.95 / 7.46 ±0.84 / 9.13 ms │              6.78 / 7.40 ±0.83 / 9.04 ms │     no change │
│ QQuery 2  │        145.95 / 146.12 ±0.23 / 146.58 ms │        147.11 / 147.55 ±0.25 / 147.84 ms │     no change │
│ QQuery 3  │        112.90 / 114.06 ±1.37 / 116.69 ms │        115.32 / 115.71 ±0.41 / 116.28 ms │     no change │
│ QQuery 4  │    1291.83 / 1303.81 ±13.35 / 1329.72 ms │     1323.11 / 1334.69 ±8.08 / 1344.65 ms │     no change │
│ QQuery 5  │        171.98 / 173.72 ±1.66 / 176.88 ms │        174.18 / 175.93 ±0.92 / 176.83 ms │     no change │
│ QQuery 6  │       825.95 / 852.94 ±18.84 / 884.26 ms │       810.91 / 858.68 ±24.18 / 876.72 ms │     no change │
│ QQuery 7  │        333.15 / 337.45 ±3.04 / 342.46 ms │        336.71 / 339.38 ±1.70 / 341.31 ms │     no change │
│ QQuery 8  │        112.15 / 113.13 ±0.89 / 114.69 ms │        114.13 / 115.13 ±0.81 / 116.25 ms │     no change │
│ QQuery 9  │        100.21 / 103.74 ±2.54 / 107.06 ms │        101.08 / 103.74 ±2.58 / 107.04 ms │     no change │
│ QQuery 10 │        102.91 / 103.48 ±0.69 / 104.44 ms │        103.96 / 105.51 ±1.79 / 108.87 ms │     no change │
│ QQuery 11 │        903.87 / 915.57 ±6.26 / 922.05 ms │        921.30 / 927.23 ±5.28 / 934.68 ms │     no change │
│ QQuery 12 │           43.07 / 44.09 ±0.73 / 45.07 ms │           43.77 / 44.37 ±0.36 / 44.70 ms │     no change │
│ QQuery 13 │        390.52 / 393.45 ±3.08 / 398.19 ms │        391.21 / 392.82 ±1.13 / 394.40 ms │     no change │
│ QQuery 14 │        977.86 / 983.76 ±3.93 / 989.29 ms │        981.30 / 987.97 ±6.42 / 997.73 ms │     no change │
│ QQuery 15 │           15.12 / 15.30 ±0.15 / 15.53 ms │           15.00 / 15.20 ±0.13 / 15.40 ms │     no change │
│ QQuery 16 │             7.41 / 9.80 ±4.43 / 18.65 ms │              7.41 / 7.53 ±0.22 / 7.96 ms │ +1.30x faster │
│ QQuery 17 │        223.33 / 224.65 ±1.26 / 226.54 ms │        223.84 / 224.86 ±0.67 / 225.85 ms │     no change │
│ QQuery 18 │        127.40 / 128.31 ±0.58 / 129.15 ms │        126.41 / 126.83 ±0.34 / 127.25 ms │     no change │
│ QQuery 19 │        153.98 / 155.07 ±0.77 / 156.18 ms │        155.01 / 156.16 ±0.91 / 156.92 ms │     no change │
│ QQuery 20 │           13.24 / 13.61 ±0.25 / 14.02 ms │           13.09 / 13.23 ±0.24 / 13.71 ms │     no change │
│ QQuery 21 │           19.30 / 19.59 ±0.19 / 19.84 ms │           19.70 / 20.17 ±0.72 / 21.60 ms │     no change │
│ QQuery 22 │        485.33 / 489.85 ±2.95 / 493.74 ms │        479.82 / 482.40 ±2.53 / 486.60 ms │     no change │
│ QQuery 23 │        826.16 / 833.39 ±4.87 / 839.86 ms │       824.00 / 837.36 ±10.64 / 850.32 ms │     no change │
│ QQuery 24 │        374.06 / 378.76 ±5.01 / 387.17 ms │        376.39 / 377.37 ±0.97 / 379.06 ms │     no change │
│ QQuery 25 │        333.43 / 336.33 ±2.30 / 339.00 ms │        333.31 / 336.75 ±1.90 / 338.96 ms │     no change │
│ QQuery 26 │           78.25 / 79.93 ±1.26 / 82.12 ms │           77.29 / 78.00 ±0.43 / 78.60 ms │     no change │
│ QQuery 27 │              6.96 / 7.13 ±0.21 / 7.55 ms │              6.89 / 7.03 ±0.17 / 7.36 ms │     no change │
│ QQuery 28 │        147.62 / 150.31 ±2.71 / 155.11 ms │        149.02 / 150.52 ±2.19 / 154.87 ms │     no change │
│ QQuery 29 │        272.38 / 275.32 ±2.27 / 278.54 ms │        272.93 / 275.27 ±2.13 / 279.26 ms │     no change │
│ QQuery 30 │           41.76 / 42.46 ±0.62 / 43.39 ms │           41.21 / 41.73 ±0.49 / 42.56 ms │     no change │
│ QQuery 31 │        165.67 / 168.18 ±3.19 / 174.19 ms │        166.43 / 167.39 ±0.74 / 168.59 ms │     no change │
│ QQuery 32 │           13.62 / 13.98 ±0.22 / 14.30 ms │           13.51 / 13.75 ±0.20 / 14.08 ms │     no change │
│ QQuery 33 │        138.59 / 139.50 ±0.54 / 140.19 ms │        140.43 / 142.31 ±2.22 / 146.60 ms │     no change │
│ QQuery 34 │              6.91 / 7.05 ±0.18 / 7.39 ms │              6.91 / 7.07 ±0.18 / 7.41 ms │     no change │
│ QQuery 35 │        100.78 / 102.03 ±1.27 / 104.45 ms │        101.26 / 103.07 ±1.12 / 104.70 ms │     no change │
│ QQuery 36 │              6.61 / 6.76 ±0.13 / 6.90 ms │              6.73 / 6.90 ±0.12 / 7.11 ms │     no change │
│ QQuery 37 │              8.08 / 8.33 ±0.16 / 8.55 ms │              8.27 / 8.33 ±0.08 / 8.48 ms │     no change │
│ QQuery 38 │           86.70 / 89.75 ±3.57 / 95.92 ms │           86.78 / 89.19 ±1.38 / 91.03 ms │     no change │
│ QQuery 39 │        117.23 / 119.69 ±1.94 / 122.59 ms │        118.03 / 121.32 ±4.29 / 129.77 ms │     no change │
│ QQuery 40 │        103.00 / 105.64 ±2.66 / 109.06 ms │        102.69 / 106.63 ±3.77 / 112.78 ms │     no change │
│ QQuery 41 │           14.18 / 14.38 ±0.18 / 14.71 ms │           14.12 / 14.23 ±0.14 / 14.51 ms │     no change │
│ QQuery 42 │        106.62 / 108.73 ±3.28 / 115.25 ms │        108.66 / 110.14 ±1.84 / 113.70 ms │     no change │
│ QQuery 43 │              5.70 / 5.81 ±0.16 / 6.13 ms │              5.48 / 5.79 ±0.22 / 6.11 ms │     no change │
│ QQuery 44 │           11.57 / 11.75 ±0.12 / 11.88 ms │           11.49 / 12.18 ±0.84 / 13.84 ms │     no change │
│ QQuery 45 │           48.81 / 49.15 ±0.35 / 49.74 ms │           48.74 / 49.12 ±0.34 / 49.62 ms │     no change │
│ QQuery 46 │              8.39 / 8.55 ±0.21 / 8.95 ms │              8.53 / 8.71 ±0.22 / 9.14 ms │     no change │
│ QQuery 47 │        693.52 / 703.19 ±7.77 / 716.31 ms │        701.06 / 711.61 ±6.68 / 720.15 ms │     no change │
│ QQuery 48 │        271.93 / 276.71 ±3.40 / 280.84 ms │        275.88 / 279.11 ±3.37 / 285.55 ms │     no change │
│ QQuery 49 │        247.46 / 250.62 ±2.24 / 253.89 ms │        248.83 / 250.85 ±1.30 / 252.43 ms │     no change │
│ QQuery 50 │        204.94 / 208.33 ±2.77 / 213.29 ms │        202.17 / 209.06 ±4.87 / 216.93 ms │     no change │
│ QQuery 51 │        177.00 / 179.06 ±1.63 / 181.58 ms │        177.46 / 179.69 ±1.79 / 182.57 ms │     no change │
│ QQuery 52 │        106.47 / 106.79 ±0.24 / 107.17 ms │        109.07 / 110.57 ±2.18 / 114.89 ms │     no change │
│ QQuery 53 │        101.34 / 103.70 ±3.70 / 111.07 ms │        103.39 / 103.82 ±0.45 / 104.62 ms │     no change │
│ QQuery 54 │        144.86 / 147.58 ±2.74 / 152.69 ms │        145.97 / 147.61 ±2.43 / 152.44 ms │     no change │
│ QQuery 55 │        106.41 / 107.43 ±0.91 / 108.54 ms │        108.20 / 108.90 ±0.68 / 110.14 ms │     no change │
│ QQuery 56 │        139.23 / 141.99 ±2.45 / 146.06 ms │        139.82 / 141.69 ±1.08 / 143.13 ms │     no change │
│ QQuery 57 │        167.14 / 168.58 ±2.34 / 173.22 ms │        164.50 / 166.19 ±1.72 / 169.41 ms │     no change │
│ QQuery 58 │        311.96 / 312.76 ±0.65 / 313.74 ms │        309.54 / 312.91 ±1.86 / 314.98 ms │     no change │
│ QQuery 59 │        196.05 / 196.51 ±0.53 / 197.25 ms │        194.39 / 196.97 ±1.89 / 199.59 ms │     no change │
│ QQuery 60 │        141.36 / 141.83 ±0.42 / 142.58 ms │        141.58 / 143.77 ±1.42 / 145.37 ms │     no change │
│ QQuery 61 │           13.35 / 13.49 ±0.18 / 13.85 ms │           13.52 / 13.62 ±0.11 / 13.83 ms │     no change │
│ QQuery 62 │        870.05 / 878.82 ±6.70 / 890.21 ms │        864.71 / 876.65 ±9.17 / 892.70 ms │     no change │
│ QQuery 63 │        101.68 / 103.51 ±2.29 / 107.83 ms │        103.44 / 105.28 ±2.50 / 110.20 ms │     no change │
│ QQuery 64 │        666.91 / 671.28 ±3.62 / 677.02 ms │        661.21 / 668.68 ±8.37 / 683.86 ms │     no change │
│ QQuery 65 │        246.90 / 248.37 ±1.74 / 251.25 ms │        250.04 / 251.53 ±1.03 / 252.86 ms │     no change │
│ QQuery 66 │       213.01 / 224.60 ±11.61 / 242.86 ms │        213.55 / 221.21 ±6.90 / 233.11 ms │     no change │
│ QQuery 67 │        296.49 / 300.47 ±5.20 / 310.66 ms │        294.37 / 300.51 ±5.64 / 309.52 ms │     no change │
│ QQuery 68 │              8.61 / 8.82 ±0.20 / 9.17 ms │              8.64 / 8.87 ±0.31 / 9.48 ms │     no change │
│ QQuery 69 │         98.33 / 101.95 ±4.06 / 108.10 ms │         98.40 / 100.22 ±1.51 / 103.00 ms │     no change │
│ QQuery 70 │        315.56 / 321.39 ±6.56 / 333.25 ms │        314.88 / 319.91 ±3.49 / 325.75 ms │     no change │
│ QQuery 71 │        132.53 / 134.69 ±2.97 / 140.48 ms │        134.46 / 137.52 ±2.50 / 141.12 ms │     no change │
│ QQuery 72 │        595.10 / 600.44 ±3.96 / 605.95 ms │        593.22 / 598.07 ±3.49 / 602.50 ms │     no change │
│ QQuery 73 │              6.75 / 6.93 ±0.20 / 7.31 ms │              6.66 / 6.77 ±0.16 / 7.09 ms │     no change │
│ QQuery 74 │        577.88 / 586.33 ±6.99 / 595.18 ms │        568.73 / 581.22 ±6.93 / 587.50 ms │     no change │
│ QQuery 75 │        267.10 / 270.68 ±4.68 / 279.94 ms │        267.05 / 268.78 ±1.25 / 270.65 ms │     no change │
│ QQuery 76 │        129.77 / 131.68 ±2.07 / 135.58 ms │        130.08 / 131.43 ±1.80 / 134.79 ms │     no change │
│ QQuery 77 │        187.11 / 188.76 ±1.48 / 191.49 ms │        188.60 / 189.31 ±0.37 / 189.63 ms │     no change │
│ QQuery 78 │        330.72 / 333.36 ±2.71 / 337.38 ms │        329.06 / 330.34 ±0.88 / 331.11 ms │     no change │
│ QQuery 79 │        230.02 / 232.61 ±1.97 / 235.60 ms │        228.51 / 232.65 ±3.04 / 236.83 ms │     no change │
│ QQuery 80 │        320.51 / 321.08 ±0.49 / 321.87 ms │        319.45 / 321.73 ±2.07 / 324.91 ms │     no change │
│ QQuery 81 │           26.07 / 26.26 ±0.13 / 26.40 ms │           25.86 / 26.38 ±0.39 / 26.93 ms │     no change │
│ QQuery 82 │           39.00 / 39.21 ±0.21 / 39.58 ms │           39.68 / 40.09 ±0.29 / 40.58 ms │     no change │
│ QQuery 83 │           37.22 / 37.41 ±0.24 / 37.88 ms │           37.27 / 37.49 ±0.13 / 37.65 ms │     no change │
│ QQuery 84 │           46.56 / 46.92 ±0.36 / 47.50 ms │           46.19 / 46.55 ±0.24 / 46.88 ms │     no change │
│ QQuery 85 │        141.88 / 143.85 ±2.05 / 147.11 ms │        141.80 / 143.28 ±2.21 / 147.67 ms │     no change │
│ QQuery 86 │           38.00 / 38.09 ±0.05 / 38.16 ms │           37.19 / 37.66 ±0.52 / 38.62 ms │     no change │
│ QQuery 87 │              3.43 / 3.56 ±0.16 / 3.88 ms │              3.44 / 3.55 ±0.18 / 3.92 ms │     no change │
│ QQuery 88 │          98.87 / 99.80 ±0.50 / 100.38 ms │         99.32 / 102.75 ±3.52 / 109.21 ms │     no change │
│ QQuery 89 │        117.00 / 117.63 ±0.53 / 118.37 ms │        116.56 / 117.38 ±0.47 / 118.02 ms │     no change │
│ QQuery 90 │           22.68 / 23.00 ±0.25 / 23.33 ms │           22.19 / 22.56 ±0.29 / 23.07 ms │     no change │
│ QQuery 91 │           59.22 / 59.92 ±0.78 / 61.36 ms │           58.15 / 59.06 ±0.68 / 60.16 ms │     no change │
│ QQuery 92 │           56.64 / 57.89 ±1.18 / 59.93 ms │           57.43 / 57.61 ±0.18 / 57.85 ms │     no change │
│ QQuery 93 │        180.22 / 182.67 ±2.29 / 186.37 ms │        181.57 / 182.68 ±0.65 / 183.45 ms │     no change │
│ QQuery 94 │           61.11 / 61.81 ±0.57 / 62.57 ms │           60.39 / 61.22 ±0.45 / 61.70 ms │     no change │
│ QQuery 95 │        125.98 / 127.40 ±0.90 / 128.58 ms │        126.47 / 127.25 ±0.72 / 128.58 ms │     no change │
│ QQuery 96 │           67.94 / 69.20 ±1.18 / 70.75 ms │           69.03 / 69.45 ±0.48 / 70.25 ms │     no change │
│ QQuery 97 │        116.50 / 117.47 ±0.76 / 118.30 ms │        118.18 / 118.79 ±0.60 / 119.57 ms │     no change │
│ QQuery 98 │        151.00 / 152.47 ±0.95 / 153.67 ms │        151.25 / 152.14 ±0.56 / 152.90 ms │     no change │
│ QQuery 99 │ 10718.44 / 10755.25 ±22.60 / 10782.60 ms │ 10787.48 / 10827.18 ±35.79 / 10872.74 ms │     no change │
└───────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                          ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                          │ 30596.08ms │
│ Total Time (radix-partitioned-aggregate)   │ 30732.74ms │
│ Average Time (HEAD)                        │   309.05ms │
│ Average Time (radix-partitioned-aggregate) │   310.43ms │
│ Queries Faster                             │          1 │
│ Queries Slower                             │          0 │
│ Queries with No Change                     │         98 │
│ Queries with Failure                       │          0 │
└────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 155.0s
Peak memory 6.3 GiB
Avg memory 5.5 GiB
CPU user 256.7s
CPU sys 8.3s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 155.0s
Peak memory 6.2 GiB
Avg memory 5.5 GiB
CPU user 257.5s
CPU sys 8.1s
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)

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 radix-partitioned-aggregate
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃           radix-partitioned-aggregate ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.17 / 4.57 ±6.69 / 17.94 ms │          1.18 / 4.53 ±6.66 / 17.84 ms │     no change │
│ QQuery 1  │        12.30 / 12.49 ±0.15 / 12.71 ms │        12.94 / 13.09 ±0.13 / 13.30 ms │     no change │
│ QQuery 2  │        36.34 / 36.53 ±0.18 / 36.82 ms │        37.94 / 38.23 ±0.22 / 38.58 ms │     no change │
│ QQuery 3  │        31.27 / 32.15 ±0.92 / 33.40 ms │        32.23 / 32.44 ±0.15 / 32.64 ms │     no change │
│ QQuery 4  │     238.66 / 244.20 ±5.18 / 253.07 ms │     280.40 / 285.72 ±3.25 / 290.53 ms │  1.17x slower │
│ QQuery 5  │     281.23 / 282.48 ±1.21 / 284.51 ms │     345.23 / 348.97 ±2.56 / 352.84 ms │  1.24x slower │
│ QQuery 6  │           6.04 / 7.24 ±0.74 / 8.13 ms │           6.24 / 6.96 ±0.44 / 7.59 ms │     no change │
│ QQuery 7  │        13.35 / 13.48 ±0.12 / 13.63 ms │        14.49 / 15.73 ±2.23 / 20.18 ms │  1.17x slower │
│ QQuery 8  │     321.71 / 328.25 ±3.58 / 331.90 ms │     391.79 / 396.92 ±3.57 / 401.12 ms │  1.21x slower │
│ QQuery 9  │     448.80 / 456.09 ±9.45 / 473.82 ms │     526.62 / 531.91 ±4.14 / 536.46 ms │  1.17x slower │
│ QQuery 10 │        73.23 / 74.07 ±0.46 / 74.58 ms │        75.58 / 76.46 ±0.88 / 77.85 ms │     no change │
│ QQuery 11 │        84.63 / 85.22 ±0.63 / 86.41 ms │        87.34 / 88.38 ±0.81 / 89.83 ms │     no change │
│ QQuery 12 │     273.95 / 278.61 ±3.89 / 283.59 ms │     346.74 / 352.05 ±5.40 / 362.44 ms │  1.26x slower │
│ QQuery 13 │     392.90 / 398.50 ±4.53 / 406.40 ms │    606.24 / 619.01 ±16.25 / 650.43 ms │  1.55x slower │
│ QQuery 14 │     283.25 / 287.88 ±3.81 / 294.14 ms │    375.15 / 383.97 ±10.97 / 404.92 ms │  1.33x slower │
│ QQuery 15 │     283.02 / 286.12 ±1.87 / 288.85 ms │    344.72 / 357.30 ±16.51 / 389.35 ms │  1.25x slower │
│ QQuery 16 │     615.24 / 622.84 ±4.75 / 628.97 ms │    834.67 / 855.07 ±11.23 / 863.99 ms │  1.37x slower │
│ QQuery 17 │     615.88 / 622.64 ±4.49 / 629.17 ms │     670.61 / 676.09 ±3.99 / 680.63 ms │  1.09x slower │
│ QQuery 18 │ 1247.33 / 1261.30 ±13.01 / 1279.63 ms │ 1805.10 / 1823.59 ±18.95 / 1853.29 ms │  1.45x slower │
│ QQuery 19 │        28.06 / 31.06 ±5.14 / 41.31 ms │        29.28 / 29.88 ±0.55 / 30.85 ms │     no change │
│ QQuery 20 │     517.57 / 525.45 ±9.37 / 543.61 ms │     519.05 / 528.75 ±7.20 / 541.27 ms │     no change │
│ QQuery 21 │     594.59 / 597.84 ±2.37 / 601.30 ms │     599.50 / 608.12 ±6.86 / 620.40 ms │     no change │
│ QQuery 22 │  1062.10 / 1072.88 ±5.69 / 1077.67 ms │ 1062.73 / 1076.50 ±15.94 / 1106.14 ms │     no change │
│ QQuery 23 │ 3287.82 / 3321.29 ±27.15 / 3368.19 ms │ 3332.69 / 3368.04 ±35.95 / 3436.87 ms │     no change │
│ QQuery 24 │        42.40 / 47.75 ±8.41 / 64.15 ms │        42.06 / 46.36 ±7.86 / 62.08 ms │     no change │
│ QQuery 25 │     112.14 / 113.62 ±1.04 / 115.25 ms │     113.34 / 117.40 ±4.80 / 123.50 ms │     no change │
│ QQuery 26 │        42.02 / 43.05 ±0.78 / 44.31 ms │        42.70 / 46.11 ±3.97 / 52.45 ms │  1.07x slower │
│ QQuery 27 │     671.89 / 674.52 ±1.77 / 677.44 ms │     670.12 / 678.52 ±4.66 / 684.17 ms │     no change │
│ QQuery 28 │ 2984.99 / 3003.20 ±12.03 / 3018.76 ms │  3080.10 / 3088.34 ±7.80 / 3102.87 ms │     no change │
│ QQuery 29 │        41.90 / 45.57 ±4.24 / 52.12 ms │       42.44 / 61.69 ±19.78 / 99.97 ms │  1.35x slower │
│ QQuery 30 │     305.10 / 308.38 ±1.96 / 310.75 ms │     307.87 / 313.27 ±5.47 / 323.29 ms │     no change │
│ QQuery 31 │     310.74 / 315.26 ±6.64 / 328.32 ms │     394.61 / 397.57 ±3.10 / 403.23 ms │  1.26x slower │
│ QQuery 32 │ 1001.74 / 1013.84 ±13.58 / 1040.36 ms │  2002.20 / 2009.65 ±6.22 / 2017.49 ms │  1.98x slower │
│ QQuery 33 │ 1404.86 / 1430.09 ±21.85 / 1461.21 ms │ 1849.98 / 1870.25 ±12.05 / 1884.02 ms │  1.31x slower │
│ QQuery 34 │  1436.46 / 1448.03 ±7.87 / 1456.39 ms │ 1907.01 / 1935.05 ±24.85 / 1979.94 ms │  1.34x slower │
│ QQuery 35 │     286.98 / 292.66 ±4.81 / 299.14 ms │    283.80 / 329.72 ±69.78 / 468.29 ms │  1.13x slower │
│ QQuery 36 │        62.71 / 65.30 ±2.82 / 70.51 ms │        62.67 / 66.15 ±4.05 / 73.77 ms │     no change │
│ QQuery 37 │        35.12 / 39.05 ±2.26 / 41.36 ms │        34.65 / 35.41 ±0.64 / 36.56 ms │ +1.10x faster │
│ QQuery 38 │        39.44 / 42.16 ±2.23 / 46.15 ms │       41.89 / 51.29 ±13.79 / 78.19 ms │  1.22x slower │
│ QQuery 39 │     118.34 / 128.78 ±6.24 / 137.30 ms │     120.85 / 128.88 ±7.37 / 138.65 ms │     no change │
│ QQuery 40 │        13.87 / 14.21 ±0.46 / 15.10 ms │        13.95 / 14.40 ±0.27 / 14.76 ms │     no change │
│ QQuery 41 │        13.36 / 16.38 ±3.91 / 23.20 ms │        13.64 / 14.88 ±2.19 / 19.26 ms │ +1.10x faster │
│ QQuery 42 │        13.37 / 13.59 ±0.25 / 13.93 ms │        13.30 / 16.51 ±5.83 / 28.14 ms │  1.21x slower │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                          ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                          │ 19938.64ms │
│ Total Time (radix-partitioned-aggregate)   │ 23739.14ms │
│ Average Time (HEAD)                        │   463.69ms │
│ Average Time (radix-partitioned-aggregate) │   552.07ms │
│ Queries Faster                             │          2 │
│ Queries Slower                             │         21 │
│ Queries with No Change                     │         20 │
│ Queries with Failure                       │          0 │
└────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 105.0s
Peak memory 29.2 GiB
Avg memory 22.8 GiB
CPU user 1056.6s
CPU sys 63.2s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 120.0s
Peak memory 27.9 GiB
Avg memory 23.0 GiB
CPU user 1256.1s
CPU sys 75.6s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan Dandandan closed this Apr 26, 2026
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-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.

2 participants