Skip to content

WIP: Reuse dictionary value hashes in hash joins - #26825

Draft
Rich-T-kid wants to merge 2 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/hash-join-dictionary-hash-reuse
Draft

Rich-T-kid wants to merge 2 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/hash-join-dictionary-hash-reuse

Conversation

@Rich-T-kid

@Rich-T-kid Rich-T-kid commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

WIP: this is stacked on #26817. Full-suite regression checks are complete; a targeted dictionary-key join benchmark is still needed.

Why

With Parquet RLE-to-dictionary enabled, consecutive batches can share the same dictionary values. HashJoinExec currently hashes those values again for every build and probe batch. This addresses the hash-join part of #26780 and closes #26815. #26816 demonstrates the cost of repeated value hashing in repartitioning, but this PR intentionally uses a narrower join-local design.

What changed

A small cache keeps only the last dictionary values Arc and its hashes for each join key. Pointer equality identifies shared values; a different values array is hashed normally and replaces the entry. Build and probe state each own their cache, so the fixed hash state is implicit in the cache lifetime. Non-dictionary columns and collision checking are unchanged.

The full stacked GitHub diff, including #26817, is 116 additions and 16 deletions.

Results

All hosted comparisons used RLE-to-dictionary on both exact refs (4ede5833 → 8fccf69b).

  • TPC-H: 0 faster, 0 slower; 807.67 ms → 810.21 ms.
  • TPC-DS confirmation: 0 faster, 0 slower; 9709.33 ms → 9664.17 ms.
  • ClickBench does not contain joins. A forward confirmation marked the second side slower on 5 queries; after reversing the refs, the second side (now the base commit) was slower on 7. The classifications follow execution position, not this code path.

These suites are useful regression checks, but they do not measure the target workload: TPC-H/TPC-DS join on numeric surrogate keys and ClickBench has no joins. A low/medium-cardinality dictionary-key join benchmark is still needed to quantify the speedup.

Test coverage

  • all 652 hash-join tests, including dictionary/null cases, in normal and forced-collision modes
  • repository pre-push format, workspace Clippy, and typo checks

@github-actions github-actions Bot added common Related to common crate physical-plan Changes to the physical-plan crate labels Oct 27, 2026
@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/hash-join-dictionary-hash-reuse branch from 0917893 to 8fccf69 Compare October 27, 2026 20:01
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark tpch tpcds clickbench_partitioned

env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

@adriangbot

Copy link
Copy Markdown

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

Benchmarks requested: clickbench_partitioned

Kubernetes message
Job has reached the specified backoff limit

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark clickbench_partitioned

env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

@adriangbot

Copy link
Copy Markdown

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

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

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-c6452252316-3954-g9m62 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃      HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │  40.10 ms │                                   40.00 ms │ no change │
│ QQuery 2  │  18.49 ms │                                   18.48 ms │ no change │
│ QQuery 3  │  27.89 ms │                                   28.18 ms │ no change │
│ QQuery 4  │  17.10 ms │                                   16.96 ms │ no change │
│ QQuery 5  │  34.89 ms │                                   35.15 ms │ no change │
│ QQuery 6  │  13.55 ms │                                   13.46 ms │ no change │
│ QQuery 7  │  41.68 ms │                                   40.78 ms │ no change │
│ QQuery 8  │  41.07 ms │                                   40.82 ms │ no change │
│ QQuery 9  │  49.81 ms │                                   50.60 ms │ no change │
│ QQuery 10 │  58.54 ms │                                   58.70 ms │ no change │
│ QQuery 11 │  13.56 ms │                                   13.53 ms │ no change │
│ QQuery 12 │  21.01 ms │                                   21.04 ms │ no change │
│ QQuery 13 │  46.06 ms │                                   45.80 ms │ no change │
│ QQuery 14 │  23.72 ms │                                   23.83 ms │ no change │
│ QQuery 15 │  30.59 ms │                                   31.02 ms │ no change │
│ QQuery 16 │  13.52 ms │                                   13.33 ms │ no change │
│ QQuery 17 │  73.63 ms │                                   73.72 ms │ no change │
│ QQuery 18 │ 111.08 ms │                                  113.25 ms │ no change │
│ QQuery 19 │  29.65 ms │                                   29.68 ms │ no change │
│ QQuery 20 │  33.27 ms │                                   33.09 ms │ no change │
│ QQuery 21 │  52.90 ms │                                   52.73 ms │ no change │
│ QQuery 22 │  15.55 ms │                                   16.06 ms │ no change │
└───────────┴───────────┴────────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 807.67ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 810.21ms │
│ Average Time (HEAD)                                       │  36.71ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  36.83ms │
│ Queries Faster                                            │        0 │
│ Queries Slower                                            │        0 │
│ Queries with No Change                                    │       22 │
│ Queries with Failure                                      │        0 │
└───────────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                              HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │    40.10 / 41.31 ±1.18 / 42.77 ms │             40.00 / 41.11 ±1.09 / 42.94 ms │    no change │
│ QQuery 2  │    18.49 / 18.75 ±0.33 / 19.40 ms │             18.48 / 19.04 ±0.70 / 20.43 ms │    no change │
│ QQuery 3  │    27.89 / 28.09 ±0.18 / 28.43 ms │             28.18 / 28.46 ±0.36 / 29.16 ms │    no change │
│ QQuery 4  │    17.10 / 17.20 ±0.16 / 17.51 ms │             16.96 / 17.10 ±0.09 / 17.23 ms │    no change │
│ QQuery 5  │    34.89 / 35.20 ±0.32 / 35.81 ms │             35.15 / 35.28 ±0.11 / 35.48 ms │    no change │
│ QQuery 6  │    13.55 / 13.92 ±0.65 / 15.22 ms │             13.46 / 13.64 ±0.12 / 13.83 ms │    no change │
│ QQuery 7  │    41.68 / 43.57 ±2.00 / 46.76 ms │             40.78 / 42.62 ±1.52 / 45.19 ms │    no change │
│ QQuery 8  │    41.07 / 43.28 ±1.79 / 45.86 ms │             40.82 / 41.95 ±1.95 / 45.85 ms │    no change │
│ QQuery 9  │    49.81 / 51.47 ±1.01 / 52.45 ms │             50.60 / 51.71 ±0.71 / 52.82 ms │    no change │
│ QQuery 10 │    58.54 / 59.50 ±0.94 / 61.26 ms │             58.70 / 59.37 ±0.77 / 60.82 ms │    no change │
│ QQuery 11 │    13.56 / 13.69 ±0.14 / 13.93 ms │             13.53 / 13.74 ±0.21 / 14.14 ms │    no change │
│ QQuery 12 │    21.01 / 21.18 ±0.21 / 21.59 ms │             21.04 / 21.60 ±0.74 / 23.04 ms │    no change │
│ QQuery 13 │    46.06 / 47.47 ±1.29 / 49.27 ms │             45.80 / 47.11 ±1.73 / 50.52 ms │    no change │
│ QQuery 14 │    23.72 / 23.82 ±0.10 / 23.99 ms │             23.83 / 24.00 ±0.20 / 24.37 ms │    no change │
│ QQuery 15 │    30.59 / 30.90 ±0.27 / 31.23 ms │             31.02 / 31.81 ±0.95 / 33.63 ms │    no change │
│ QQuery 16 │    13.52 / 13.63 ±0.18 / 13.99 ms │             13.33 / 13.50 ±0.11 / 13.65 ms │    no change │
│ QQuery 17 │    73.63 / 75.09 ±1.64 / 78.08 ms │             73.72 / 74.30 ±0.30 / 74.50 ms │    no change │
│ QQuery 18 │ 111.08 / 115.08 ±2.91 / 120.07 ms │          113.25 / 117.94 ±4.13 / 125.04 ms │    no change │
│ QQuery 19 │    29.65 / 31.18 ±1.93 / 34.92 ms │             29.68 / 29.92 ±0.33 / 30.56 ms │    no change │
│ QQuery 20 │    33.27 / 33.45 ±0.15 / 33.71 ms │             33.09 / 33.61 ±0.57 / 34.71 ms │    no change │
│ QQuery 21 │    52.90 / 55.03 ±2.64 / 60.14 ms │             52.73 / 58.14 ±6.25 / 70.23 ms │ 1.06x slower │
│ QQuery 22 │    15.55 / 15.82 ±0.29 / 16.30 ms │             16.06 / 16.23 ±0.19 / 16.57 ms │    no change │
└───────────┴───────────────────────────────────┴────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 828.64ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 832.19ms │
│ Average Time (HEAD)                                       │  37.67ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  37.83ms │
│ Queries Faster                                            │        0 │
│ Queries Slower                                            │        1 │
│ Queries with No Change                                    │       21 │
│ Queries with Failure                                      │        0 │
└───────────────────────────────────────────────────────────┴──────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5 | Changed: 8fccf69b78cfcddf53df0025958176ecdca556b5

tpch — tpch_sf1

Query Base Changed Change
Query 1 20.1 MiB 30.1 MiB +49.6%
Query 2 23.1 MiB 23.1 MiB +0.0%
Query 3 11.5 MiB 11.5 MiB +0.0%
Query 4 22.3 MiB 22.3 MiB +0.0%
Query 5 42.8 MiB 42.7 MiB -0.0%
Query 6 832 B 832 B +0.0%
Query 7 107.6 MiB 109.7 MiB +2.0%
Query 8 33.9 MiB 34.0 MiB +0.2%
Query 9 155.6 MiB 155.6 MiB +0.0%
Query 10 61.5 MiB 61.7 MiB +0.3%
Query 11 51.3 MiB 41.3 MiB -19.5%
Query 12 20.1 MiB 10.2 MiB -49.1%
Query 13 52.4 MiB 62.5 MiB +19.3%
Query 14 7.7 MiB 7.7 MiB +0.0%
Query 15 12.9 MiB 12.8 MiB -0.8%
Query 16 33.9 MiB 42.3 MiB +24.9%
Query 17 150.3 MiB 150.3 MiB +0.0%
Query 18 2.7 GiB 2.7 GiB +0.1%
Query 19 228.6 KiB 228.6 KiB +0.0%
Query 20 59.4 MiB 59.3 MiB -0.2%
Query 21 37.7 MiB 37.7 MiB +0.0%
Query 22 32.1 MiB 22.0 MiB -31.7%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpch base (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 2.7 GiB 1.9 GiB −790.7 MiB 0.7×
tpch changed (8fccf69b78cfcddf53df0025958176ecdca556b5) 2.7 GiB 2.0 GiB −727.9 MiB 0.7×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.9 GiB
Avg memory 839.7 MiB
CPU user 21.8s
CPU sys 1.6s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 2.0 GiB
Avg memory 799.3 MiB
CPU user 21.8s
CPU sys 1.6s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.16 ms │                                    5.32 ms │     no change │
│ QQuery 2  │   75.91 ms │                                   77.89 ms │     no change │
│ QQuery 3  │   28.38 ms │                                   28.99 ms │     no change │
│ QQuery 4  │  811.76 ms │                                  820.14 ms │     no change │
│ QQuery 5  │   50.06 ms │                                   49.96 ms │     no change │
│ QQuery 6  │   33.43 ms │                                   34.35 ms │     no change │
│ QQuery 7  │   72.80 ms │                                   73.81 ms │     no change │
│ QQuery 8  │   37.76 ms │                                   37.77 ms │     no change │
│ QQuery 9  │   50.48 ms │                                   51.43 ms │     no change │
│ QQuery 10 │   60.91 ms │                                   62.56 ms │     no change │
│ QQuery 11 │  462.63 ms │                                  465.06 ms │     no change │
│ QQuery 12 │   25.78 ms │                                   25.83 ms │     no change │
│ QQuery 13 │  111.88 ms │                                  112.29 ms │     no change │
│ QQuery 14 │  383.08 ms │                                  386.96 ms │     no change │
│ QQuery 15 │   51.37 ms │                                   51.45 ms │     no change │
│ QQuery 16 │    5.97 ms │                                    6.12 ms │     no change │
│ QQuery 17 │   78.91 ms │                                   80.21 ms │     no change │
│ QQuery 18 │  104.81 ms │                                  105.66 ms │     no change │
│ QQuery 19 │   40.56 ms │                                   41.19 ms │     no change │
│ QQuery 20 │   30.92 ms │                                   31.28 ms │     no change │
│ QQuery 21 │   16.67 ms │                                   16.84 ms │     no change │
│ QQuery 22 │   70.82 ms │                                   70.21 ms │     no change │
│ QQuery 23 │  310.71 ms │                                  307.14 ms │     no change │
│ QQuery 24 │  191.63 ms │                                  191.25 ms │     no change │
│ QQuery 25 │  106.96 ms │                                  107.04 ms │     no change │
│ QQuery 26 │   46.66 ms │                                   47.23 ms │     no change │
│ QQuery 27 │    5.85 ms │                                    6.13 ms │     no change │
│ QQuery 28 │   60.13 ms │                                   56.67 ms │ +1.06x faster │
│ QQuery 29 │   95.42 ms │                                   95.93 ms │     no change │
│ QQuery 30 │   36.44 ms │                                   36.26 ms │     no change │
│ QQuery 31 │  111.33 ms │                                  110.97 ms │     no change │
│ QQuery 32 │   19.53 ms │                                   20.00 ms │     no change │
│ QQuery 33 │   37.13 ms │                                   38.39 ms │     no change │
│ QQuery 34 │    9.62 ms │                                    9.47 ms │     no change │
│ QQuery 35 │   71.12 ms │                                   71.10 ms │     no change │
│ QQuery 36 │    5.79 ms │                                    5.78 ms │     no change │
│ QQuery 37 │    7.08 ms │                                    7.11 ms │     no change │
│ QQuery 38 │   64.02 ms │                                   63.94 ms │     no change │
│ QQuery 39 │   71.38 ms │                                   72.02 ms │     no change │
│ QQuery 40 │   23.14 ms │                                   22.83 ms │     no change │
│ QQuery 41 │   13.82 ms │                                   13.75 ms │     no change │
│ QQuery 42 │   23.86 ms │                                   24.02 ms │     no change │
│ QQuery 43 │    4.98 ms │                                    4.94 ms │     no change │
│ QQuery 44 │    8.42 ms │                                    8.45 ms │     no change │
│ QQuery 45 │   35.23 ms │                                   34.29 ms │     no change │
│ QQuery 46 │   10.97 ms │                                   11.13 ms │     no change │
│ QQuery 47 │  201.45 ms │                                  200.98 ms │     no change │
│ QQuery 48 │   90.96 ms │                                   91.31 ms │     no change │
│ QQuery 49 │   69.09 ms │                                   69.55 ms │     no change │
│ QQuery 50 │   58.15 ms │                                   58.23 ms │     no change │
│ QQuery 51 │   91.72 ms │                                   89.87 ms │     no change │
│ QQuery 52 │   24.12 ms │                                   24.27 ms │     no change │
│ QQuery 53 │   28.92 ms │                                   29.29 ms │     no change │
│ QQuery 54 │   52.44 ms │                                   53.20 ms │     no change │
│ QQuery 55 │   23.97 ms │                                   23.66 ms │     no change │
│ QQuery 56 │   38.90 ms │                                   38.75 ms │     no change │
│ QQuery 57 │  152.48 ms │                                  152.26 ms │     no change │
│ QQuery 58 │  102.40 ms │                                  102.36 ms │     no change │
│ QQuery 59 │  107.50 ms │                                  106.50 ms │     no change │
│ QQuery 60 │   42.69 ms │                                   42.78 ms │     no change │
│ QQuery 61 │    9.57 ms │                                    9.44 ms │     no change │
│ QQuery 62 │   37.83 ms │                                   38.21 ms │     no change │
│ QQuery 63 │   29.15 ms │                                   28.95 ms │     no change │
│ QQuery 64 │  365.97 ms │                                  363.42 ms │     no change │
│ QQuery 65 │  133.90 ms │                                  133.11 ms │     no change │
│ QQuery 66 │   73.36 ms │                                   73.24 ms │     no change │
│ QQuery 67 │  229.63 ms │                                  228.94 ms │     no change │
│ QQuery 68 │   11.77 ms │                                   11.66 ms │     no change │
│ QQuery 69 │   56.78 ms │                                   56.92 ms │     no change │
│ QQuery 70 │   98.23 ms │                                   98.07 ms │     no change │
│ QQuery 71 │   34.86 ms │                                   35.03 ms │     no change │
│ QQuery 72 │ 1630.02 ms │                                 1542.23 ms │ +1.06x faster │
│ QQuery 73 │    9.28 ms │                                    9.18 ms │     no change │
│ QQuery 74 │  247.69 ms │                                  242.30 ms │     no change │
│ QQuery 75 │  139.18 ms │                                  138.77 ms │     no change │
│ QQuery 76 │   33.81 ms │                                   33.80 ms │     no change │
│ QQuery 77 │   59.51 ms │                                   59.09 ms │     no change │
│ QQuery 78 │  157.97 ms │                                  160.81 ms │     no change │
│ QQuery 79 │   66.90 ms │                                   66.47 ms │     no change │
│ QQuery 80 │   94.68 ms │                                   94.76 ms │     no change │
│ QQuery 81 │   28.17 ms │                                   28.39 ms │     no change │
│ QQuery 82 │   16.74 ms │                                   16.73 ms │     no change │
│ QQuery 83 │   31.63 ms │                                   32.42 ms │     no change │
│ QQuery 84 │   30.56 ms │                                   31.17 ms │     no change │
│ QQuery 85 │   98.17 ms │                                   99.90 ms │     no change │
│ QQuery 86 │   24.68 ms │                                   24.69 ms │     no change │
│ QQuery 87 │   65.51 ms │                                   64.21 ms │     no change │
│ QQuery 88 │   58.49 ms │                                   58.17 ms │     no change │
│ QQuery 89 │   36.48 ms │                                   35.73 ms │     no change │
│ QQuery 90 │   16.27 ms │                                   15.69 ms │     no change │
│ QQuery 91 │   40.52 ms │                                   40.54 ms │     no change │
│ QQuery 92 │   28.77 ms │                                   29.18 ms │     no change │
│ QQuery 93 │   49.05 ms │                                   48.51 ms │     no change │
│ QQuery 94 │   37.74 ms │                                   37.76 ms │     no change │
│ QQuery 95 │   79.67 ms │                                   80.15 ms │     no change │
│ QQuery 96 │   23.51 ms │                                   23.66 ms │     no change │
│ QQuery 97 │   50.51 ms │                                   49.98 ms │     no change │
│ QQuery 98 │   38.19 ms │                                   37.66 ms │     no change │
│ QQuery 99 │   56.75 ms │                                   56.25 ms │     no change │
└───────────┴────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 9397.57ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 9319.40ms │
│ Average Time (HEAD)                                       │   94.92ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │   94.14ms │
│ Queries Faster                                            │         2 │
│ Queries Slower                                            │         0 │
│ Queries with No Change                                    │        97 │
│ Queries with Failure                                      │         0 │
└───────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.16 / 5.75 ±1.07 / 7.88 ms │                5.32 / 5.91 ±1.11 / 8.13 ms │     no change │
│ QQuery 2  │        75.91 / 76.92 ±0.52 / 77.36 ms │             77.89 / 78.38 ±0.39 / 79.06 ms │     no change │
│ QQuery 3  │        28.38 / 28.82 ±0.32 / 29.30 ms │             28.99 / 29.29 ±0.19 / 29.51 ms │     no change │
│ QQuery 4  │     811.76 / 826.29 ±9.38 / 840.44 ms │          820.14 / 832.63 ±7.55 / 842.81 ms │     no change │
│ QQuery 5  │        50.06 / 50.48 ±0.31 / 50.78 ms │             49.96 / 50.90 ±0.79 / 52.27 ms │     no change │
│ QQuery 6  │        33.43 / 35.73 ±3.55 / 42.80 ms │             34.35 / 35.02 ±0.92 / 36.83 ms │     no change │
│ QQuery 7  │        72.80 / 73.83 ±0.94 / 75.41 ms │             73.81 / 74.57 ±0.64 / 75.54 ms │     no change │
│ QQuery 8  │        37.76 / 38.03 ±0.27 / 38.53 ms │             37.77 / 38.06 ±0.22 / 38.38 ms │     no change │
│ QQuery 9  │        50.48 / 52.94 ±1.67 / 55.02 ms │             51.43 / 52.95 ±1.29 / 55.34 ms │     no change │
│ QQuery 10 │        60.91 / 63.98 ±3.65 / 71.15 ms │             62.56 / 64.26 ±2.46 / 69.05 ms │     no change │
│ QQuery 11 │     462.63 / 465.68 ±1.97 / 468.38 ms │          465.06 / 466.85 ±1.60 / 468.79 ms │     no change │
│ QQuery 12 │        25.78 / 26.07 ±0.34 / 26.73 ms │             25.83 / 26.03 ±0.12 / 26.14 ms │     no change │
│ QQuery 13 │     111.88 / 112.73 ±0.86 / 114.35 ms │          112.29 / 114.39 ±3.04 / 120.39 ms │     no change │
│ QQuery 14 │     383.08 / 387.68 ±3.03 / 392.51 ms │          386.96 / 389.29 ±1.89 / 391.91 ms │     no change │
│ QQuery 15 │        51.37 / 52.52 ±1.79 / 56.06 ms │             51.45 / 53.12 ±2.59 / 58.23 ms │     no change │
│ QQuery 16 │           5.97 / 6.17 ±0.22 / 6.60 ms │                6.12 / 6.37 ±0.26 / 6.83 ms │     no change │
│ QQuery 17 │        78.91 / 79.49 ±0.54 / 80.32 ms │             80.21 / 80.82 ±0.40 / 81.31 ms │     no change │
│ QQuery 18 │     104.81 / 107.22 ±2.71 / 112.26 ms │          105.66 / 106.66 ±0.86 / 108.18 ms │     no change │
│ QQuery 19 │        40.56 / 41.00 ±0.25 / 41.22 ms │             41.19 / 41.97 ±0.51 / 42.75 ms │     no change │
│ QQuery 20 │        30.92 / 31.40 ±0.50 / 32.37 ms │             31.28 / 31.52 ±0.15 / 31.66 ms │     no change │
│ QQuery 21 │        16.67 / 17.07 ±0.29 / 17.39 ms │             16.84 / 17.03 ±0.13 / 17.21 ms │     no change │
│ QQuery 22 │        70.82 / 71.47 ±0.74 / 72.40 ms │             70.21 / 71.16 ±0.89 / 72.31 ms │     no change │
│ QQuery 23 │     310.71 / 314.30 ±3.85 / 321.70 ms │          307.14 / 310.62 ±2.64 / 314.57 ms │     no change │
│ QQuery 24 │     191.63 / 194.08 ±2.93 / 199.78 ms │          191.25 / 194.81 ±2.51 / 198.47 ms │     no change │
│ QQuery 25 │     106.96 / 108.45 ±2.10 / 112.52 ms │          107.04 / 107.63 ±0.51 / 108.34 ms │     no change │
│ QQuery 26 │        46.66 / 48.16 ±1.76 / 51.60 ms │             47.23 / 48.84 ±2.72 / 54.26 ms │     no change │
│ QQuery 27 │           5.85 / 6.08 ±0.18 / 6.30 ms │                6.13 / 6.30 ±0.14 / 6.55 ms │     no change │
│ QQuery 28 │        60.13 / 61.13 ±1.05 / 63.03 ms │             56.67 / 60.53 ±1.97 / 62.19 ms │     no change │
│ QQuery 29 │       95.42 / 97.79 ±2.36 / 102.14 ms │             95.93 / 97.01 ±0.92 / 98.00 ms │     no change │
│ QQuery 30 │        36.44 / 36.92 ±0.47 / 37.56 ms │             36.26 / 37.16 ±0.75 / 38.10 ms │     no change │
│ QQuery 31 │     111.33 / 112.67 ±1.67 / 115.87 ms │          110.97 / 111.98 ±0.62 / 112.80 ms │     no change │
│ QQuery 32 │        19.53 / 19.87 ±0.22 / 20.21 ms │             20.00 / 20.18 ±0.09 / 20.27 ms │     no change │
│ QQuery 33 │        37.13 / 39.02 ±1.97 / 42.69 ms │             38.39 / 39.77 ±1.78 / 43.23 ms │     no change │
│ QQuery 34 │          9.62 / 9.81 ±0.17 / 10.03 ms │               9.47 / 9.71 ±0.22 / 10.12 ms │     no change │
│ QQuery 35 │        71.12 / 71.21 ±0.06 / 71.28 ms │             71.10 / 71.56 ±0.38 / 72.17 ms │     no change │
│ QQuery 36 │           5.79 / 5.92 ±0.23 / 6.37 ms │                5.78 / 5.94 ±0.28 / 6.50 ms │     no change │
│ QQuery 37 │           7.08 / 7.21 ±0.13 / 7.44 ms │                7.11 / 7.20 ±0.09 / 7.37 ms │     no change │
│ QQuery 38 │        64.02 / 64.60 ±0.76 / 66.07 ms │             63.94 / 64.55 ±0.86 / 66.25 ms │     no change │
│ QQuery 39 │        71.38 / 72.79 ±1.21 / 74.98 ms │             72.02 / 73.71 ±1.92 / 77.37 ms │     no change │
│ QQuery 40 │        23.14 / 23.58 ±0.30 / 23.98 ms │             22.83 / 23.38 ±0.36 / 23.84 ms │     no change │
│ QQuery 41 │        13.82 / 14.04 ±0.14 / 14.24 ms │             13.75 / 14.06 ±0.25 / 14.39 ms │     no change │
│ QQuery 42 │        23.86 / 24.26 ±0.30 / 24.69 ms │             24.02 / 24.37 ±0.37 / 25.01 ms │     no change │
│ QQuery 43 │           4.98 / 5.11 ±0.20 / 5.50 ms │                4.94 / 5.14 ±0.27 / 5.66 ms │     no change │
│ QQuery 44 │           8.42 / 8.59 ±0.13 / 8.82 ms │               8.45 / 9.09 ±1.18 / 11.44 ms │  1.06x slower │
│ QQuery 45 │        35.23 / 36.32 ±1.35 / 38.96 ms │             34.29 / 34.97 ±0.40 / 35.33 ms │     no change │
│ QQuery 46 │        10.97 / 11.33 ±0.23 / 11.69 ms │             11.13 / 11.45 ±0.31 / 11.99 ms │     no change │
│ QQuery 47 │     201.45 / 205.18 ±4.56 / 213.26 ms │          200.98 / 201.95 ±0.54 / 202.61 ms │     no change │
│ QQuery 48 │        90.96 / 92.64 ±2.23 / 97.03 ms │             91.31 / 92.39 ±0.89 / 93.56 ms │     no change │
│ QQuery 49 │        69.09 / 70.67 ±1.48 / 73.33 ms │             69.55 / 70.93 ±1.65 / 73.86 ms │     no change │
│ QQuery 50 │        58.15 / 58.56 ±0.29 / 59.03 ms │             58.23 / 58.39 ±0.21 / 58.80 ms │     no change │
│ QQuery 51 │       91.72 / 95.30 ±5.06 / 105.29 ms │            89.87 / 93.59 ±4.14 / 101.51 ms │     no change │
│ QQuery 52 │        24.12 / 24.41 ±0.21 / 24.78 ms │             24.27 / 24.32 ±0.04 / 24.38 ms │     no change │
│ QQuery 53 │        28.92 / 29.32 ±0.27 / 29.74 ms │             29.29 / 29.99 ±1.04 / 32.06 ms │     no change │
│ QQuery 54 │        52.44 / 53.04 ±0.48 / 53.79 ms │             53.20 / 53.58 ±0.30 / 54.00 ms │     no change │
│ QQuery 55 │        23.97 / 26.03 ±3.21 / 32.40 ms │             23.66 / 23.97 ±0.19 / 24.16 ms │ +1.09x faster │
│ QQuery 56 │        38.90 / 39.23 ±0.19 / 39.41 ms │             38.75 / 38.86 ±0.08 / 38.99 ms │     no change │
│ QQuery 57 │     152.48 / 153.44 ±0.92 / 154.89 ms │          152.26 / 153.98 ±1.41 / 155.66 ms │     no change │
│ QQuery 58 │     102.40 / 103.44 ±0.88 / 104.93 ms │          102.36 / 103.43 ±0.99 / 105.12 ms │     no change │
│ QQuery 59 │     107.50 / 109.41 ±1.40 / 111.30 ms │          106.50 / 107.92 ±1.60 / 110.92 ms │     no change │
│ QQuery 60 │        42.69 / 43.99 ±0.87 / 45.25 ms │             42.78 / 43.12 ±0.18 / 43.27 ms │     no change │
│ QQuery 61 │          9.57 / 9.70 ±0.20 / 10.08 ms │               9.44 / 9.59 ±0.22 / 10.01 ms │     no change │
│ QQuery 62 │        37.83 / 38.70 ±0.58 / 39.64 ms │             38.21 / 38.59 ±0.23 / 38.94 ms │     no change │
│ QQuery 63 │        29.15 / 30.19 ±1.11 / 32.36 ms │             28.95 / 29.75 ±0.55 / 30.65 ms │     no change │
│ QQuery 64 │     365.97 / 368.40 ±2.52 / 372.12 ms │          363.42 / 366.03 ±2.34 / 369.27 ms │     no change │
│ QQuery 65 │     133.90 / 137.32 ±4.29 / 145.76 ms │          133.11 / 135.36 ±1.97 / 139.05 ms │     no change │
│ QQuery 66 │        73.36 / 73.67 ±0.22 / 73.96 ms │             73.24 / 73.79 ±0.40 / 74.29 ms │     no change │
│ QQuery 67 │     229.63 / 233.31 ±2.18 / 235.55 ms │          228.94 / 232.58 ±2.84 / 237.37 ms │     no change │
│ QQuery 68 │        11.77 / 11.86 ±0.08 / 11.99 ms │             11.66 / 11.89 ±0.12 / 11.97 ms │     no change │
│ QQuery 69 │        56.78 / 60.00 ±5.21 / 70.38 ms │             56.92 / 58.74 ±2.89 / 64.50 ms │     no change │
│ QQuery 70 │       98.23 / 99.79 ±1.33 / 101.77 ms │            98.07 / 99.15 ±1.20 / 101.22 ms │     no change │
│ QQuery 71 │        34.86 / 35.22 ±0.23 / 35.42 ms │             35.03 / 35.70 ±0.64 / 36.69 ms │     no change │
│ QQuery 72 │ 1630.02 / 1686.00 ±47.08 / 1741.64 ms │      1542.23 / 1604.84 ±79.33 / 1759.78 ms │     no change │
│ QQuery 73 │          9.28 / 9.61 ±0.24 / 10.00 ms │                9.18 / 9.51 ±0.24 / 9.89 ms │     no change │
│ QQuery 74 │     247.69 / 250.89 ±2.95 / 254.70 ms │          242.30 / 244.51 ±1.73 / 247.13 ms │     no change │
│ QQuery 75 │     139.18 / 142.28 ±3.06 / 147.17 ms │          138.77 / 141.08 ±2.08 / 144.46 ms │     no change │
│ QQuery 76 │        33.81 / 34.62 ±0.49 / 35.29 ms │             33.80 / 34.30 ±0.30 / 34.68 ms │     no change │
│ QQuery 77 │        59.51 / 59.94 ±0.51 / 60.90 ms │             59.09 / 61.40 ±2.82 / 66.61 ms │     no change │
│ QQuery 78 │     157.97 / 162.24 ±3.79 / 167.55 ms │          160.81 / 163.29 ±2.77 / 167.20 ms │     no change │
│ QQuery 79 │        66.90 / 67.45 ±0.33 / 67.78 ms │             66.47 / 69.61 ±4.81 / 79.18 ms │     no change │
│ QQuery 80 │       94.68 / 96.55 ±2.48 / 101.34 ms │            94.76 / 96.61 ±2.13 / 100.31 ms │     no change │
│ QQuery 81 │        28.17 / 28.35 ±0.27 / 28.88 ms │             28.39 / 28.71 ±0.37 / 29.40 ms │     no change │
│ QQuery 82 │        16.74 / 17.08 ±0.53 / 18.13 ms │             16.73 / 16.97 ±0.15 / 17.13 ms │     no change │
│ QQuery 83 │        31.63 / 32.71 ±1.46 / 35.60 ms │             32.42 / 35.49 ±5.50 / 46.47 ms │  1.08x slower │
│ QQuery 84 │        30.56 / 30.89 ±0.31 / 31.30 ms │             31.17 / 31.34 ±0.15 / 31.56 ms │     no change │
│ QQuery 85 │      98.17 / 101.24 ±4.30 / 109.80 ms │           99.90 / 100.78 ±1.33 / 103.40 ms │     no change │
│ QQuery 86 │        24.68 / 25.05 ±0.30 / 25.41 ms │             24.69 / 25.07 ±0.25 / 25.38 ms │     no change │
│ QQuery 87 │        65.51 / 66.32 ±0.61 / 67.37 ms │             64.21 / 65.60 ±1.18 / 67.73 ms │     no change │
│ QQuery 88 │        58.49 / 61.00 ±3.72 / 68.42 ms │             58.17 / 59.37 ±1.50 / 62.30 ms │     no change │
│ QQuery 89 │        36.48 / 36.83 ±0.48 / 37.71 ms │             35.73 / 36.07 ±0.36 / 36.72 ms │     no change │
│ QQuery 90 │        16.27 / 16.51 ±0.19 / 16.85 ms │             15.69 / 15.87 ±0.20 / 16.25 ms │     no change │
│ QQuery 91 │        40.52 / 40.87 ±0.22 / 41.13 ms │             40.54 / 41.43 ±1.09 / 43.53 ms │     no change │
│ QQuery 92 │        28.77 / 29.58 ±0.69 / 30.44 ms │             29.18 / 29.74 ±0.45 / 30.29 ms │     no change │
│ QQuery 93 │        49.05 / 50.15 ±0.79 / 51.06 ms │             48.51 / 49.32 ±0.42 / 49.70 ms │     no change │
│ QQuery 94 │        37.74 / 39.36 ±1.78 / 42.68 ms │             37.76 / 38.67 ±0.90 / 40.16 ms │     no change │
│ QQuery 95 │        79.67 / 80.91 ±0.98 / 82.10 ms │             80.15 / 81.14 ±0.79 / 82.26 ms │     no change │
│ QQuery 96 │        23.51 / 24.61 ±1.45 / 27.45 ms │             23.66 / 23.98 ±0.23 / 24.31 ms │     no change │
│ QQuery 97 │        50.51 / 52.55 ±1.22 / 54.35 ms │             49.98 / 51.02 ±0.96 / 52.43 ms │     no change │
│ QQuery 98 │        38.19 / 39.95 ±2.76 / 45.42 ms │             37.66 / 37.95 ±0.23 / 38.26 ms │ +1.05x faster │
│ QQuery 99 │        56.75 / 57.10 ±0.38 / 57.75 ms │             56.25 / 56.91 ±0.41 / 57.33 ms │     no change │
└───────────┴───────────────────────────────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 9587.96ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 9495.30ms │
│ Average Time (HEAD)                                       │   96.85ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │   95.91ms │
│ Queries Faster                                            │         2 │
│ Queries Slower                                            │         2 │
│ Queries with No Change                                    │        95 │
│ Queries with Failure                                      │         0 │
└───────────────────────────────────────────────────────────┴───────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5 | Changed: 8fccf69b78cfcddf53df0025958176ecdca556b5

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 197.5 KiB 135.4 KiB -31.4%
Query 2 72.7 MiB 92.9 MiB +27.8%
Query 3 1.7 MiB 1.8 MiB +11.2%
Query 4 79.7 MiB 79.7 MiB -0.0%
Query 5 12.5 MiB 13.0 MiB +4.2%
Query 6 4.5 MiB 4.7 MiB +6.1%
Query 7 3.7 MiB 3.7 MiB +0.5%
Query 8 2.1 MiB 2.1 MiB -0.7%
Query 9 32.1 KiB 32.1 KiB +0.0%
Query 10 2.0 MiB 2.0 MiB +0.0%
Query 11 62.0 MiB 62.0 MiB +0.0%
Query 12 114.4 MiB 114.4 MiB -0.0%
Query 13 13.7 MiB 13.0 MiB -4.8%
Query 14 170.9 MiB 170.9 MiB +0.0%
Query 15 4.2 MiB 4.1 MiB -3.1%
Query 16 118.6 KiB 118.6 KiB +0.0%
Query 17 40.6 MiB 40.5 MiB -0.1%
Query 18 21.2 MiB 21.2 MiB +0.0%
Query 19 2.1 MiB 2.1 MiB +1.5%
Query 20 114.6 MiB 114.6 MiB -0.0%
Query 21 2.5 MiB 3.3 MiB +31.9%
Query 22 61.8 MiB 61.8 MiB +0.0%
Query 23 212.0 MiB 213.3 MiB +0.6%
Query 24 38.7 MiB 38.7 MiB +0.0%
Query 25 99.9 MiB 99.9 MiB +0.0%
Query 26 3.5 MiB 3.8 MiB +7.3%
Query 27 1.6 MiB 1.6 MiB +0.0%
Query 28 1.5 MiB 1.3 MiB -9.1%
Query 29 104.7 MiB 104.7 MiB +0.0%
Query 30 3.7 MiB 3.7 MiB -0.1%
Query 31 13.4 MiB 13.4 MiB +0.0%
Query 32 2.7 MiB 2.7 MiB +0.0%
Query 33 4.2 MiB 5.3 MiB +25.9%
Query 34 6.0 MiB 6.0 MiB +0.0%
Query 35 17.5 MiB 16.6 MiB -5.1%
Query 36 10.3 MiB 10.3 MiB +0.0%
Query 37 3.3 MiB 3.3 MiB +0.0%
Query 38 10.8 MiB 10.8 MiB +0.0%
Query 39 33.0 MiB 32.1 MiB -2.7%
Query 40 12.2 MiB 12.2 MiB +0.0%
Query 41 2.1 MiB 2.1 MiB +0.0%
Query 42 1.3 MiB 1.3 MiB -0.1%
Query 43 275.0 KiB 275.0 KiB +0.0%
Query 44 233.2 KiB 233.2 KiB +0.0%
Query 45 4.5 MiB 4.5 MiB +0.0%
Query 46 6.2 MiB 6.2 MiB +0.0%
Query 47 128.5 MiB 128.5 MiB -0.0%
Query 48 11.8 MiB 11.8 MiB +0.0%
Query 49 43.2 MiB 52.0 MiB +20.3%
Query 50 16.9 MiB 16.9 MiB -0.3%
Query 51 177.7 MiB 177.7 MiB +0.0%
Query 52 1.5 MiB 1.5 MiB +0.7%
Query 53 30.4 MiB 30.6 MiB +0.5%
Query 54 2.1 MiB 2.1 MiB +0.0%
Query 55 1.2 MiB 1.5 MiB +21.8%
Query 56 3.1 MiB 2.9 MiB -3.8%
Query 57 128.1 MiB 120.8 MiB -5.7%
Query 58 4.2 MiB 4.4 MiB +5.1%
Query 59 11.7 MiB 11.7 MiB +0.0%
Query 60 7.2 MiB 7.2 MiB +0.0%
Query 61 2.4 KiB 2.5 KiB +3.3%
Query 62 3.7 MiB 3.3 MiB -9.1%
Query 63 30.6 MiB 30.6 MiB +0.0%
Query 64 83.7 MiB 85.6 MiB +2.3%
Query 65 29.7 MiB 29.7 MiB +0.0%
Query 66 14.9 MiB 14.9 MiB +0.0%
Query 67 143.0 MiB 138.1 MiB -3.4%
Query 68 6.2 MiB 6.2 MiB +0.0%
Query 69 3.6 MiB 3.7 MiB +1.9%
Query 70 44.0 MiB 44.0 MiB +0.0%
Query 71 30.6 MiB 40.4 MiB +31.9%
Query 72 97.2 MiB 97.2 MiB +0.0%
Query 73 6.0 MiB 6.0 MiB +0.0%
Query 74 34.6 MiB 34.6 MiB -0.0%
Query 75 20.2 MiB 20.8 MiB +2.9%
Query 76 7.9 MiB 7.9 MiB +0.0%
Query 77 4.1 MiB 4.1 MiB +0.0%
Query 78 110.7 MiB 109.4 MiB -1.1%
Query 79 8.0 MiB 9.3 MiB +16.2%
Query 80 41.6 MiB 41.6 MiB +0.0%
Query 81 4.1 MiB 4.1 MiB +1.3%
Query 82 4.9 MiB 4.9 MiB +0.0%
Query 83 9.7 MiB 9.0 MiB -7.0%
Query 84 11.9 MiB 11.9 MiB +0.0%
Query 85 17.0 MiB 17.0 MiB +0.0%
Query 86 82.1 MiB 82.1 MiB +0.0%
Query 87 12.9 MiB 12.9 MiB +0.0%
Query 88 1.6 MiB 1.5 MiB -7.4%
Query 89 112.2 MiB 112.2 MiB +0.0%
Query 90 348.6 KiB 363.7 KiB +4.3%
Query 91 21.1 MiB 31.0 MiB +46.6%
Query 92 2.7 MiB 2.9 MiB +8.1%
Query 93 15.1 MiB 15.4 MiB +1.7%
Query 94 3.7 MiB 3.7 MiB +0.0%
Query 95 16.8 MiB 18.8 MiB +12.0%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB +0.2%
Query 98 114.7 MiB 114.7 MiB -0.0%
Query 99 1.4 MiB 1.6 MiB +12.7%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpcds base (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 212.0 MiB 1.8 GiB 1.6 GiB 8.8×
tpcds changed (8fccf69b78cfcddf53df0025958176ecdca556b5) 213.3 MiB 2.1 GiB 1.9 GiB 10.0×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 50.0s
Peak memory 1.8 GiB
Avg memory 1.3 GiB
CPU user 194.9s
CPU sys 5.7s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 50.0s
Peak memory 2.1 GiB
Avg memory 1.5 GiB
CPU user 188.4s
CPU sys 5.4s
Peak spill 0 B

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-c6452321744-3963-dj8nr 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

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-c6452300217-3962-9zzs4 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

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-c6452321744-3964-4sv6w 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃      HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │  39.91 ms │                                   39.64 ms │ no change │
│ QQuery 2  │  18.51 ms │                                   18.36 ms │ no change │
│ QQuery 3  │  28.06 ms │                                   28.00 ms │ no change │
│ QQuery 4  │  16.93 ms │                                   16.84 ms │ no change │
│ QQuery 5  │  34.73 ms │                                   35.15 ms │ no change │
│ QQuery 6  │  13.68 ms │                                   13.55 ms │ no change │
│ QQuery 7  │  40.55 ms │                                   41.98 ms │ no change │
│ QQuery 8  │  40.66 ms │                                   40.74 ms │ no change │
│ QQuery 9  │  51.52 ms │                                   50.05 ms │ no change │
│ QQuery 10 │  57.66 ms │                                   58.27 ms │ no change │
│ QQuery 11 │  13.23 ms │                                   13.25 ms │ no change │
│ QQuery 12 │  21.02 ms │                                   20.76 ms │ no change │
│ QQuery 13 │  45.56 ms │                                   45.78 ms │ no change │
│ QQuery 14 │  23.80 ms │                                   24.00 ms │ no change │
│ QQuery 15 │  30.94 ms │                                   31.06 ms │ no change │
│ QQuery 16 │  13.03 ms │                                   13.15 ms │ no change │
│ QQuery 17 │  73.26 ms │                                   72.86 ms │ no change │
│ QQuery 18 │ 113.63 ms │                                  112.96 ms │ no change │
│ QQuery 19 │  29.70 ms │                                   29.49 ms │ no change │
│ QQuery 20 │  33.48 ms │                                   33.24 ms │ no change │
│ QQuery 21 │  52.08 ms │                                   52.01 ms │ no change │
│ QQuery 22 │  15.42 ms │                                   15.53 ms │ no change │
└───────────┴───────────┴────────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 807.35ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 806.67ms │
│ Average Time (HEAD)                                       │  36.70ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  36.67ms │
│ Queries Faster                                            │        0 │
│ Queries Slower                                            │        0 │
│ Queries with No Change                                    │       22 │
│ Queries with Failure                                      │        0 │
└───────────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                              HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    39.91 / 40.93 ±1.15 / 42.72 ms │             39.64 / 41.28 ±1.70 / 44.03 ms │     no change │
│ QQuery 2  │    18.51 / 19.04 ±0.87 / 20.76 ms │             18.36 / 18.63 ±0.37 / 19.36 ms │     no change │
│ QQuery 3  │    28.06 / 28.18 ±0.09 / 28.33 ms │             28.00 / 28.25 ±0.19 / 28.53 ms │     no change │
│ QQuery 4  │    16.93 / 17.44 ±0.69 / 18.80 ms │             16.84 / 17.31 ±0.75 / 18.81 ms │     no change │
│ QQuery 5  │    34.73 / 34.93 ±0.15 / 35.13 ms │             35.15 / 35.49 ±0.57 / 36.63 ms │     no change │
│ QQuery 6  │    13.68 / 14.80 ±1.36 / 17.32 ms │             13.55 / 13.67 ±0.08 / 13.77 ms │ +1.08x faster │
│ QQuery 7  │    40.55 / 42.81 ±1.28 / 44.37 ms │             41.98 / 43.29 ±0.84 / 44.52 ms │     no change │
│ QQuery 8  │    40.66 / 42.65 ±2.06 / 46.14 ms │             40.74 / 41.63 ±0.98 / 43.38 ms │     no change │
│ QQuery 9  │    51.52 / 53.00 ±0.84 / 54.05 ms │             50.05 / 50.96 ±0.62 / 51.99 ms │     no change │
│ QQuery 10 │    57.66 / 58.49 ±0.44 / 58.98 ms │             58.27 / 58.64 ±0.29 / 59.15 ms │     no change │
│ QQuery 11 │    13.23 / 13.83 ±0.53 / 14.56 ms │             13.25 / 13.53 ±0.31 / 14.10 ms │     no change │
│ QQuery 12 │    21.02 / 21.85 ±0.72 / 22.89 ms │             20.76 / 21.10 ±0.20 / 21.31 ms │     no change │
│ QQuery 13 │    45.56 / 46.13 ±0.54 / 47.15 ms │             45.78 / 46.70 ±1.02 / 48.58 ms │     no change │
│ QQuery 14 │    23.80 / 23.99 ±0.13 / 24.11 ms │             24.00 / 24.10 ±0.08 / 24.24 ms │     no change │
│ QQuery 15 │    30.94 / 31.94 ±0.83 / 32.83 ms │             31.06 / 32.43 ±1.25 / 34.36 ms │     no change │
│ QQuery 16 │    13.03 / 13.22 ±0.13 / 13.40 ms │             13.15 / 13.40 ±0.29 / 13.96 ms │     no change │
│ QQuery 17 │    73.26 / 74.44 ±1.02 / 76.24 ms │             72.86 / 74.35 ±1.17 / 76.07 ms │     no change │
│ QQuery 18 │ 113.63 / 118.58 ±2.52 / 120.61 ms │          112.96 / 118.05 ±5.13 / 127.47 ms │     no change │
│ QQuery 19 │    29.70 / 30.05 ±0.36 / 30.70 ms │             29.49 / 29.72 ±0.20 / 30.07 ms │     no change │
│ QQuery 20 │    33.48 / 33.56 ±0.08 / 33.68 ms │             33.24 / 33.35 ±0.11 / 33.49 ms │     no change │
│ QQuery 21 │    52.08 / 54.89 ±3.52 / 61.82 ms │             52.01 / 54.98 ±2.62 / 59.11 ms │     no change │
│ QQuery 22 │    15.42 / 15.64 ±0.26 / 16.09 ms │             15.53 / 16.11 ±0.46 / 16.92 ms │     no change │
└───────────┴───────────────────────────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 830.38ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 826.97ms │
│ Average Time (HEAD)                                       │  37.74ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  37.59ms │
│ Queries Faster                                            │        1 │
│ Queries Slower                                            │        0 │
│ Queries with No Change                                    │       21 │
│ Queries with Failure                                      │        0 │
└───────────────────────────────────────────────────────────┴──────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5 | Changed: 8fccf69b78cfcddf53df0025958176ecdca556b5

tpch — tpch_sf1

Query Base Changed Change
Query 1 40.1 MiB 30.1 MiB -24.9%
Query 2 23.1 MiB 23.1 MiB +0.0%
Query 3 11.5 MiB 11.5 MiB +0.0%
Query 4 22.3 MiB 22.2 MiB -0.6%
Query 5 42.9 MiB 32.7 MiB -23.6%
Query 6 832 B 832 B +0.0%
Query 7 107.6 MiB 107.6 MiB +0.0%
Query 8 34.0 MiB 33.9 MiB -0.3%
Query 9 155.6 MiB 155.6 MiB +0.0%
Query 10 61.2 MiB 61.2 MiB +0.0%
Query 11 51.7 MiB 61.9 MiB +19.8%
Query 12 20.1 MiB 20.1 MiB +0.0%
Query 13 42.4 MiB 52.4 MiB +23.6%
Query 14 7.7 MiB 7.7 MiB +0.0%
Query 15 12.9 MiB 12.8 MiB -0.8%
Query 16 33.3 MiB 33.2 MiB -0.2%
Query 17 150.3 MiB 150.3 MiB +0.0%
Query 18 2.7 GiB 2.7 GiB +0.1%
Query 19 228.6 KiB 228.6 KiB +0.0%
Query 20 59.9 MiB 59.2 MiB -1.1%
Query 21 37.7 MiB 37.7 MiB +0.0%
Query 22 21.9 MiB 31.9 MiB +45.6%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpch base (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 2.7 GiB 2.0 GiB −675.3 MiB 0.8×
tpch changed (8fccf69b78cfcddf53df0025958176ecdca556b5) 2.7 GiB 1.9 GiB −793.7 MiB 0.7×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 2.0 GiB
Avg memory 942.5 MiB
CPU user 21.6s
CPU sys 1.6s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.9 GiB
Avg memory 796.9 MiB
CPU user 21.7s
CPU sys 1.6s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │    5.86 ms │                                    5.80 ms │ no change │
│ QQuery 2  │   78.16 ms │                                   78.25 ms │ no change │
│ QQuery 3  │   28.94 ms │                                   29.08 ms │ no change │
│ QQuery 4  │  896.22 ms │                                  889.81 ms │ no change │
│ QQuery 5  │   51.01 ms │                                   51.17 ms │ no change │
│ QQuery 6  │   34.03 ms │                                   34.01 ms │ no change │
│ QQuery 7  │   73.78 ms │                                   73.63 ms │ no change │
│ QQuery 8  │   38.79 ms │                                   38.69 ms │ no change │
│ QQuery 9  │   53.13 ms │                                   52.04 ms │ no change │
│ QQuery 10 │   62.43 ms │                                   62.00 ms │ no change │
│ QQuery 11 │  523.57 ms │                                  511.33 ms │ no change │
│ QQuery 12 │   26.24 ms │                                   26.35 ms │ no change │
│ QQuery 13 │  113.83 ms │                                  113.68 ms │ no change │
│ QQuery 14 │  388.60 ms │                                  390.60 ms │ no change │
│ QQuery 15 │   52.93 ms │                                   52.75 ms │ no change │
│ QQuery 16 │    6.61 ms │                                    6.67 ms │ no change │
│ QQuery 17 │   80.84 ms │                                   81.93 ms │ no change │
│ QQuery 18 │  108.48 ms │                                  108.16 ms │ no change │
│ QQuery 19 │   41.77 ms │                                   42.10 ms │ no change │
│ QQuery 20 │   31.68 ms │                                   32.24 ms │ no change │
│ QQuery 21 │   17.62 ms │                                   17.72 ms │ no change │
│ QQuery 22 │   74.01 ms │                                   73.42 ms │ no change │
│ QQuery 23 │  316.16 ms │                                  319.46 ms │ no change │
│ QQuery 24 │  200.11 ms │                                  202.68 ms │ no change │
│ QQuery 25 │  108.77 ms │                                  109.93 ms │ no change │
│ QQuery 26 │   47.92 ms │                                   48.32 ms │ no change │
│ QQuery 27 │    6.42 ms │                                    6.53 ms │ no change │
│ QQuery 28 │   56.26 ms │                                   57.17 ms │ no change │
│ QQuery 29 │   96.53 ms │                                   97.31 ms │ no change │
│ QQuery 30 │   37.96 ms │                                   37.84 ms │ no change │
│ QQuery 31 │  113.30 ms │                                  114.59 ms │ no change │
│ QQuery 32 │   20.81 ms │                                   20.86 ms │ no change │
│ QQuery 33 │   38.42 ms │                                   38.44 ms │ no change │
│ QQuery 34 │   10.18 ms │                                   10.04 ms │ no change │
│ QQuery 35 │   74.04 ms │                                   74.62 ms │ no change │
│ QQuery 36 │    6.47 ms │                                    6.28 ms │ no change │
│ QQuery 37 │    7.80 ms │                                    7.90 ms │ no change │
│ QQuery 38 │   67.31 ms │                                   66.55 ms │ no change │
│ QQuery 39 │   74.05 ms │                                   74.76 ms │ no change │
│ QQuery 40 │   23.67 ms │                                   24.32 ms │ no change │
│ QQuery 41 │   14.25 ms │                                   14.72 ms │ no change │
│ QQuery 42 │   24.30 ms │                                   23.90 ms │ no change │
│ QQuery 43 │    5.56 ms │                                    5.50 ms │ no change │
│ QQuery 44 │    8.81 ms │                                    9.04 ms │ no change │
│ QQuery 45 │   35.85 ms │                                   36.50 ms │ no change │
│ QQuery 46 │   11.91 ms │                                   12.07 ms │ no change │
│ QQuery 47 │  211.36 ms │                                  210.93 ms │ no change │
│ QQuery 48 │   91.96 ms │                                   92.02 ms │ no change │
│ QQuery 49 │   71.38 ms │                                   69.87 ms │ no change │
│ QQuery 50 │   59.54 ms │                                   58.77 ms │ no change │
│ QQuery 51 │   91.72 ms │                                   90.41 ms │ no change │
│ QQuery 52 │   24.38 ms │                                   24.48 ms │ no change │
│ QQuery 53 │   29.31 ms │                                   29.43 ms │ no change │
│ QQuery 54 │   53.69 ms │                                   53.52 ms │ no change │
│ QQuery 55 │   23.79 ms │                                   23.74 ms │ no change │
│ QQuery 56 │   38.99 ms │                                   39.12 ms │ no change │
│ QQuery 57 │  154.19 ms │                                  153.91 ms │ no change │
│ QQuery 58 │  105.02 ms │                                  104.65 ms │ no change │
│ QQuery 59 │  107.13 ms │                                  107.68 ms │ no change │
│ QQuery 60 │   43.04 ms │                                   43.49 ms │ no change │
│ QQuery 61 │   10.06 ms │                                   10.09 ms │ no change │
│ QQuery 62 │   38.64 ms │                                   38.95 ms │ no change │
│ QQuery 63 │   29.47 ms │                                   29.24 ms │ no change │
│ QQuery 64 │  370.63 ms │                                  371.51 ms │ no change │
│ QQuery 65 │  134.31 ms │                                  133.52 ms │ no change │
│ QQuery 66 │   75.60 ms │                                   76.07 ms │ no change │
│ QQuery 67 │  241.69 ms │                                  244.44 ms │ no change │
│ QQuery 68 │   12.16 ms │                                   11.91 ms │ no change │
│ QQuery 69 │   57.74 ms │                                   57.39 ms │ no change │
│ QQuery 70 │   99.22 ms │                                   99.11 ms │ no change │
│ QQuery 71 │   35.05 ms │                                   35.07 ms │ no change │
│ QQuery 72 │ 1639.06 ms │                                 1603.15 ms │ no change │
│ QQuery 73 │   10.01 ms │                                    9.89 ms │ no change │
│ QQuery 74 │  264.25 ms │                                  260.20 ms │ no change │
│ QQuery 75 │  141.07 ms │                                  140.08 ms │ no change │
│ QQuery 76 │   34.63 ms │                                   34.40 ms │ no change │
│ QQuery 77 │   60.09 ms │                                   60.23 ms │ no change │
│ QQuery 78 │  165.56 ms │                                  164.20 ms │ no change │
│ QQuery 79 │   67.65 ms │                                   67.41 ms │ no change │
│ QQuery 80 │   96.01 ms │                                   94.81 ms │ no change │
│ QQuery 81 │   29.45 ms │                                   29.25 ms │ no change │
│ QQuery 82 │   17.73 ms │                                   17.63 ms │ no change │
│ QQuery 83 │   33.23 ms │                                   33.11 ms │ no change │
│ QQuery 84 │   31.26 ms │                                   31.53 ms │ no change │
│ QQuery 85 │   99.79 ms │                                  100.06 ms │ no change │
│ QQuery 86 │   25.32 ms │                                   25.45 ms │ no change │
│ QQuery 87 │   66.36 ms │                                   67.11 ms │ no change │
│ QQuery 88 │   59.45 ms │                                   59.53 ms │ no change │
│ QQuery 89 │   35.73 ms │                                   35.93 ms │ no change │
│ QQuery 90 │   16.55 ms │                                   16.55 ms │ no change │
│ QQuery 91 │   41.56 ms │                                   42.03 ms │ no change │
│ QQuery 92 │   29.50 ms │                                   29.77 ms │ no change │
│ QQuery 93 │   49.72 ms │                                   49.55 ms │ no change │
│ QQuery 94 │   39.02 ms │                                   39.09 ms │ no change │
│ QQuery 95 │   80.30 ms │                                   82.39 ms │ no change │
│ QQuery 96 │   24.00 ms │                                   23.83 ms │ no change │
│ QQuery 97 │   50.39 ms │                                   50.73 ms │ no change │
│ QQuery 98 │   38.47 ms │                                   38.64 ms │ no change │
│ QQuery 99 │   57.69 ms │                                   57.51 ms │ no change │
└───────────┴────────────┴────────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 9709.33ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 9664.17ms │
│ Average Time (HEAD)                                       │   98.07ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │   97.62ms │
│ Queries Faster                                            │         0 │
│ Queries Slower                                            │         0 │
│ Queries with No Change                                    │        99 │
│ Queries with Failure                                      │         0 │
└───────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.86 / 6.44 ±0.95 / 8.30 ms │                5.80 / 6.39 ±1.04 / 8.47 ms │    no change │
│ QQuery 2  │        78.16 / 78.47 ±0.19 / 78.74 ms │             78.25 / 78.44 ±0.14 / 78.66 ms │    no change │
│ QQuery 3  │        28.94 / 29.18 ±0.22 / 29.47 ms │             29.08 / 29.39 ±0.24 / 29.74 ms │    no change │
│ QQuery 4  │     896.22 / 906.92 ±5.59 / 911.51 ms │          889.81 / 898.99 ±7.00 / 907.20 ms │    no change │
│ QQuery 5  │        51.01 / 52.12 ±1.07 / 54.13 ms │             51.17 / 51.74 ±0.76 / 53.23 ms │    no change │
│ QQuery 6  │        34.03 / 34.43 ±0.26 / 34.80 ms │             34.01 / 34.38 ±0.30 / 34.80 ms │    no change │
│ QQuery 7  │        73.78 / 74.13 ±0.21 / 74.37 ms │             73.63 / 73.88 ±0.15 / 74.06 ms │    no change │
│ QQuery 8  │        38.79 / 39.17 ±0.38 / 39.82 ms │             38.69 / 38.96 ±0.32 / 39.56 ms │    no change │
│ QQuery 9  │        53.13 / 54.35 ±1.19 / 56.30 ms │             52.04 / 53.93 ±1.61 / 56.57 ms │    no change │
│ QQuery 10 │        62.43 / 62.62 ±0.28 / 63.18 ms │             62.00 / 62.46 ±0.38 / 63.13 ms │    no change │
│ QQuery 11 │     523.57 / 525.62 ±2.15 / 529.62 ms │          511.33 / 515.96 ±2.55 / 517.98 ms │    no change │
│ QQuery 12 │        26.24 / 26.66 ±0.24 / 26.93 ms │             26.35 / 26.64 ±0.18 / 26.84 ms │    no change │
│ QQuery 13 │     113.83 / 115.58 ±2.64 / 120.79 ms │          113.68 / 114.67 ±0.76 / 115.49 ms │    no change │
│ QQuery 14 │     388.60 / 394.33 ±4.03 / 400.31 ms │          390.60 / 392.96 ±1.58 / 394.96 ms │    no change │
│ QQuery 15 │        52.93 / 55.61 ±2.61 / 60.42 ms │             52.75 / 55.08 ±2.27 / 59.42 ms │    no change │
│ QQuery 16 │           6.61 / 6.70 ±0.08 / 6.84 ms │                6.67 / 6.83 ±0.13 / 7.07 ms │    no change │
│ QQuery 17 │        80.84 / 82.41 ±1.57 / 85.32 ms │             81.93 / 83.13 ±1.38 / 85.74 ms │    no change │
│ QQuery 18 │     108.48 / 111.78 ±3.88 / 119.35 ms │          108.16 / 111.92 ±2.36 / 114.18 ms │    no change │
│ QQuery 19 │        41.77 / 42.18 ±0.39 / 42.91 ms │             42.10 / 42.75 ±0.69 / 43.92 ms │    no change │
│ QQuery 20 │        31.68 / 32.16 ±0.35 / 32.60 ms │             32.24 / 32.52 ±0.30 / 33.02 ms │    no change │
│ QQuery 21 │        17.62 / 17.87 ±0.22 / 18.21 ms │             17.72 / 17.93 ±0.17 / 18.18 ms │    no change │
│ QQuery 22 │        74.01 / 75.01 ±1.09 / 77.11 ms │             73.42 / 74.44 ±0.88 / 75.72 ms │    no change │
│ QQuery 23 │     316.16 / 319.77 ±2.12 / 322.17 ms │          319.46 / 322.71 ±3.33 / 327.93 ms │    no change │
│ QQuery 24 │     200.11 / 203.96 ±4.56 / 212.69 ms │          202.68 / 205.55 ±3.18 / 210.92 ms │    no change │
│ QQuery 25 │     108.77 / 110.21 ±1.75 / 113.48 ms │          109.93 / 111.34 ±1.22 / 113.04 ms │    no change │
│ QQuery 26 │        47.92 / 48.19 ±0.18 / 48.40 ms │             48.32 / 48.69 ±0.27 / 49.08 ms │    no change │
│ QQuery 27 │           6.42 / 6.50 ±0.06 / 6.57 ms │                6.53 / 6.69 ±0.14 / 6.86 ms │    no change │
│ QQuery 28 │        56.26 / 61.07 ±3.38 / 66.86 ms │             57.17 / 62.61 ±4.46 / 70.71 ms │    no change │
│ QQuery 29 │       96.53 / 99.79 ±1.99 / 102.33 ms │            97.31 / 99.92 ±1.38 / 101.27 ms │    no change │
│ QQuery 30 │        37.96 / 38.18 ±0.21 / 38.55 ms │             37.84 / 38.19 ±0.26 / 38.59 ms │    no change │
│ QQuery 31 │     113.30 / 115.46 ±1.93 / 118.30 ms │          114.59 / 117.80 ±3.90 / 125.34 ms │    no change │
│ QQuery 32 │        20.81 / 21.25 ±0.29 / 21.53 ms │             20.86 / 21.11 ±0.16 / 21.36 ms │    no change │
│ QQuery 33 │        38.42 / 38.81 ±0.21 / 39.03 ms │             38.44 / 39.02 ±0.54 / 39.99 ms │    no change │
│ QQuery 34 │        10.18 / 10.33 ±0.15 / 10.58 ms │             10.04 / 10.36 ±0.27 / 10.81 ms │    no change │
│ QQuery 35 │        74.04 / 75.64 ±1.46 / 78.39 ms │             74.62 / 76.44 ±2.24 / 80.82 ms │    no change │
│ QQuery 36 │           6.47 / 6.57 ±0.10 / 6.77 ms │                6.28 / 6.46 ±0.12 / 6.60 ms │    no change │
│ QQuery 37 │           7.80 / 8.12 ±0.33 / 8.64 ms │                7.90 / 8.24 ±0.34 / 8.68 ms │    no change │
│ QQuery 38 │        67.31 / 67.90 ±0.78 / 69.38 ms │             66.55 / 67.75 ±0.95 / 69.44 ms │    no change │
│ QQuery 39 │        74.05 / 75.01 ±0.82 / 76.02 ms │             74.76 / 76.16 ±1.00 / 77.84 ms │    no change │
│ QQuery 40 │        23.67 / 24.64 ±0.58 / 25.31 ms │             24.32 / 24.87 ±0.29 / 25.17 ms │    no change │
│ QQuery 41 │        14.25 / 14.38 ±0.15 / 14.62 ms │             14.72 / 15.46 ±1.39 / 18.23 ms │ 1.07x slower │
│ QQuery 42 │        24.30 / 25.45 ±1.51 / 28.40 ms │             23.90 / 24.84 ±0.64 / 25.69 ms │    no change │
│ QQuery 43 │           5.56 / 5.61 ±0.08 / 5.76 ms │                5.50 / 5.57 ±0.07 / 5.69 ms │    no change │
│ QQuery 44 │           8.81 / 9.03 ±0.20 / 9.29 ms │                9.04 / 9.18 ±0.11 / 9.35 ms │    no change │
│ QQuery 45 │        35.85 / 38.51 ±2.07 / 41.95 ms │             36.50 / 38.28 ±1.36 / 40.36 ms │    no change │
│ QQuery 46 │        11.91 / 12.15 ±0.25 / 12.62 ms │             12.07 / 12.25 ±0.15 / 12.46 ms │    no change │
│ QQuery 47 │     211.36 / 214.03 ±2.31 / 217.72 ms │          210.93 / 215.67 ±3.64 / 221.94 ms │    no change │
│ QQuery 48 │        91.96 / 92.43 ±0.28 / 92.70 ms │             92.02 / 93.16 ±1.41 / 95.90 ms │    no change │
│ QQuery 49 │        71.38 / 73.62 ±3.15 / 79.85 ms │             69.87 / 72.33 ±2.35 / 76.55 ms │    no change │
│ QQuery 50 │        59.54 / 59.94 ±0.42 / 60.49 ms │             58.77 / 59.04 ±0.30 / 59.56 ms │    no change │
│ QQuery 51 │        91.72 / 94.25 ±1.32 / 95.23 ms │            90.41 / 94.55 ±3.29 / 100.06 ms │    no change │
│ QQuery 52 │        24.38 / 24.73 ±0.22 / 25.03 ms │             24.48 / 24.70 ±0.16 / 24.86 ms │    no change │
│ QQuery 53 │        29.31 / 30.47 ±2.17 / 34.81 ms │             29.43 / 30.18 ±1.11 / 32.39 ms │    no change │
│ QQuery 54 │        53.69 / 54.04 ±0.34 / 54.49 ms │             53.52 / 54.01 ±0.26 / 54.22 ms │    no change │
│ QQuery 55 │        23.79 / 23.99 ±0.18 / 24.21 ms │             23.74 / 23.89 ±0.14 / 24.14 ms │    no change │
│ QQuery 56 │        38.99 / 39.41 ±0.27 / 39.68 ms │             39.12 / 39.43 ±0.38 / 40.16 ms │    no change │
│ QQuery 57 │     154.19 / 156.45 ±1.77 / 159.03 ms │          153.91 / 156.36 ±1.63 / 158.85 ms │    no change │
│ QQuery 58 │     105.02 / 106.55 ±1.96 / 110.41 ms │          104.65 / 105.73 ±1.01 / 107.42 ms │    no change │
│ QQuery 59 │     107.13 / 107.88 ±0.64 / 108.89 ms │          107.68 / 108.32 ±0.54 / 109.04 ms │    no change │
│ QQuery 60 │        43.04 / 44.78 ±1.89 / 48.40 ms │             43.49 / 44.98 ±1.72 / 48.28 ms │    no change │
│ QQuery 61 │        10.06 / 10.10 ±0.04 / 10.17 ms │             10.09 / 10.17 ±0.08 / 10.31 ms │    no change │
│ QQuery 62 │        38.64 / 39.81 ±2.00 / 43.81 ms │             38.95 / 39.71 ±1.24 / 42.18 ms │    no change │
│ QQuery 63 │        29.47 / 30.14 ±0.48 / 30.75 ms │             29.24 / 30.07 ±0.63 / 30.71 ms │    no change │
│ QQuery 64 │     370.63 / 377.60 ±4.97 / 385.39 ms │          371.51 / 376.61 ±6.22 / 388.74 ms │    no change │
│ QQuery 65 │     134.31 / 137.41 ±2.42 / 141.30 ms │          133.52 / 138.39 ±3.00 / 141.85 ms │    no change │
│ QQuery 66 │        75.60 / 76.05 ±0.35 / 76.47 ms │             76.07 / 77.06 ±1.04 / 78.38 ms │    no change │
│ QQuery 67 │     241.69 / 243.64 ±2.31 / 247.96 ms │          244.44 / 246.14 ±0.87 / 246.90 ms │    no change │
│ QQuery 68 │        12.16 / 12.21 ±0.04 / 12.26 ms │             11.91 / 12.17 ±0.18 / 12.43 ms │    no change │
│ QQuery 69 │        57.74 / 57.99 ±0.28 / 58.52 ms │             57.39 / 57.90 ±0.37 / 58.41 ms │    no change │
│ QQuery 70 │      99.22 / 100.04 ±0.66 / 101.06 ms │           99.11 / 101.30 ±2.15 / 105.39 ms │    no change │
│ QQuery 71 │        35.05 / 35.56 ±0.48 / 36.22 ms │             35.07 / 35.63 ±0.51 / 36.59 ms │    no change │
│ QQuery 72 │ 1639.06 / 1669.50 ±20.70 / 1691.06 ms │      1603.15 / 1659.29 ±38.84 / 1715.96 ms │    no change │
│ QQuery 73 │        10.01 / 10.16 ±0.17 / 10.38 ms │              9.89 / 10.08 ±0.18 / 10.41 ms │    no change │
│ QQuery 74 │     264.25 / 268.51 ±4.74 / 277.02 ms │          260.20 / 265.38 ±4.35 / 273.32 ms │    no change │
│ QQuery 75 │     141.07 / 141.56 ±0.68 / 142.87 ms │          140.08 / 143.65 ±3.63 / 148.25 ms │    no change │
│ QQuery 76 │        34.63 / 34.96 ±0.24 / 35.35 ms │             34.40 / 35.16 ±0.70 / 36.49 ms │    no change │
│ QQuery 77 │        60.09 / 61.52 ±2.42 / 66.36 ms │             60.23 / 61.38 ±1.47 / 64.27 ms │    no change │
│ QQuery 78 │     165.56 / 168.49 ±2.57 / 172.33 ms │          164.20 / 166.47 ±1.88 / 168.99 ms │    no change │
│ QQuery 79 │        67.65 / 67.93 ±0.31 / 68.48 ms │             67.41 / 68.26 ±0.70 / 69.53 ms │    no change │
│ QQuery 80 │       96.01 / 99.06 ±4.63 / 108.25 ms │             94.81 / 96.44 ±1.24 / 98.17 ms │    no change │
│ QQuery 81 │        29.45 / 30.80 ±1.77 / 34.29 ms │             29.25 / 29.48 ±0.26 / 29.98 ms │    no change │
│ QQuery 82 │        17.73 / 18.04 ±0.28 / 18.52 ms │             17.63 / 17.86 ±0.25 / 18.32 ms │    no change │
│ QQuery 83 │        33.23 / 33.52 ±0.35 / 34.20 ms │             33.11 / 33.43 ±0.18 / 33.58 ms │    no change │
│ QQuery 84 │        31.26 / 31.40 ±0.14 / 31.64 ms │             31.53 / 31.68 ±0.12 / 31.88 ms │    no change │
│ QQuery 85 │      99.79 / 102.64 ±3.48 / 109.21 ms │          100.06 / 103.74 ±3.81 / 110.93 ms │    no change │
│ QQuery 86 │        25.32 / 26.09 ±0.94 / 27.90 ms │             25.45 / 26.13 ±1.01 / 28.08 ms │    no change │
│ QQuery 87 │        66.36 / 67.09 ±0.53 / 67.61 ms │             67.11 / 68.00 ±0.77 / 69.25 ms │    no change │
│ QQuery 88 │        59.45 / 61.73 ±2.31 / 66.09 ms │             59.53 / 61.28 ±2.28 / 65.70 ms │    no change │
│ QQuery 89 │        35.73 / 36.35 ±0.48 / 37.17 ms │             35.93 / 36.88 ±0.48 / 37.23 ms │    no change │
│ QQuery 90 │        16.55 / 17.29 ±1.20 / 19.69 ms │             16.55 / 16.62 ±0.06 / 16.71 ms │    no change │
│ QQuery 91 │        41.56 / 41.71 ±0.08 / 41.79 ms │             42.03 / 42.66 ±0.89 / 44.41 ms │    no change │
│ QQuery 92 │        29.50 / 29.78 ±0.25 / 30.20 ms │             29.77 / 30.19 ±0.26 / 30.58 ms │    no change │
│ QQuery 93 │        49.72 / 50.06 ±0.37 / 50.68 ms │             49.55 / 50.61 ±1.14 / 52.63 ms │    no change │
│ QQuery 94 │        39.02 / 39.75 ±1.15 / 42.04 ms │             39.09 / 40.65 ±1.89 / 44.29 ms │    no change │
│ QQuery 95 │        80.30 / 81.60 ±1.41 / 84.32 ms │             82.39 / 83.87 ±0.93 / 85.10 ms │    no change │
│ QQuery 96 │        24.00 / 24.10 ±0.06 / 24.17 ms │             23.83 / 24.12 ±0.22 / 24.42 ms │    no change │
│ QQuery 97 │        50.39 / 52.23 ±1.50 / 54.10 ms │             50.73 / 52.46 ±1.39 / 54.32 ms │    no change │
│ QQuery 98 │        38.47 / 39.95 ±1.56 / 42.39 ms │             38.64 / 41.10 ±3.08 / 47.03 ms │    no change │
│ QQuery 99 │        57.69 / 58.45 ±1.18 / 60.79 ms │             57.51 / 58.11 ±0.69 / 59.36 ms │    no change │
└───────────┴───────────────────────────────────────┴────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 9867.70ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 9855.37ms │
│ Average Time (HEAD)                                       │   99.67ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │   99.55ms │
│ Queries Faster                                            │         0 │
│ Queries Slower                                            │         1 │
│ Queries with No Change                                    │        98 │
│ Queries with Failure                                      │         0 │
└───────────────────────────────────────────────────────────┴───────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5 | Changed: 8fccf69b78cfcddf53df0025958176ecdca556b5

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 135.4 KiB 202.1 KiB +49.3%
Query 2 81.9 MiB 60.8 MiB -25.7%
Query 3 1.6 MiB 1.9 MiB +14.4%
Query 4 79.7 MiB 79.7 MiB -0.0%
Query 5 12.5 MiB 12.5 MiB +0.1%
Query 6 4.4 MiB 4.4 MiB -0.2%
Query 7 3.7 MiB 3.7 MiB -0.1%
Query 8 1.7 MiB 2.1 MiB +22.7%
Query 9 32.1 KiB 32.1 KiB +0.0%
Query 10 2.0 MiB 2.0 MiB +0.0%
Query 11 62.0 MiB 62.0 MiB +0.0%
Query 12 114.4 MiB 114.4 MiB -0.0%
Query 13 13.0 MiB 13.7 MiB +5.1%
Query 14 170.9 MiB 170.9 MiB +0.0%
Query 15 4.2 MiB 4.2 MiB +0.0%
Query 16 118.6 KiB 118.6 KiB +0.0%
Query 17 41.0 MiB 41.5 MiB +1.1%
Query 18 21.2 MiB 21.2 MiB +0.0%
Query 19 1.9 MiB 1.9 MiB -2.9%
Query 20 114.6 MiB 124.4 MiB +8.5%
Query 21 3.6 MiB 4.1 MiB +12.4%
Query 22 61.8 MiB 61.8 MiB +0.0%
Query 23 212.3 MiB 211.9 MiB -0.2%
Query 24 38.7 MiB 38.7 MiB +0.0%
Query 25 99.9 MiB 99.9 MiB +0.0%
Query 26 3.6 MiB 3.8 MiB +4.7%
Query 27 1.6 MiB 1.6 MiB +0.0%
Query 28 1.5 MiB 1.6 MiB +9.1%
Query 29 104.7 MiB 104.7 MiB +0.0%
Query 30 3.8 MiB 3.8 MiB -0.8%
Query 31 13.4 MiB 13.4 MiB -0.0%
Query 32 2.9 MiB 2.7 MiB -7.5%
Query 33 4.7 MiB 5.2 MiB +10.4%
Query 34 6.0 MiB 6.0 MiB +0.0%
Query 35 17.5 MiB 17.5 MiB +0.0%
Query 36 10.3 MiB 10.3 MiB +0.0%
Query 37 3.3 MiB 3.3 MiB +0.0%
Query 38 10.4 MiB 10.4 MiB +0.0%
Query 39 42.6 MiB 73.3 MiB +72.2%
Query 40 12.2 MiB 12.2 MiB +0.0%
Query 41 2.1 MiB 2.1 MiB +0.0%
Query 42 1.2 MiB 1.1 MiB -12.1%
Query 43 275.0 KiB 275.0 KiB +0.0%
Query 44 233.2 KiB 233.2 KiB +0.0%
Query 45 4.5 MiB 4.5 MiB -0.3%
Query 46 6.2 MiB 6.2 MiB +0.0%
Query 47 128.5 MiB 128.5 MiB +0.0%
Query 48 11.8 MiB 11.8 MiB +0.0%
Query 49 32.8 MiB 42.5 MiB +29.8%
Query 50 17.3 MiB 17.7 MiB +2.1%
Query 51 178.0 MiB 177.7 MiB -0.2%
Query 52 1.3 MiB 1.7 MiB +31.7%
Query 53 30.6 MiB 30.6 MiB +0.0%
Query 54 2.1 MiB 2.1 MiB +0.0%
Query 55 1.4 MiB 1.5 MiB +6.0%
Query 56 3.3 MiB 3.0 MiB -7.1%
Query 57 120.8 MiB 120.8 MiB -0.0%
Query 58 4.4 MiB 4.2 MiB -4.8%
Query 59 11.7 MiB 11.7 MiB +0.0%
Query 60 7.2 MiB 7.2 MiB +0.0%
Query 61 2.5 KiB 2.5 KiB +0.0%
Query 62 3.6 MiB 3.3 MiB -8.9%
Query 63 30.4 MiB 30.4 MiB +0.0%
Query 64 73.8 MiB 82.9 MiB +12.3%
Query 65 29.7 MiB 29.7 MiB +0.0%
Query 66 11.9 MiB 14.9 MiB +26.1%
Query 67 138.0 MiB 140.5 MiB +1.8%
Query 68 6.2 MiB 6.2 MiB +0.0%
Query 69 3.9 MiB 3.8 MiB -1.0%
Query 70 44.0 MiB 44.0 MiB +0.0%
Query 71 40.4 MiB 40.4 MiB -0.0%
Query 72 97.2 MiB 97.2 MiB +0.0%
Query 73 6.0 MiB 6.0 MiB +0.0%
Query 74 34.6 MiB 34.6 MiB -0.0%
Query 75 21.3 MiB 20.8 MiB -2.5%
Query 76 7.9 MiB 7.9 MiB +0.0%
Query 77 4.1 MiB 3.9 MiB -3.6%
Query 78 110.7 MiB 108.1 MiB -2.3%
Query 79 8.7 MiB 9.3 MiB +7.5%
Query 80 41.6 MiB 41.7 MiB +0.3%
Query 81 4.1 MiB 4.1 MiB -0.3%
Query 82 4.9 MiB 4.9 MiB +0.0%
Query 83 9.0 MiB 8.9 MiB -1.0%
Query 84 11.9 MiB 11.9 MiB +0.0%
Query 85 17.0 MiB 17.0 MiB +0.0%
Query 86 82.1 MiB 91.9 MiB +12.0%
Query 87 12.9 MiB 12.9 MiB +0.0%
Query 88 1.7 MiB 1.7 MiB +3.1%
Query 89 112.2 MiB 112.2 MiB +0.0%
Query 90 357.5 KiB 351.7 KiB -1.6%
Query 91 31.0 MiB 31.0 MiB +0.1%
Query 92 2.7 MiB 2.5 MiB -8.1%
Query 93 15.1 MiB 15.1 MiB +0.0%
Query 94 3.7 MiB 3.7 MiB +0.0%
Query 95 17.9 MiB 18.8 MiB +5.4%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB +0.2%
Query 98 114.7 MiB 114.7 MiB -0.0%
Query 99 1.6 MiB 1.8 MiB +10.0%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpcds base (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 212.3 MiB 1.9 GiB 1.7 GiB 9.0×
tpcds changed (8fccf69b78cfcddf53df0025958176ecdca556b5) 211.9 MiB 1.9 GiB 1.7 GiB 9.1×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 50.0s
Peak memory 1.9 GiB
Avg memory 1.4 GiB
CPU user 195.7s
CPU sys 5.5s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 50.0s
Peak memory 1.9 GiB
Avg memory 1.4 GiB
CPU user 197.4s
CPU sys 5.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)

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.16 ms │                                    1.14 ms │     no change │
│ QQuery 1  │    11.28 ms │                                   11.02 ms │     no change │
│ QQuery 2  │    37.01 ms │                                   36.07 ms │     no change │
│ QQuery 3  │    32.00 ms │                                   31.40 ms │     no change │
│ QQuery 4  │   241.33 ms │                                  236.24 ms │     no change │
│ QQuery 5  │  1496.15 ms │                                 1436.35 ms │     no change │
│ QQuery 6  │     1.18 ms │                                    1.19 ms │     no change │
│ QQuery 7  │    12.47 ms │                                   12.29 ms │     no change │
│ QQuery 8  │   341.76 ms │                                  337.44 ms │     no change │
│ QQuery 9  │   497.32 ms │                                  480.81 ms │     no change │
│ QQuery 10 │   198.76 ms │                                  198.23 ms │     no change │
│ QQuery 11 │   210.18 ms │                                  209.93 ms │     no change │
│ QQuery 12 │  1500.65 ms │                                 1504.44 ms │     no change │
│ QQuery 13 │  2199.90 ms │                                 2084.38 ms │ +1.06x faster │
│ QQuery 14 │  1667.09 ms │                                 1677.71 ms │     no change │
│ QQuery 15 │   296.28 ms │                                  295.47 ms │     no change │
│ QQuery 16 │  3627.95 ms │                                 3706.83 ms │     no change │
│ QQuery 17 │  3824.78 ms │                                 3713.36 ms │     no change │
│ QQuery 18 │  6844.86 ms │                                 6860.33 ms │     no change │
│ QQuery 19 │    26.93 ms │                                   26.83 ms │     no change │
│ QQuery 20 │  1045.95 ms │                                 1047.88 ms │     no change │
│ QQuery 21 │  1362.87 ms │                                 1345.20 ms │     no change │
│ QQuery 22 │  3214.57 ms │                                 3207.32 ms │     no change │
│ QQuery 23 │  9145.82 ms │                                 9249.15 ms │     no change │
│ QQuery 24 │    94.92 ms │                                   94.86 ms │     no change │
│ QQuery 25 │   350.56 ms │                                  350.88 ms │     no change │
│ QQuery 26 │    96.98 ms │                                   95.97 ms │     no change │
│ QQuery 27 │  1129.26 ms │                                 1138.80 ms │     no change │
│ QQuery 28 │  2753.72 ms │                                 2769.68 ms │     no change │
│ QQuery 29 │    38.92 ms │                                   39.50 ms │     no change │
│ QQuery 30 │   542.45 ms │                                  555.66 ms │     no change │
│ QQuery 31 │   539.94 ms │                                  552.12 ms │     no change │
│ QQuery 32 │   998.00 ms │                                 1084.24 ms │  1.09x slower │
│ QQuery 33 │ 14083.95 ms │                                13485.13 ms │     no change │
│ QQuery 34 │ 14221.07 ms │                                13589.80 ms │     no change │
│ QQuery 35 │   291.92 ms │                                  294.32 ms │     no change │
│ QQuery 36 │   167.59 ms │                                  162.94 ms │     no change │
│ QQuery 37 │    95.12 ms │                                   94.80 ms │     no change │
│ QQuery 38 │    80.87 ms │                                   77.42 ms │     no change │
│ QQuery 39 │   376.74 ms │                                  392.49 ms │     no change │
│ QQuery 40 │    13.94 ms │                                   14.20 ms │     no change │
│ QQuery 41 │    12.92 ms │                                   13.56 ms │     no change │
│ QQuery 42 │    12.66 ms │                                   13.24 ms │     no change │
└───────────┴─────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 73739.79ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 72530.63ms │
│ Average Time (HEAD)                                       │  1714.88ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  1686.76ms │
│ Queries Faster                                            │          1 │
│ Queries Slower                                            │          1 │
│ Queries with No Change                                    │         41 │
│ Queries with Failure                                      │          0 │
└───────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                       HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │               1.16 / 4.26 ±6.11 / 16.48 ms │               1.14 / 4.25 ±6.09 / 16.42 ms │     no change │
│ QQuery 1  │             11.28 / 11.42 ±0.10 / 11.54 ms │             11.02 / 11.14 ±0.09 / 11.26 ms │     no change │
│ QQuery 2  │             37.01 / 37.32 ±0.26 / 37.72 ms │             36.07 / 36.23 ±0.11 / 36.42 ms │     no change │
│ QQuery 3  │             32.00 / 32.53 ±0.63 / 33.72 ms │             31.40 / 31.65 ±0.28 / 32.19 ms │     no change │
│ QQuery 4  │          241.33 / 245.82 ±2.36 / 248.32 ms │          236.24 / 238.98 ±1.67 / 241.47 ms │     no change │
│ QQuery 5  │      1496.15 / 1552.62 ±36.19 / 1609.60 ms │      1436.35 / 1534.43 ±60.86 / 1612.73 ms │     no change │
│ QQuery 6  │                1.18 / 1.34 ±0.23 / 1.80 ms │                1.19 / 1.34 ±0.24 / 1.81 ms │     no change │
│ QQuery 7  │             12.47 / 17.04 ±8.92 / 34.88 ms │             12.29 / 12.35 ±0.07 / 12.49 ms │ +1.38x faster │
│ QQuery 8  │          341.76 / 346.68 ±2.76 / 350.18 ms │          337.44 / 344.57 ±7.47 / 355.81 ms │     no change │
│ QQuery 9  │          497.32 / 505.16 ±6.42 / 515.63 ms │          480.81 / 487.07 ±5.57 / 497.24 ms │     no change │
│ QQuery 10 │          198.76 / 203.42 ±6.77 / 216.68 ms │          198.23 / 200.05 ±1.09 / 201.23 ms │     no change │
│ QQuery 11 │          210.18 / 212.01 ±1.56 / 214.82 ms │          209.93 / 210.36 ±0.44 / 211.11 ms │     no change │
│ QQuery 12 │      1500.65 / 1547.30 ±32.68 / 1587.97 ms │      1504.44 / 1563.97 ±38.60 / 1616.38 ms │     no change │
│ QQuery 13 │     2199.90 / 2779.21 ±312.63 / 3147.57 ms │     2084.38 / 2373.60 ±299.43 / 2871.86 ms │ +1.17x faster │
│ QQuery 14 │      1667.09 / 1715.76 ±36.16 / 1774.64 ms │      1677.71 / 1748.30 ±54.53 / 1807.95 ms │     no change │
│ QQuery 15 │         296.28 / 308.96 ±10.50 / 328.06 ms │         295.47 / 325.14 ±29.05 / 366.08 ms │  1.05x slower │
│ QQuery 16 │     3627.95 / 3818.21 ±141.73 / 3983.21 ms │      3706.83 / 3791.57 ±88.24 / 3949.84 ms │     no change │
│ QQuery 17 │     3824.78 / 3926.69 ±126.77 / 4174.27 ms │      3713.36 / 3844.36 ±83.26 / 3963.31 ms │     no change │
│ QQuery 18 │     6844.86 / 7102.21 ±140.75 / 7263.78 ms │     6860.33 / 7097.58 ±173.23 / 7301.78 ms │     no change │
│ QQuery 19 │            26.93 / 40.91 ±27.11 / 95.13 ms │             26.83 / 27.35 ±0.49 / 28.15 ms │ +1.50x faster │
│ QQuery 20 │      1045.95 / 1061.22 ±14.59 / 1078.81 ms │      1047.88 / 1058.28 ±10.47 / 1077.51 ms │     no change │
│ QQuery 21 │      1362.87 / 1375.82 ±17.91 / 1410.97 ms │       1345.20 / 1358.47 ±8.09 / 1367.26 ms │     no change │
│ QQuery 22 │      3214.57 / 3264.98 ±76.17 / 3412.68 ms │      3207.32 / 3227.02 ±17.72 / 3252.06 ms │     no change │
│ QQuery 23 │     9145.82 / 9304.82 ±118.81 / 9450.93 ms │     9249.15 / 9351.34 ±123.40 / 9586.11 ms │     no change │
│ QQuery 24 │          94.92 / 114.64 ±28.81 / 171.28 ms │          94.86 / 146.62 ±98.88 / 344.32 ms │  1.28x slower │
│ QQuery 25 │         350.56 / 376.64 ±48.20 / 473.00 ms │          350.88 / 354.62 ±4.56 / 363.57 ms │ +1.06x faster │
│ QQuery 26 │            96.98 / 98.89 ±1.84 / 102.06 ms │            95.97 / 98.65 ±2.16 / 101.73 ms │     no change │
│ QQuery 27 │       1129.26 / 1141.11 ±7.63 / 1151.10 ms │      1138.80 / 1149.75 ±12.28 / 1167.90 ms │     no change │
│ QQuery 28 │      2753.72 / 2787.77 ±45.76 / 2876.89 ms │      2769.68 / 2803.36 ±26.94 / 2841.84 ms │     no change │
│ QQuery 29 │             38.92 / 46.37 ±9.97 / 64.05 ms │             39.50 / 44.20 ±5.43 / 53.22 ms │     no change │
│ QQuery 30 │          542.45 / 549.31 ±5.73 / 559.44 ms │          555.66 / 559.10 ±1.85 / 561.22 ms │     no change │
│ QQuery 31 │         539.94 / 563.72 ±16.20 / 584.62 ms │         552.12 / 565.66 ±12.69 / 582.21 ms │     no change │
│ QQuery 32 │       998.00 / 1038.94 ±34.91 / 1081.57 ms │      1084.24 / 1122.15 ±37.47 / 1186.43 ms │  1.08x slower │
│ QQuery 33 │ 14083.95 / 17504.29 ±6016.14 / 29528.18 ms │  13485.13 / 14030.19 ±414.17 / 14579.26 ms │ +1.25x faster │
│ QQuery 34 │  14221.07 / 14558.11 ±186.27 / 14716.12 ms │  13589.80 / 14171.57 ±351.95 / 14625.10 ms │     no change │
│ QQuery 35 │        291.92 / 369.67 ±136.94 / 643.32 ms │         294.32 / 317.91 ±21.11 / 354.10 ms │ +1.16x faster │
│ QQuery 36 │         167.59 / 196.10 ±34.00 / 262.79 ms │         162.94 / 180.11 ±18.85 / 216.29 ms │ +1.09x faster │
│ QQuery 37 │          95.12 / 103.47 ±13.40 / 130.12 ms │           94.80 / 100.47 ±5.56 / 110.94 ms │     no change │
│ QQuery 38 │             80.87 / 84.15 ±2.61 / 88.79 ms │             77.42 / 81.77 ±2.64 / 84.54 ms │     no change │
│ QQuery 39 │          376.74 / 393.11 ±8.64 / 401.93 ms │          392.49 / 408.16 ±9.18 / 419.94 ms │     no change │
│ QQuery 40 │             13.94 / 15.95 ±2.94 / 21.54 ms │             14.20 / 14.72 ±0.61 / 15.87 ms │ +1.08x faster │
│ QQuery 41 │             12.92 / 13.25 ±0.28 / 13.77 ms │             13.56 / 13.76 ±0.15 / 14.03 ms │     no change │
│ QQuery 42 │             12.66 / 12.78 ±0.11 / 12.97 ms │             13.24 / 16.33 ±2.49 / 19.16 ms │  1.28x slower │
└───────────┴────────────────────────────────────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 79384.01ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 75058.53ms │
│ Average Time (HEAD)                                       │  1846.14ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  1745.55ms │
│ Queries Faster                                            │          8 │
│ Queries Slower                                            │          4 │
│ Queries with No Change                                    │         31 │
│ Queries with Failure                                      │          0 │
└───────────────────────────────────────────────────────────┴────────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5 | Changed: 8fccf69b78cfcddf53df0025958176ecdca556b5

clickbench_partitioned

Query Base Changed Change
Query 0 0 B 0 B 0.0%
Query 1 104 B 104 B +0.0%
Query 2 936 B 936 B +0.0%
Query 3 312 B 312 B +0.0%
Query 4 844.6 MiB 828.0 MiB -2.0%
Query 5 1.4 GiB 1.4 GiB -0.2%
Query 6 0 B 0 B 0.0%
Query 7 60.3 MiB 40.4 MiB -33.0%
Query 8 965.2 MiB 933.6 MiB -3.3%
Query 9 593.9 MiB 594.1 MiB +0.0%
Query 10 71.5 MiB 70.9 MiB -0.8%
Query 11 77.4 MiB 75.0 MiB -3.1%
Query 12 1.6 GiB 1.6 GiB +1.5%
Query 13 1.9 GiB 1.8 GiB -2.2%
Query 14 1.9 GiB 1.9 GiB -0.1%
Query 15 1.2 GiB 1.2 GiB -5.7%
Query 16 3.4 GiB 3.3 GiB -3.1%
Query 17 3.3 GiB 3.6 GiB +9.1%
Query 18 7.2 GiB 7.1 GiB -1.0%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.3 MiB 1.3 MiB +0.1%
Query 22 2.3 MiB 2.4 MiB +8.8%
Query 23 12.9 MiB 12.6 MiB -2.2%
Query 24 6.9 MiB 6.3 MiB -8.2%
Query 25 6.9 MiB 6.9 MiB +0.0%
Query 26 7.5 MiB 7.1 MiB -5.5%
Query 27 2.5 MiB 2.5 MiB +0.0%
Query 28 2.0 GiB 2.1 GiB +4.4%
Query 29 624 B 624 B +0.0%
Query 30 690.1 MiB 616.5 MiB -10.7%
Query 31 1.6 GiB 1.5 GiB -5.9%
Query 32 7.2 GiB 7.1 GiB -0.3%
Query 33 12.7 GiB 12.7 GiB +0.2%
Query 34 12.7 GiB 12.3 GiB -3.3%
Query 35 669.5 MiB 674.7 MiB +0.8%
Query 36 474.1 MiB 474.1 MiB +0.0%
Query 37 8.4 MiB 8.1 MiB -2.9%
Query 38 5.3 MiB 5.3 MiB -0.0%
Query 39 450.8 MiB 450.8 MiB +0.0%
Query 40 2.6 MiB 2.6 MiB +0.1%
Query 41 3.1 MiB 3.1 MiB -0.1%
Query 42 1.6 MiB 1.7 MiB +6.2%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
clickbench_partitioned base (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 12.7 GiB 14.2 GiB 1.5 GiB 1.1×
clickbench_partitioned changed (8fccf69b78cfcddf53df0025958176ecdca556b5) 12.7 GiB 13.0 GiB 243.6 MiB 1.0×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 400.1s
Peak memory 14.2 GiB
Avg memory 6.3 GiB
CPU user 3319.2s
CPU sys 240.1s
Peak spill 10.7 GiB

clickbench_partitioned — branch

Metric Value
Wall time 380.1s
Peak memory 13.0 GiB
Avg memory 6.1 GiB
CPU user 3290.3s
CPU sys 209.2s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark clickbench_partitioned

env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

@adriangbot

Copy link
Copy Markdown

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

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 8fccf69 (8fccf69) to 4ede583 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
changed:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.14 ms │                                    1.13 ms │    no change │
│ QQuery 1  │    10.96 ms │                                   11.19 ms │    no change │
│ QQuery 2  │    35.70 ms │                                   35.69 ms │    no change │
│ QQuery 3  │    31.19 ms │                                   31.50 ms │    no change │
│ QQuery 4  │   236.46 ms │                                  236.34 ms │    no change │
│ QQuery 5  │  1427.23 ms │                                 1508.77 ms │ 1.06x slower │
│ QQuery 6  │     1.18 ms │                                    1.20 ms │    no change │
│ QQuery 7  │    11.95 ms │                                   12.42 ms │    no change │
│ QQuery 8  │   328.59 ms │                                  345.67 ms │ 1.05x slower │
│ QQuery 9  │   468.68 ms │                                  502.35 ms │ 1.07x slower │
│ QQuery 10 │   196.33 ms │                                  198.44 ms │    no change │
│ QQuery 11 │   207.73 ms │                                  210.08 ms │    no change │
│ QQuery 12 │  1456.26 ms │                                 1565.70 ms │ 1.08x slower │
│ QQuery 13 │  1989.85 ms │                                 2077.49 ms │    no change │
│ QQuery 14 │  1622.09 ms │                                 1596.16 ms │    no change │
│ QQuery 15 │   293.72 ms │                                  296.73 ms │    no change │
│ QQuery 16 │  3624.85 ms │                                 3654.06 ms │    no change │
│ QQuery 17 │  3603.29 ms │                                 3655.78 ms │    no change │
│ QQuery 18 │  6633.79 ms │                                 6885.85 ms │    no change │
│ QQuery 19 │    26.50 ms │                                   26.98 ms │    no change │
│ QQuery 20 │  1044.81 ms │                                 1042.29 ms │    no change │
│ QQuery 21 │  1351.62 ms │                                 1357.00 ms │    no change │
│ QQuery 22 │  3185.61 ms │                                 3213.75 ms │    no change │
│ QQuery 23 │  9121.92 ms │                                 9283.07 ms │    no change │
│ QQuery 24 │    94.39 ms │                                   93.80 ms │    no change │
│ QQuery 25 │   349.46 ms │                                  349.68 ms │    no change │
│ QQuery 26 │    95.63 ms │                                   95.79 ms │    no change │
│ QQuery 27 │  1133.93 ms │                                 1122.49 ms │    no change │
│ QQuery 28 │  2760.62 ms │                                 2777.86 ms │    no change │
│ QQuery 29 │    38.94 ms │                                   38.62 ms │    no change │
│ QQuery 30 │   543.48 ms │                                  540.19 ms │    no change │
│ QQuery 31 │   538.83 ms │                                  535.52 ms │    no change │
│ QQuery 32 │   980.82 ms │                                 1023.87 ms │    no change │
│ QQuery 33 │ 12961.46 ms │                                13980.48 ms │ 1.08x slower │
│ QQuery 34 │ 13519.82 ms │                                13834.96 ms │    no change │
│ QQuery 35 │   299.37 ms │                                  289.42 ms │    no change │
│ QQuery 36 │   170.48 ms │                                  166.63 ms │    no change │
│ QQuery 37 │    95.47 ms │                                   96.41 ms │    no change │
│ QQuery 38 │    81.53 ms │                                   80.29 ms │    no change │
│ QQuery 39 │   398.05 ms │                                  389.04 ms │    no change │
│ QQuery 40 │    14.36 ms │                                   13.84 ms │    no change │
│ QQuery 41 │    13.70 ms │                                   13.11 ms │    no change │
│ QQuery 42 │    13.47 ms │                                   12.85 ms │    no change │
└───────────┴─────────────┴────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 71015.27ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 73204.50ms │
│ Average Time (HEAD)                                       │  1651.52ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  1702.43ms │
│ Queries Faster                                            │          0 │
│ Queries Slower                                            │          5 │
│ Queries with No Change                                    │         38 │
│ Queries with Failure                                      │          0 │
└───────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │              1.14 / 4.20 ±6.00 / 16.19 ms │               1.13 / 4.33 ±6.22 / 16.78 ms │     no change │
│ QQuery 1  │            10.96 / 11.15 ±0.13 / 11.34 ms │             11.19 / 11.40 ±0.19 / 11.76 ms │     no change │
│ QQuery 2  │            35.70 / 36.23 ±0.49 / 37.12 ms │             35.69 / 36.02 ±0.43 / 36.87 ms │     no change │
│ QQuery 3  │            31.19 / 31.91 ±0.55 / 32.61 ms │             31.50 / 32.01 ±0.46 / 32.79 ms │     no change │
│ QQuery 4  │         236.46 / 239.40 ±1.61 / 240.95 ms │          236.34 / 243.55 ±4.60 / 249.70 ms │     no change │
│ QQuery 5  │     1427.23 / 1471.61 ±33.63 / 1513.15 ms │      1508.77 / 1545.45 ±45.06 / 1629.20 ms │  1.05x slower │
│ QQuery 6  │               1.18 / 1.34 ±0.23 / 1.80 ms │                1.20 / 1.36 ±0.24 / 1.82 ms │     no change │
│ QQuery 7  │            11.95 / 12.05 ±0.08 / 12.15 ms │             12.42 / 12.77 ±0.25 / 13.20 ms │  1.06x slower │
│ QQuery 8  │         328.59 / 335.58 ±7.11 / 346.79 ms │          345.67 / 354.04 ±5.91 / 361.15 ms │  1.05x slower │
│ QQuery 9  │         468.68 / 480.09 ±9.40 / 495.87 ms │          502.35 / 508.50 ±6.55 / 518.32 ms │  1.06x slower │
│ QQuery 10 │         196.33 / 198.01 ±1.01 / 199.07 ms │          198.44 / 204.29 ±8.52 / 221.18 ms │     no change │
│ QQuery 11 │         207.73 / 208.82 ±0.75 / 209.99 ms │          210.08 / 211.49 ±1.07 / 213.23 ms │     no change │
│ QQuery 12 │     1456.26 / 1513.14 ±45.32 / 1577.02 ms │      1565.70 / 1621.38 ±41.87 / 1673.06 ms │  1.07x slower │
│ QQuery 13 │    1989.85 / 2290.91 ±343.02 / 2912.53 ms │     2077.49 / 2359.71 ±320.44 / 2953.07 ms │     no change │
│ QQuery 14 │     1622.09 / 1652.03 ±24.44 / 1680.98 ms │      1596.16 / 1671.95 ±45.46 / 1738.58 ms │     no change │
│ QQuery 15 │         293.72 / 299.27 ±7.27 / 313.55 ms │          296.73 / 303.56 ±7.50 / 317.56 ms │     no change │
│ QQuery 16 │     3624.85 / 3770.87 ±94.48 / 3886.99 ms │      3654.06 / 3781.39 ±81.24 / 3890.12 ms │     no change │
│ QQuery 17 │     3603.29 / 3760.24 ±98.94 / 3899.60 ms │      3655.78 / 3796.71 ±88.54 / 3905.87 ms │     no change │
│ QQuery 18 │    6633.79 / 7004.12 ±286.03 / 7326.37 ms │     6885.85 / 7087.87 ±173.80 / 7327.85 ms │     no change │
│ QQuery 19 │            26.50 / 30.91 ±5.34 / 40.04 ms │             26.98 / 27.47 ±0.41 / 28.16 ms │ +1.13x faster │
│ QQuery 20 │      1044.81 / 1060.46 ±9.77 / 1075.35 ms │      1042.29 / 1057.59 ±10.35 / 1069.01 ms │     no change │
│ QQuery 21 │      1351.62 / 1353.47 ±1.42 / 1355.28 ms │       1357.00 / 1373.26 ±9.89 / 1382.89 ms │     no change │
│ QQuery 22 │     3185.61 / 3216.89 ±23.28 / 3251.84 ms │      3213.75 / 3269.95 ±65.30 / 3394.11 ms │     no change │
│ QQuery 23 │    9121.92 / 9351.48 ±139.08 / 9557.18 ms │     9283.07 / 9463.04 ±169.64 / 9730.38 ms │     no change │
│ QQuery 24 │           94.39 / 96.63 ±2.05 / 100.17 ms │          93.80 / 144.17 ±96.04 / 336.21 ms │  1.49x slower │
│ QQuery 25 │         349.46 / 352.89 ±4.56 / 361.59 ms │          349.68 / 353.16 ±3.93 / 360.40 ms │     no change │
│ QQuery 26 │           95.63 / 98.20 ±1.71 / 100.11 ms │             95.79 / 96.76 ±0.69 / 97.68 ms │     no change │
│ QQuery 27 │     1133.93 / 1146.15 ±10.12 / 1161.87 ms │      1122.49 / 1138.32 ±14.25 / 1163.30 ms │     no change │
│ QQuery 28 │     2760.62 / 2797.39 ±34.37 / 2856.37 ms │      2777.86 / 2820.61 ±33.10 / 2854.84 ms │     no change │
│ QQuery 29 │           38.94 / 54.65 ±21.99 / 96.06 ms │           38.62 / 60.12 ±34.16 / 127.16 ms │  1.10x slower │
│ QQuery 30 │         543.48 / 548.72 ±6.30 / 561.05 ms │          540.19 / 546.02 ±7.35 / 560.39 ms │     no change │
│ QQuery 31 │        538.83 / 552.02 ±13.58 / 575.95 ms │         535.52 / 552.15 ±11.41 / 564.21 ms │     no change │
│ QQuery 32 │      980.82 / 1019.35 ±27.02 / 1059.23 ms │      1023.87 / 1082.47 ±50.53 / 1175.18 ms │  1.06x slower │
│ QQuery 33 │ 12961.46 / 13669.61 ±382.77 / 14043.53 ms │  13980.48 / 14294.67 ±321.36 / 14822.38 ms │     no change │
│ QQuery 34 │ 13519.82 / 13974.69 ±352.96 / 14586.77 ms │  13834.96 / 14174.75 ±267.84 / 14551.39 ms │     no change │
│ QQuery 35 │       299.37 / 359.26 ±103.40 / 565.85 ms │        289.42 / 368.22 ±122.15 / 610.33 ms │     no change │
│ QQuery 36 │        170.48 / 184.57 ±19.09 / 222.31 ms │         166.63 / 178.42 ±13.12 / 203.42 ms │     no change │
│ QQuery 37 │          95.47 / 100.57 ±7.10 / 114.36 ms │           96.41 / 103.95 ±8.15 / 116.57 ms │     no change │
│ QQuery 38 │            81.53 / 84.83 ±3.68 / 91.61 ms │             80.29 / 82.19 ±1.46 / 84.67 ms │     no change │
│ QQuery 39 │         398.05 / 409.31 ±7.25 / 418.94 ms │          389.04 / 399.10 ±6.99 / 409.29 ms │     no change │
│ QQuery 40 │            14.36 / 15.70 ±1.75 / 19.14 ms │             13.84 / 14.41 ±0.60 / 15.51 ms │ +1.09x faster │
│ QQuery 41 │            13.70 / 13.85 ±0.09 / 13.94 ms │             13.11 / 13.27 ±0.17 / 13.58 ms │     no change │
│ QQuery 42 │            13.47 / 13.62 ±0.13 / 13.81 ms │             12.85 / 15.64 ±3.88 / 23.00 ms │  1.15x slower │
└───────────┴───────────────────────────────────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 73826.19ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 75417.50ms │
│ Average Time (HEAD)                                       │  1716.89ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  1753.90ms │
│ Queries Faster                                            │          2 │
│ Queries Slower                                            │          9 │
│ Queries with No Change                                    │         32 │
│ Queries with Failure                                      │          0 │
└───────────────────────────────────────────────────────────┴────────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5 | Changed: 8fccf69b78cfcddf53df0025958176ecdca556b5

clickbench_partitioned

Query Base Changed Change
Query 0 0 B 0 B 0.0%
Query 1 104 B 104 B +0.0%
Query 2 936 B 936 B +0.0%
Query 3 312 B 312 B +0.0%
Query 4 829.1 MiB 854.0 MiB +3.0%
Query 5 1.4 GiB 1.4 GiB +0.6%
Query 6 0 B 0 B 0.0%
Query 7 50.3 MiB 50.3 MiB +0.2%
Query 8 925.5 MiB 947.6 MiB +2.4%
Query 9 594.2 MiB 594.2 MiB +0.0%
Query 10 72.4 MiB 73.9 MiB +2.2%
Query 11 78.5 MiB 77.0 MiB -1.9%
Query 12 1.6 GiB 1.6 GiB -2.3%
Query 13 2.2 GiB 1.9 GiB -15.1%
Query 14 1.9 GiB 1.9 GiB -0.0%
Query 15 1.2 GiB 1.2 GiB -1.5%
Query 16 3.5 GiB 3.4 GiB -1.9%
Query 17 3.2 GiB 3.6 GiB +12.1%
Query 18 7.2 GiB 7.3 GiB +2.2%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.4 MiB 1.3 MiB -4.5%
Query 22 2.2 MiB 2.5 MiB +12.6%
Query 23 12.7 MiB 10.1 MiB -20.8%
Query 24 6.8 MiB 6.9 MiB +0.8%
Query 25 8.1 MiB 8.1 MiB -0.0%
Query 26 7.5 MiB 7.9 MiB +5.6%
Query 27 2.3 MiB 2.5 MiB +6.5%
Query 28 2.0 GiB 1.9 GiB -8.6%
Query 29 624 B 624 B +0.0%
Query 30 669.5 MiB 647.6 MiB -3.3%
Query 31 1.5 GiB 1.5 GiB -3.0%
Query 32 7.1 GiB 7.1 GiB -0.1%
Query 33 12.3 GiB 12.7 GiB +3.5%
Query 34 12.7 GiB 12.7 GiB -0.2%
Query 35 659.1 MiB 668.8 MiB +1.5%
Query 36 474.1 MiB 474.1 MiB -0.0%
Query 37 8.1 MiB 8.1 MiB +0.0%
Query 38 5.1 MiB 5.3 MiB +3.7%
Query 39 450.8 MiB 450.8 MiB +0.0%
Query 40 2.3 MiB 2.3 MiB -3.0%
Query 41 3.1 MiB 3.1 MiB -0.1%
Query 42 1.8 MiB 1.7 MiB -5.5%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
clickbench_partitioned base (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 12.7 GiB 13.2 GiB 507.1 MiB 1.0×
clickbench_partitioned changed (8fccf69b78cfcddf53df0025958176ecdca556b5) 12.7 GiB 13.2 GiB 451.6 MiB 1.0×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 370.1s
Peak memory 13.2 GiB
Avg memory 6.2 GiB
CPU user 3259.8s
CPU sys 195.0s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 380.1s
Peak memory 13.2 GiB
Avg memory 6.1 GiB
CPU user 3295.4s
CPU sys 202.0s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark clickbench_partitioned

env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
baseline:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
changed:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"

@adriangbot

Copy link
Copy Markdown

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

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

Comparing 4ede583 (4ede583) to 8fccf69 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
changed:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 4ede583 (4ede583) to 8fccf69 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "8fccf69b78cfcddf53df0025958176ecdca556b5"
changed:
  ref: "4ede5833f68dad5bc8169492dedc5749fcc4b8d5"
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 rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.12 ms │                                    1.17 ms │     no change │
│ QQuery 1  │    10.87 ms │                                   11.24 ms │     no change │
│ QQuery 2  │    35.48 ms │                                   36.17 ms │     no change │
│ QQuery 3  │    31.15 ms │                                   32.01 ms │     no change │
│ QQuery 4  │   232.97 ms │                                  248.98 ms │  1.07x slower │
│ QQuery 5  │  1446.32 ms │                                 1560.60 ms │  1.08x slower │
│ QQuery 6  │     1.15 ms │                                    1.20 ms │     no change │
│ QQuery 7  │    12.11 ms │                                   12.46 ms │     no change │
│ QQuery 8  │   338.87 ms │                                  346.46 ms │     no change │
│ QQuery 9  │   475.00 ms │                                  492.39 ms │     no change │
│ QQuery 10 │   197.39 ms │                                  199.94 ms │     no change │
│ QQuery 11 │   209.72 ms │                                  212.41 ms │     no change │
│ QQuery 12 │  1508.10 ms │                                 1607.62 ms │  1.07x slower │
│ QQuery 13 │  2297.36 ms │                                 2176.97 ms │ +1.06x faster │
│ QQuery 14 │  1618.16 ms │                                 1730.98 ms │  1.07x slower │
│ QQuery 15 │   292.82 ms │                                  301.34 ms │     no change │
│ QQuery 16 │  3547.72 ms │                                 3825.58 ms │  1.08x slower │
│ QQuery 17 │  3592.16 ms │                                 3781.38 ms │  1.05x slower │
│ QQuery 18 │  6630.72 ms │                                 6878.68 ms │     no change │
│ QQuery 19 │    26.79 ms │                                   27.01 ms │     no change │
│ QQuery 20 │  1038.41 ms │                                 1051.86 ms │     no change │
│ QQuery 21 │  1343.95 ms │                                 1369.88 ms │     no change │
│ QQuery 22 │  3207.16 ms │                                 3215.95 ms │     no change │
│ QQuery 23 │  9165.97 ms │                                 9210.01 ms │     no change │
│ QQuery 24 │    94.57 ms │                                   94.25 ms │     no change │
│ QQuery 25 │   348.92 ms │                                  348.17 ms │     no change │
│ QQuery 26 │    95.17 ms │                                   96.26 ms │     no change │
│ QQuery 27 │  1142.98 ms │                                 1143.25 ms │     no change │
│ QQuery 28 │  2784.14 ms │                                 2763.55 ms │     no change │
│ QQuery 29 │    39.07 ms │                                   38.92 ms │     no change │
│ QQuery 30 │   546.17 ms │                                  541.22 ms │     no change │
│ QQuery 31 │   540.20 ms │                                  534.34 ms │     no change │
│ QQuery 32 │  1003.20 ms │                                 1063.95 ms │  1.06x slower │
│ QQuery 33 │ 13789.96 ms │                                13273.90 ms │     no change │
│ QQuery 34 │ 14147.14 ms │                                13855.75 ms │     no change │
│ QQuery 35 │   300.71 ms │                                  304.27 ms │     no change │
│ QQuery 36 │   175.75 ms │                                  180.60 ms │     no change │
│ QQuery 37 │    97.24 ms │                                   98.63 ms │     no change │
│ QQuery 38 │    82.13 ms │                                   81.10 ms │     no change │
│ QQuery 39 │   399.72 ms │                                  409.13 ms │     no change │
│ QQuery 40 │    14.33 ms │                                   14.55 ms │     no change │
│ QQuery 41 │    13.61 ms │                                   13.84 ms │     no change │
│ QQuery 42 │    13.13 ms │                                   13.64 ms │     no change │
└───────────┴─────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 72889.62ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 73201.60ms │
│ Average Time (HEAD)                                       │  1695.11ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  1702.36ms │
│ Queries Faster                                            │          1 │
│ Queries Slower                                            │          7 │
│ Queries with No Change                                    │         35 │
│ Queries with Failure                                      │          0 │
└───────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_hash-join-dictionary-hash-reuse
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ rich-T-kid_hash-join-dictionary-hash-reuse ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │              1.12 / 4.21 ±6.01 / 16.23 ms │               1.17 / 4.30 ±6.11 / 16.52 ms │     no change │
│ QQuery 1  │            10.87 / 11.01 ±0.12 / 11.18 ms │             11.24 / 11.52 ±0.15 / 11.69 ms │     no change │
│ QQuery 2  │            35.48 / 35.85 ±0.29 / 36.35 ms │             36.17 / 36.91 ±0.93 / 38.68 ms │     no change │
│ QQuery 3  │            31.15 / 31.83 ±0.66 / 32.76 ms │             32.01 / 32.59 ±0.49 / 33.46 ms │     no change │
│ QQuery 4  │         232.97 / 238.23 ±4.03 / 242.95 ms │          248.98 / 253.11 ±2.65 / 256.84 ms │  1.06x slower │
│ QQuery 5  │     1446.32 / 1521.07 ±58.84 / 1613.07 ms │      1560.60 / 1585.75 ±37.86 / 1660.98 ms │     no change │
│ QQuery 6  │               1.15 / 1.31 ±0.23 / 1.76 ms │                1.20 / 1.35 ±0.23 / 1.80 ms │     no change │
│ QQuery 7  │            12.11 / 12.32 ±0.13 / 12.51 ms │             12.46 / 12.72 ±0.14 / 12.84 ms │     no change │
│ QQuery 8  │         338.87 / 343.96 ±4.82 / 352.07 ms │          346.46 / 351.97 ±4.75 / 359.44 ms │     no change │
│ QQuery 9  │         475.00 / 483.32 ±5.00 / 488.79 ms │          492.39 / 501.96 ±9.69 / 519.34 ms │     no change │
│ QQuery 10 │        197.39 / 204.93 ±12.09 / 229.05 ms │          199.94 / 203.01 ±2.94 / 208.29 ms │     no change │
│ QQuery 11 │         209.72 / 210.87 ±1.05 / 212.68 ms │          212.41 / 213.06 ±0.40 / 213.59 ms │     no change │
│ QQuery 12 │     1508.10 / 1550.55 ±29.71 / 1596.75 ms │      1607.62 / 1652.07 ±30.07 / 1696.43 ms │  1.07x slower │
│ QQuery 13 │     2297.36 / 2363.03 ±98.06 / 2555.37 ms │     2176.97 / 2588.09 ±333.55 / 3058.15 ms │  1.10x slower │
│ QQuery 14 │     1618.16 / 1688.17 ±36.22 / 1716.69 ms │      1730.98 / 1776.20 ±39.56 / 1829.66 ms │  1.05x slower │
│ QQuery 15 │         292.82 / 296.87 ±4.63 / 305.60 ms │         301.34 / 310.73 ±13.72 / 337.56 ms │     no change │
│ QQuery 16 │     3547.72 / 3717.16 ±97.80 / 3823.75 ms │     3825.58 / 3980.40 ±112.71 / 4154.90 ms │  1.07x slower │
│ QQuery 17 │    3592.16 / 3730.63 ±120.58 / 3952.91 ms │     3781.38 / 3948.09 ±109.43 / 4125.07 ms │  1.06x slower │
│ QQuery 18 │    6630.72 / 7054.38 ±338.02 / 7584.71 ms │     6878.68 / 7267.38 ±208.37 / 7422.13 ms │     no change │
│ QQuery 19 │            26.79 / 27.05 ±0.30 / 27.60 ms │            27.01 / 48.93 ±18.67 / 72.25 ms │  1.81x slower │
│ QQuery 20 │     1038.41 / 1052.66 ±18.02 / 1088.10 ms │      1051.86 / 1062.24 ±10.86 / 1077.76 ms │     no change │
│ QQuery 21 │     1343.95 / 1360.56 ±10.97 / 1377.43 ms │       1369.88 / 1378.39 ±7.21 / 1386.62 ms │     no change │
│ QQuery 22 │     3207.16 / 3243.89 ±26.04 / 3282.25 ms │      3215.95 / 3276.10 ±78.97 / 3432.22 ms │     no change │
│ QQuery 23 │    9165.97 / 9353.27 ±107.42 / 9470.10 ms │     9210.01 / 9319.24 ±112.33 / 9507.98 ms │     no change │
│ QQuery 24 │         94.57 / 121.46 ±34.30 / 178.55 ms │         94.25 / 176.42 ±157.67 / 491.74 ms │  1.45x slower │
│ QQuery 25 │        348.92 / 370.00 ±34.50 / 438.87 ms │          348.17 / 351.28 ±2.32 / 355.19 ms │ +1.05x faster │
│ QQuery 26 │            95.17 / 95.98 ±0.83 / 97.40 ms │             96.26 / 97.31 ±0.93 / 98.72 ms │     no change │
│ QQuery 27 │     1142.98 / 1157.89 ±21.30 / 1198.68 ms │      1143.25 / 1163.00 ±23.31 / 1207.64 ms │     no change │
│ QQuery 28 │     2784.14 / 2838.60 ±49.55 / 2899.16 ms │      2763.55 / 2819.93 ±30.69 / 2854.56 ms │     no change │
│ QQuery 29 │            39.07 / 43.25 ±6.17 / 55.20 ms │             38.92 / 39.13 ±0.25 / 39.59 ms │ +1.11x faster │
│ QQuery 30 │        546.17 / 554.88 ±10.55 / 574.82 ms │          541.22 / 549.13 ±5.66 / 558.65 ms │     no change │
│ QQuery 31 │        540.20 / 552.35 ±11.76 / 572.58 ms │         534.34 / 551.46 ±12.45 / 570.87 ms │     no change │
│ QQuery 32 │     1003.20 / 1057.20 ±33.32 / 1105.33 ms │     1063.95 / 1181.32 ±137.64 / 1381.79 ms │  1.12x slower │
│ QQuery 33 │ 13789.96 / 14456.19 ±498.69 / 15328.38 ms │  13273.90 / 13952.97 ±477.15 / 14496.04 ms │     no change │
│ QQuery 34 │ 14147.14 / 14874.63 ±621.92 / 15761.80 ms │  13855.75 / 14519.82 ±497.52 / 15302.29 ms │     no change │
│ QQuery 35 │        300.71 / 335.07 ±43.98 / 420.87 ms │         304.27 / 329.81 ±33.64 / 394.34 ms │     no change │
│ QQuery 36 │         175.75 / 190.98 ±9.54 / 203.07 ms │         180.60 / 191.06 ±11.28 / 211.26 ms │     no change │
│ QQuery 37 │          97.24 / 101.99 ±3.74 / 106.98 ms │           98.63 / 104.79 ±6.73 / 117.74 ms │     no change │
│ QQuery 38 │            82.13 / 85.79 ±2.52 / 88.40 ms │             81.10 / 85.41 ±4.60 / 92.61 ms │     no change │
│ QQuery 39 │        399.72 / 415.38 ±13.14 / 434.46 ms │          409.13 / 422.48 ±9.93 / 439.37 ms │     no change │
│ QQuery 40 │            14.33 / 15.13 ±0.69 / 16.36 ms │             14.55 / 16.65 ±3.92 / 24.48 ms │  1.10x slower │
│ QQuery 41 │            13.61 / 13.85 ±0.13 / 13.99 ms │             13.84 / 18.73 ±9.32 / 37.36 ms │  1.35x slower │
│ QQuery 42 │            13.13 / 13.29 ±0.17 / 13.60 ms │             13.64 / 13.69 ±0.03 / 13.73 ms │     no change │
└───────────┴───────────────────────────────────────────┴────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                         │ 75831.05ms │
│ Total Time (rich-T-kid_hash-join-dictionary-hash-reuse)   │ 76400.49ms │
│ Average Time (HEAD)                                       │  1763.51ms │
│ Average Time (rich-T-kid_hash-join-dictionary-hash-reuse) │  1776.76ms │
│ Queries Faster                                            │          2 │
│ Queries Slower                                            │         11 │
│ Queries with No Change                                    │         30 │
│ Queries with Failure                                      │          0 │
└───────────────────────────────────────────────────────────┴────────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the dfbench suites, and the suites bench.sh runs through the Criterion SQL harness since #25644), and only under a memory limit: DATAFUSION_RUNTIME_MEMORY_LIMIT, or one the suite sets itself.

Base: 8fccf69b78cfcddf53df0025958176ecdca556b5 | Changed: 4ede5833f68dad5bc8169492dedc5749fcc4b8d5

clickbench_partitioned

Query Base Changed Change
Query 0 0 B 0 B 0.0%
Query 1 104 B 104 B +0.0%
Query 2 936 B 936 B +0.0%
Query 3 312 B 312 B +0.0%
Query 4 841.9 MiB 831.7 MiB -1.2%
Query 5 1.4 GiB 1.4 GiB +2.2%
Query 6 0 B 0 B 0.0%
Query 7 50.1 MiB 50.0 MiB -0.1%
Query 8 929.7 MiB 969.3 MiB +4.3%
Query 9 594.0 MiB 551.7 MiB -7.1%
Query 10 72.2 MiB 71.0 MiB -1.6%
Query 11 74.3 MiB 78.5 MiB +5.6%
Query 12 1.6 GiB 1.6 GiB -2.6%
Query 13 1.8 GiB 1.8 GiB -0.5%
Query 14 1.9 GiB 1.9 GiB +0.1%
Query 15 1.2 GiB 1.2 GiB +1.7%
Query 16 3.4 GiB 3.4 GiB -0.8%
Query 17 3.4 GiB 3.5 GiB +1.1%
Query 18 7.2 GiB 7.7 GiB +6.9%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.3 MiB 1.3 MiB -1.3%
Query 22 2.7 MiB 2.4 MiB -12.6%
Query 23 10.4 MiB 13.0 MiB +25.2%
Query 24 6.9 MiB 6.3 MiB -8.1%
Query 25 8.1 MiB 8.1 MiB -0.0%
Query 26 8.0 MiB 8.1 MiB +1.3%
Query 27 2.5 MiB 2.6 MiB +5.9%
Query 28 2.0 GiB 1.9 GiB -1.6%
Query 29 624 B 624 B +0.0%
Query 30 652.2 MiB 654.4 MiB +0.3%
Query 31 1.5 GiB 1.5 GiB -6.0%
Query 32 7.2 GiB 7.2 GiB +0.1%
Query 33 12.3 GiB 12.3 GiB +0.1%
Query 34 13.3 GiB 12.7 GiB -4.4%
Query 35 669.4 MiB 664.8 MiB -0.7%
Query 36 474.1 MiB 474.1 MiB +0.0%
Query 37 8.1 MiB 8.1 MiB -0.0%
Query 38 5.2 MiB 5.2 MiB -0.7%
Query 39 450.8 MiB 450.8 MiB +0.0%
Query 40 2.6 MiB 2.3 MiB -9.0%
Query 41 3.1 MiB 3.1 MiB +0.0%
Query 42 1.8 MiB 1.7 MiB -5.5%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
clickbench_partitioned base (8fccf69b78cfcddf53df0025958176ecdca556b5) 13.3 GiB 12.5 GiB −770.6 MiB 0.9×
clickbench_partitioned changed (4ede5833f68dad5bc8169492dedc5749fcc4b8d5) 12.7 GiB 13.1 GiB 382.4 MiB 1.0×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 380.1s
Peak memory 12.5 GiB
Avg memory 5.9 GiB
CPU user 3307.9s
CPU sys 212.5s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 385.1s
Peak memory 13.1 GiB
Avg memory 6.0 GiB
CPU user 3319.6s
CPU sys 212.9s
Peak spill 0 B

File an issue against this benchmark runner

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

Labels

common Related to common crate physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reuse dictionary value hashes in hash joins

2 participants