Skip to content

Reuse dictionary value hashes in RepartitionExec - #26816

Closed
Rich-T-kid wants to merge 9 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/repartition-dictionary-hash-cache
Closed

Rich-T-kid wants to merge 9 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/repartition-dictionary-hash-cache

Conversation

@Rich-T-kid

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

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #26814.

Depends on #26817.

Rationale for this change

Dictionary batches often share one values array while only their keys change. RepartitionExec currently hashes all dictionary values again for every batch.

What changes are included in this PR?

BatchPartitioner owns one schema-configured CachingArrayHasher for all hash expressions. It is initialized from the first evaluated key batch and reused across later batches. Dictionary columns reuse value hashes while the values Arc is unchanged and replace the cache when it changes. Non-dictionary columns use the existing hashing path, and composite-key hashing keeps the same combine order.

Results

The original hosted GKE run compared 9f6f79f7 with d648959f, with RLE-to-dictionary enabled on both sides.

Suite Base Changed Delta Faster / slower / unchanged
TPC-H 806.19 ms 805.11 ms -0.13% 0 / 0 / 22
TPC-DS 9652.99 ms 9509.64 ms -1.49% 1 / 0 / 98
ClickBench partitioned 72.75 s 51.73 s -28.90% 13 / 0 / 30

ClickBench improves Q33 by 1.93x, Q18 by 1.90x, Q34 by 1.84x, Q16 by 1.62x, and Q17 by 1.59x. TPC-DS Q72 improves by 1.06x. No primary-summary query regresses.

These results predate the helper and main rebases. The operator logic is unchanged, but this is not final-head benchmark evidence.

What is the testing strategy for this PR?

One end-to-end test covers shared dictionary values across batches, null keys, and partition routing. It passes on the rebased head.

Are there any user-facing changes?

No.

@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: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6449459402-3937-jmntd 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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"

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-c6449459402-3936-ng9ql 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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"

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-c6449459402-3938-jx4bk 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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"

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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"
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_repartition-dictionary-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃      HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │  42.25 ms │                                     42.34 ms │     no change │
│ QQuery 2  │  20.13 ms │                                     20.04 ms │     no change │
│ QQuery 3  │  30.85 ms │                                     30.03 ms │     no change │
│ QQuery 4  │  18.52 ms │                                     18.70 ms │     no change │
│ QQuery 5  │  39.36 ms │                                     38.75 ms │     no change │
│ QQuery 6  │  14.74 ms │                                     14.94 ms │     no change │
│ QQuery 7  │  48.35 ms │                                     44.98 ms │ +1.07x faster │
│ QQuery 8  │  44.22 ms │                                     43.45 ms │     no change │
│ QQuery 9  │  55.03 ms │                                     55.11 ms │     no change │
│ QQuery 10 │  65.34 ms │                                     65.28 ms │     no change │
│ QQuery 11 │  15.42 ms │                                     15.23 ms │     no change │
│ QQuery 12 │  23.67 ms │                                     22.45 ms │ +1.05x faster │
│ QQuery 13 │  54.03 ms │                                     53.10 ms │     no change │
│ QQuery 14 │  26.01 ms │                                     25.82 ms │     no change │
│ QQuery 15 │  34.07 ms │                                     33.87 ms │     no change │
│ QQuery 16 │  14.65 ms │                                     14.78 ms │     no change │
│ QQuery 17 │  88.61 ms │                                     87.92 ms │     no change │
│ QQuery 18 │ 127.49 ms │                                    126.43 ms │     no change │
│ QQuery 19 │  32.40 ms │                                     32.57 ms │     no change │
│ QQuery 20 │  36.85 ms │                                     36.93 ms │     no change │
│ QQuery 21 │  61.33 ms │                                     61.09 ms │     no change │
│ QQuery 22 │  17.18 ms │                                     17.25 ms │     no change │
└───────────┴───────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 910.49ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 901.07ms │
│ Average Time (HEAD)                                         │  41.39ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  40.96ms │
│ Queries Faster                                              │        2 │
│ Queries Slower                                              │        0 │
│ Queries with No Change                                      │       20 │
│ Queries with Failure                                        │        0 │
└─────────────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                              HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │    42.25 / 43.95 ±1.56 / 46.09 ms │               42.34 / 43.52 ±1.81 / 47.11 ms │    no change │
│ QQuery 2  │    20.13 / 20.39 ±0.27 / 20.91 ms │               20.04 / 20.54 ±0.54 / 21.57 ms │    no change │
│ QQuery 3  │    30.85 / 31.10 ±0.21 / 31.38 ms │               30.03 / 31.07 ±0.67 / 31.90 ms │    no change │
│ QQuery 4  │    18.52 / 19.10 ±0.71 / 20.51 ms │               18.70 / 20.70 ±2.14 / 24.75 ms │ 1.08x slower │
│ QQuery 5  │    39.36 / 40.16 ±0.98 / 41.90 ms │               38.75 / 39.20 ±0.25 / 39.41 ms │    no change │
│ QQuery 6  │    14.74 / 15.16 ±0.37 / 15.81 ms │               14.94 / 15.54 ±0.59 / 16.52 ms │    no change │
│ QQuery 7  │    48.35 / 51.17 ±1.55 / 52.84 ms │               44.98 / 48.75 ±3.82 / 55.62 ms │    no change │
│ QQuery 8  │    44.22 / 44.48 ±0.26 / 44.90 ms │               43.45 / 44.02 ±0.60 / 45.14 ms │    no change │
│ QQuery 9  │    55.03 / 56.74 ±1.18 / 58.12 ms │               55.11 / 56.14 ±0.94 / 57.74 ms │    no change │
│ QQuery 10 │    65.34 / 66.05 ±0.49 / 66.86 ms │               65.28 / 65.97 ±0.45 / 66.53 ms │    no change │
│ QQuery 11 │    15.42 / 16.82 ±2.01 / 20.77 ms │               15.23 / 16.52 ±1.89 / 20.23 ms │    no change │
│ QQuery 12 │    23.67 / 23.78 ±0.16 / 24.09 ms │               22.45 / 23.01 ±0.47 / 23.88 ms │    no change │
│ QQuery 13 │    54.03 / 55.65 ±1.68 / 58.70 ms │               53.10 / 53.79 ±0.47 / 54.41 ms │    no change │
│ QQuery 14 │    26.01 / 26.55 ±0.31 / 26.96 ms │               25.82 / 26.24 ±0.34 / 26.87 ms │    no change │
│ QQuery 15 │    34.07 / 34.78 ±0.86 / 36.44 ms │               33.87 / 34.32 ±0.25 / 34.55 ms │    no change │
│ QQuery 16 │    14.65 / 14.78 ±0.09 / 14.87 ms │               14.78 / 15.03 ±0.22 / 15.38 ms │    no change │
│ QQuery 17 │    88.61 / 90.33 ±1.64 / 93.21 ms │               87.92 / 89.79 ±1.39 / 91.47 ms │    no change │
│ QQuery 18 │ 127.49 / 136.52 ±7.30 / 148.68 ms │            126.43 / 130.48 ±3.17 / 135.86 ms │    no change │
│ QQuery 19 │    32.40 / 33.90 ±1.53 / 36.68 ms │               32.57 / 34.26 ±2.88 / 40.01 ms │    no change │
│ QQuery 20 │    36.85 / 37.12 ±0.23 / 37.51 ms │               36.93 / 37.69 ±0.68 / 38.89 ms │    no change │
│ QQuery 21 │    61.33 / 63.00 ±1.09 / 64.21 ms │               61.09 / 61.99 ±0.83 / 63.18 ms │    no change │
│ QQuery 22 │    17.18 / 17.34 ±0.20 / 17.71 ms │               17.25 / 17.39 ±0.10 / 17.54 ms │    no change │
└───────────┴───────────────────────────────────┴──────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 938.87ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 925.95ms │
│ Average Time (HEAD)                                         │  42.68ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  42.09ms │
│ 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: 5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9 | Changed: 14d1378f2bdc9b4f64a5c43dbf189d031a706fa0

tpch — tpch_sf1

Query Base Changed Change
Query 1 20.2 MiB 30.1 MiB +49.3%
Query 2 23.1 MiB 23.1 MiB +0.0%
Query 3 11.5 MiB 11.5 MiB +0.0%
Query 4 32.1 MiB 22.3 MiB -30.7%
Query 5 42.9 MiB 42.8 MiB -0.3%
Query 6 832 B 832 B +0.0%
Query 7 107.6 MiB 107.6 MiB +0.0%
Query 8 34.0 MiB 35.5 MiB +4.5%
Query 9 155.6 MiB 155.6 MiB +0.0%
Query 10 61.2 MiB 65.1 MiB +6.4%
Query 11 71.7 MiB 72.1 MiB +0.5%
Query 12 10.2 MiB 20.1 MiB +96.9%
Query 13 62.3 MiB 72.5 MiB +16.2%
Query 14 7.7 MiB 7.7 MiB +0.0%
Query 15 12.8 MiB 12.8 MiB -0.0%
Query 16 33.9 MiB 33.6 MiB -0.7%
Query 17 150.3 MiB 150.3 MiB +0.0%
Query 18 2.7 GiB 2.7 GiB +0.0%
Query 19 228.6 KiB 228.6 KiB +0.0%
Query 20 63.4 MiB 59.4 MiB -6.2%
Query 21 37.7 MiB 37.7 MiB +0.0%
Query 22 31.8 MiB 22.0 MiB -30.9%

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 (5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9) 2.7 GiB 2.0 GiB −735.6 MiB 0.7×
tpch changed (14d1378f2bdc9b4f64a5c43dbf189d031a706fa0) 2.7 GiB 2.1 GiB −654.4 MiB 0.8×
Resource Usage

tpch — base (merge-base)

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

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 2.1 GiB
Avg memory 804.2 MiB
CPU user 21.9s
CPU sys 1.7s
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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"
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_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.79 ms │                                      5.75 ms │    no change │
│ QQuery 2  │   78.04 ms │                                     78.11 ms │    no change │
│ QQuery 3  │   28.75 ms │                                     29.19 ms │    no change │
│ QQuery 4  │  894.66 ms │                                    894.64 ms │    no change │
│ QQuery 5  │   50.34 ms │                                     50.68 ms │    no change │
│ QQuery 6  │   34.14 ms │                                     34.58 ms │    no change │
│ QQuery 7  │   73.35 ms │                                     73.64 ms │    no change │
│ QQuery 8  │   38.97 ms │                                     38.44 ms │    no change │
│ QQuery 9  │   51.30 ms │                                     53.36 ms │    no change │
│ QQuery 10 │   62.20 ms │                                     62.57 ms │    no change │
│ QQuery 11 │  511.29 ms │                                    529.13 ms │    no change │
│ QQuery 12 │   26.09 ms │                                     26.93 ms │    no change │
│ QQuery 13 │  113.63 ms │                                    114.25 ms │    no change │
│ QQuery 14 │  392.38 ms │                                    388.80 ms │    no change │
│ QQuery 15 │   52.96 ms │                                     54.83 ms │    no change │
│ QQuery 16 │    6.74 ms │                                      6.82 ms │    no change │
│ QQuery 17 │   81.51 ms │                                     81.93 ms │    no change │
│ QQuery 18 │  110.25 ms │                                    110.66 ms │    no change │
│ QQuery 19 │   41.51 ms │                                     42.18 ms │    no change │
│ QQuery 20 │   32.08 ms │                                     32.28 ms │    no change │
│ QQuery 21 │   17.63 ms │                                     17.75 ms │    no change │
│ QQuery 22 │   73.86 ms │                                     75.95 ms │    no change │
│ QQuery 23 │  321.12 ms │                                    323.75 ms │    no change │
│ QQuery 24 │  199.80 ms │                                    199.56 ms │    no change │
│ QQuery 25 │  109.01 ms │                                    108.43 ms │    no change │
│ QQuery 26 │   47.48 ms │                                     47.84 ms │    no change │
│ QQuery 27 │    6.59 ms │                                      6.47 ms │    no change │
│ QQuery 28 │   57.40 ms │                                     61.74 ms │ 1.08x slower │
│ QQuery 29 │   97.94 ms │                                     97.68 ms │    no change │
│ QQuery 30 │   37.95 ms │                                     38.47 ms │    no change │
│ QQuery 31 │  113.88 ms │                                    114.88 ms │    no change │
│ QQuery 32 │   20.70 ms │                                     20.99 ms │    no change │
│ QQuery 33 │   38.14 ms │                                     38.69 ms │    no change │
│ QQuery 34 │   10.14 ms │                                     10.15 ms │    no change │
│ QQuery 35 │   74.23 ms │                                     76.88 ms │    no change │
│ QQuery 36 │    6.24 ms │                                      6.50 ms │    no change │
│ QQuery 37 │    7.78 ms │                                      8.01 ms │    no change │
│ QQuery 38 │   66.25 ms │                                     68.21 ms │    no change │
│ QQuery 39 │   74.21 ms │                                     75.21 ms │    no change │
│ QQuery 40 │   23.90 ms │                                     23.84 ms │    no change │
│ QQuery 41 │   14.33 ms │                                     14.62 ms │    no change │
│ QQuery 42 │   23.57 ms │                                     23.97 ms │    no change │
│ QQuery 43 │    5.16 ms │                                      5.59 ms │ 1.08x slower │
│ QQuery 44 │    8.86 ms │                                      9.29 ms │    no change │
│ QQuery 45 │   36.42 ms │                                     37.83 ms │    no change │
│ QQuery 46 │   11.92 ms │                                     11.94 ms │    no change │
│ QQuery 47 │  209.64 ms │                                    213.50 ms │    no change │
│ QQuery 48 │   91.30 ms │                                     92.05 ms │    no change │
│ QQuery 49 │   70.48 ms │                                     70.88 ms │    no change │
│ QQuery 50 │   58.70 ms │                                     58.64 ms │    no change │
│ QQuery 51 │   92.95 ms │                                     93.43 ms │    no change │
│ QQuery 52 │   24.52 ms │                                     24.37 ms │    no change │
│ QQuery 53 │   29.53 ms │                                     29.66 ms │    no change │
│ QQuery 54 │   53.48 ms │                                     53.79 ms │    no change │
│ QQuery 55 │   23.78 ms │                                     23.82 ms │    no change │
│ QQuery 56 │   39.13 ms │                                     39.81 ms │    no change │
│ QQuery 57 │  153.89 ms │                                    155.89 ms │    no change │
│ QQuery 58 │  105.20 ms │                                    105.54 ms │    no change │
│ QQuery 59 │  106.24 ms │                                    108.69 ms │    no change │
│ QQuery 60 │   43.24 ms │                                     44.01 ms │    no change │
│ QQuery 61 │    9.92 ms │                                     10.12 ms │    no change │
│ QQuery 62 │   39.32 ms │                                     39.51 ms │    no change │
│ QQuery 63 │   29.67 ms │                                     30.03 ms │    no change │
│ QQuery 64 │  372.05 ms │                                    375.69 ms │    no change │
│ QQuery 65 │  133.92 ms │                                    134.98 ms │    no change │
│ QQuery 66 │   76.33 ms │                                     76.56 ms │    no change │
│ QQuery 67 │  243.14 ms │                                    247.37 ms │    no change │
│ QQuery 68 │   11.92 ms │                                     12.14 ms │    no change │
│ QQuery 69 │   57.49 ms │                                     58.23 ms │    no change │
│ QQuery 70 │   98.54 ms │                                     99.73 ms │    no change │
│ QQuery 71 │   34.93 ms │                                     35.24 ms │    no change │
│ QQuery 72 │ 1528.11 ms │                                   1626.91 ms │ 1.06x slower │
│ QQuery 73 │   10.03 ms │                                     10.16 ms │    no change │
│ QQuery 74 │  267.02 ms │                                    282.58 ms │ 1.06x slower │
│ QQuery 75 │  140.58 ms │                                    143.09 ms │    no change │
│ QQuery 76 │   33.88 ms │                                     35.06 ms │    no change │
│ QQuery 77 │   60.50 ms │                                     61.09 ms │    no change │
│ QQuery 78 │  166.36 ms │                                    167.53 ms │    no change │
│ QQuery 79 │   68.05 ms │                                     68.94 ms │    no change │
│ QQuery 80 │   94.77 ms │                                     96.34 ms │    no change │
│ QQuery 81 │   29.23 ms │                                     29.56 ms │    no change │
│ QQuery 82 │   17.62 ms │                                     17.95 ms │    no change │
│ QQuery 83 │   33.30 ms │                                     34.18 ms │    no change │
│ QQuery 84 │   31.42 ms │                                     31.94 ms │    no change │
│ QQuery 85 │  101.23 ms │                                    100.62 ms │    no change │
│ QQuery 86 │   25.04 ms │                                     25.48 ms │    no change │
│ QQuery 87 │   66.58 ms │                                     66.89 ms │    no change │
│ QQuery 88 │   59.84 ms │                                     59.23 ms │    no change │
│ QQuery 89 │   35.98 ms │                                     36.05 ms │    no change │
│ QQuery 90 │   16.86 ms │                                     16.87 ms │    no change │
│ QQuery 91 │   41.14 ms │                                     41.93 ms │    no change │
│ QQuery 92 │   30.10 ms │                                     30.39 ms │    no change │
│ QQuery 93 │   49.37 ms │                                     50.08 ms │    no change │
│ QQuery 94 │   38.43 ms │                                     39.66 ms │    no change │
│ QQuery 95 │   80.26 ms │                                     80.92 ms │    no change │
│ QQuery 96 │   23.98 ms │                                     23.89 ms │    no change │
│ QQuery 97 │   51.25 ms │                                     51.48 ms │    no change │
│ QQuery 98 │   38.14 ms │                                     38.34 ms │    no change │
│ QQuery 99 │   57.00 ms │                                     58.45 ms │    no change │
└───────────┴────────────┴──────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9595.93ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9792.32ms │
│ Average Time (HEAD)                                         │   96.93ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   98.91ms │
│ Queries Faster                                              │         0 │
│ Queries Slower                                              │         4 │
│ Queries with No Change                                      │        95 │
│ Queries with Failure                                        │         0 │
└─────────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.79 / 6.35 ±1.07 / 8.49 ms │                  5.75 / 6.27 ±0.89 / 8.04 ms │    no change │
│ QQuery 2  │        78.04 / 78.20 ±0.16 / 78.49 ms │               78.11 / 78.47 ±0.27 / 78.80 ms │    no change │
│ QQuery 3  │        28.75 / 29.10 ±0.22 / 29.42 ms │               29.19 / 29.39 ±0.22 / 29.79 ms │    no change │
│ QQuery 4  │     894.66 / 907.14 ±9.46 / 918.58 ms │            894.64 / 906.76 ±8.27 / 915.98 ms │    no change │
│ QQuery 5  │        50.34 / 51.33 ±0.70 / 52.41 ms │               50.68 / 52.25 ±2.05 / 56.31 ms │    no change │
│ QQuery 6  │        34.14 / 35.04 ±0.61 / 35.93 ms │               34.58 / 34.94 ±0.41 / 35.72 ms │    no change │
│ QQuery 7  │        73.35 / 73.92 ±0.31 / 74.25 ms │               73.64 / 74.34 ±0.47 / 74.97 ms │    no change │
│ QQuery 8  │        38.97 / 39.61 ±0.43 / 40.17 ms │               38.44 / 38.76 ±0.31 / 39.26 ms │    no change │
│ QQuery 9  │        51.30 / 54.87 ±2.69 / 59.37 ms │               53.36 / 55.85 ±1.30 / 57.07 ms │    no change │
│ QQuery 10 │        62.20 / 62.39 ±0.31 / 63.01 ms │               62.57 / 62.87 ±0.26 / 63.26 ms │    no change │
│ QQuery 11 │     511.29 / 519.95 ±5.17 / 527.26 ms │            529.13 / 534.65 ±5.72 / 542.59 ms │    no change │
│ QQuery 12 │        26.09 / 26.50 ±0.31 / 26.90 ms │               26.93 / 27.13 ±0.18 / 27.40 ms │    no change │
│ QQuery 13 │     113.63 / 114.47 ±0.73 / 115.84 ms │            114.25 / 115.05 ±0.76 / 116.33 ms │    no change │
│ QQuery 14 │     392.38 / 398.04 ±4.53 / 404.55 ms │            388.80 / 395.34 ±4.92 / 401.54 ms │    no change │
│ QQuery 15 │        52.96 / 55.95 ±3.19 / 62.03 ms │               54.83 / 56.42 ±1.37 / 58.31 ms │    no change │
│ QQuery 16 │           6.74 / 6.85 ±0.13 / 7.10 ms │                  6.82 / 6.96 ±0.08 / 7.06 ms │    no change │
│ QQuery 17 │        81.51 / 82.92 ±1.53 / 85.88 ms │               81.93 / 82.91 ±0.84 / 84.46 ms │    no change │
│ QQuery 18 │     110.25 / 111.52 ±1.03 / 112.97 ms │            110.66 / 112.36 ±1.71 / 115.11 ms │    no change │
│ QQuery 19 │        41.51 / 42.23 ±0.47 / 42.75 ms │               42.18 / 42.36 ±0.11 / 42.46 ms │    no change │
│ QQuery 20 │        32.08 / 32.17 ±0.12 / 32.39 ms │               32.28 / 32.90 ±0.48 / 33.72 ms │    no change │
│ QQuery 21 │        17.63 / 18.05 ±0.44 / 18.88 ms │               17.75 / 18.01 ±0.20 / 18.26 ms │    no change │
│ QQuery 22 │        73.86 / 75.07 ±0.87 / 76.14 ms │               75.95 / 77.65 ±1.69 / 80.68 ms │    no change │
│ QQuery 23 │     321.12 / 324.17 ±3.53 / 330.70 ms │            323.75 / 327.98 ±6.21 / 340.09 ms │    no change │
│ QQuery 24 │     199.80 / 205.73 ±4.91 / 212.32 ms │            199.56 / 204.94 ±5.33 / 214.73 ms │    no change │
│ QQuery 25 │     109.01 / 111.32 ±1.27 / 112.52 ms │            108.43 / 113.37 ±4.42 / 120.02 ms │    no change │
│ QQuery 26 │        47.48 / 48.00 ±0.39 / 48.66 ms │               47.84 / 47.99 ±0.12 / 48.15 ms │    no change │
│ QQuery 27 │           6.59 / 6.66 ±0.06 / 6.72 ms │                  6.47 / 6.57 ±0.06 / 6.67 ms │    no change │
│ QQuery 28 │        57.40 / 60.65 ±1.64 / 61.78 ms │               61.74 / 62.05 ±0.19 / 62.24 ms │    no change │
│ QQuery 29 │       97.94 / 99.86 ±1.24 / 101.61 ms │              97.68 / 99.20 ±1.53 / 102.08 ms │    no change │
│ QQuery 30 │        37.95 / 38.26 ±0.23 / 38.52 ms │               38.47 / 39.03 ±0.30 / 39.36 ms │    no change │
│ QQuery 31 │     113.88 / 116.76 ±2.91 / 121.51 ms │            114.88 / 116.14 ±1.20 / 118.44 ms │    no change │
│ QQuery 32 │        20.70 / 20.99 ±0.24 / 21.38 ms │               20.99 / 21.23 ±0.13 / 21.35 ms │    no change │
│ QQuery 33 │        38.14 / 38.66 ±0.27 / 38.86 ms │               38.69 / 39.33 ±0.37 / 39.80 ms │    no change │
│ QQuery 34 │        10.14 / 10.33 ±0.14 / 10.51 ms │               10.15 / 10.37 ±0.20 / 10.68 ms │    no change │
│ QQuery 35 │        74.23 / 75.55 ±0.71 / 76.34 ms │               76.88 / 77.60 ±1.12 / 79.82 ms │    no change │
│ QQuery 36 │           6.24 / 6.42 ±0.12 / 6.58 ms │                 6.50 / 7.38 ±1.48 / 10.32 ms │ 1.15x slower │
│ QQuery 37 │           7.78 / 7.97 ±0.16 / 8.18 ms │                  8.01 / 8.24 ±0.16 / 8.41 ms │    no change │
│ QQuery 38 │        66.25 / 66.72 ±0.34 / 67.21 ms │               68.21 / 68.43 ±0.18 / 68.71 ms │    no change │
│ QQuery 39 │        74.21 / 75.04 ±0.88 / 76.75 ms │               75.21 / 76.73 ±1.02 / 78.32 ms │    no change │
│ QQuery 40 │        23.90 / 24.18 ±0.32 / 24.70 ms │               23.84 / 25.89 ±2.17 / 30.00 ms │ 1.07x slower │
│ QQuery 41 │        14.33 / 14.84 ±0.62 / 16.07 ms │               14.62 / 14.77 ±0.20 / 15.17 ms │    no change │
│ QQuery 42 │        23.57 / 24.25 ±0.65 / 25.31 ms │               23.97 / 25.34 ±1.78 / 28.80 ms │    no change │
│ QQuery 43 │           5.16 / 5.26 ±0.13 / 5.51 ms │                  5.59 / 5.71 ±0.10 / 5.90 ms │ 1.09x slower │
│ QQuery 44 │          8.86 / 9.28 ±0.70 / 10.66 ms │                  9.29 / 9.50 ±0.13 / 9.64 ms │    no change │
│ QQuery 45 │        36.42 / 37.21 ±0.81 / 38.56 ms │               37.83 / 38.31 ±0.32 / 38.64 ms │    no change │
│ QQuery 46 │        11.92 / 12.05 ±0.08 / 12.16 ms │               11.94 / 12.30 ±0.52 / 13.30 ms │    no change │
│ QQuery 47 │     209.64 / 213.64 ±2.79 / 217.21 ms │            213.50 / 218.35 ±5.67 / 229.47 ms │    no change │
│ QQuery 48 │        91.30 / 92.00 ±0.48 / 92.70 ms │               92.05 / 93.52 ±1.02 / 94.81 ms │    no change │
│ QQuery 49 │        70.48 / 71.45 ±1.30 / 74.00 ms │               70.88 / 72.69 ±2.60 / 77.86 ms │    no change │
│ QQuery 50 │        58.70 / 59.34 ±0.43 / 59.88 ms │               58.64 / 59.19 ±0.30 / 59.56 ms │    no change │
│ QQuery 51 │       92.95 / 95.74 ±3.94 / 103.56 ms │               93.43 / 96.43 ±2.11 / 99.31 ms │    no change │
│ QQuery 52 │        24.52 / 24.97 ±0.35 / 25.46 ms │               24.37 / 24.45 ±0.08 / 24.60 ms │    no change │
│ QQuery 53 │        29.53 / 29.73 ±0.21 / 30.10 ms │               29.66 / 29.77 ±0.12 / 30.00 ms │    no change │
│ QQuery 54 │        53.48 / 53.88 ±0.23 / 54.14 ms │               53.79 / 53.98 ±0.24 / 54.44 ms │    no change │
│ QQuery 55 │        23.78 / 24.05 ±0.17 / 24.24 ms │               23.82 / 24.24 ±0.31 / 24.59 ms │    no change │
│ QQuery 56 │        39.13 / 39.28 ±0.12 / 39.49 ms │               39.81 / 40.21 ±0.30 / 40.59 ms │    no change │
│ QQuery 57 │     153.89 / 155.84 ±2.37 / 160.51 ms │            155.89 / 158.42 ±3.20 / 164.67 ms │    no change │
│ QQuery 58 │     105.20 / 106.95 ±2.16 / 110.93 ms │            105.54 / 108.21 ±2.91 / 112.98 ms │    no change │
│ QQuery 59 │     106.24 / 107.40 ±0.63 / 107.98 ms │            108.69 / 109.60 ±0.68 / 110.60 ms │    no change │
│ QQuery 60 │        43.24 / 43.67 ±0.32 / 44.17 ms │               44.01 / 45.17 ±1.39 / 47.73 ms │    no change │
│ QQuery 61 │         9.92 / 10.65 ±1.42 / 13.49 ms │               10.12 / 10.23 ±0.07 / 10.34 ms │    no change │
│ QQuery 62 │        39.32 / 40.12 ±0.56 / 41.03 ms │               39.51 / 39.73 ±0.17 / 39.94 ms │    no change │
│ QQuery 63 │        29.67 / 29.99 ±0.31 / 30.44 ms │               30.03 / 30.50 ±0.37 / 31.13 ms │    no change │
│ QQuery 64 │     372.05 / 378.36 ±3.71 / 382.58 ms │            375.69 / 385.11 ±8.04 / 399.96 ms │    no change │
│ QQuery 65 │     133.92 / 137.49 ±4.29 / 145.56 ms │            134.98 / 142.30 ±5.35 / 150.61 ms │    no change │
│ QQuery 66 │        76.33 / 78.56 ±2.08 / 81.48 ms │               76.56 / 77.23 ±0.56 / 78.23 ms │    no change │
│ QQuery 67 │     243.14 / 247.85 ±4.00 / 252.44 ms │            247.37 / 251.04 ±2.34 / 253.16 ms │    no change │
│ QQuery 68 │        11.92 / 12.15 ±0.14 / 12.34 ms │               12.14 / 12.30 ±0.11 / 12.48 ms │    no change │
│ QQuery 69 │        57.49 / 58.36 ±0.86 / 59.98 ms │               58.23 / 61.07 ±3.76 / 68.13 ms │    no change │
│ QQuery 70 │       98.54 / 99.98 ±1.29 / 102.38 ms │             99.73 / 101.09 ±0.85 / 102.05 ms │    no change │
│ QQuery 71 │        34.93 / 37.35 ±4.52 / 46.38 ms │               35.24 / 35.72 ±0.31 / 36.01 ms │    no change │
│ QQuery 72 │ 1528.11 / 1613.01 ±60.71 / 1684.03 ms │        1626.91 / 1719.67 ±60.78 / 1789.96 ms │ 1.07x slower │
│ QQuery 73 │        10.03 / 10.67 ±0.95 / 12.56 ms │               10.16 / 10.32 ±0.13 / 10.53 ms │    no change │
│ QQuery 74 │     267.02 / 273.96 ±6.57 / 283.84 ms │            282.58 / 286.50 ±3.75 / 292.56 ms │    no change │
│ QQuery 75 │     140.58 / 141.38 ±0.98 / 143.27 ms │            143.09 / 146.48 ±4.02 / 154.24 ms │    no change │
│ QQuery 76 │        33.88 / 34.52 ±0.38 / 35.06 ms │               35.06 / 35.72 ±0.44 / 36.20 ms │    no change │
│ QQuery 77 │        60.50 / 61.51 ±1.38 / 64.14 ms │               61.09 / 62.37 ±1.32 / 64.57 ms │    no change │
│ QQuery 78 │     166.36 / 173.31 ±6.12 / 183.33 ms │            167.53 / 171.60 ±4.77 / 180.24 ms │    no change │
│ QQuery 79 │        68.05 / 68.39 ±0.50 / 69.39 ms │               68.94 / 70.08 ±1.37 / 72.73 ms │    no change │
│ QQuery 80 │       94.77 / 98.88 ±5.63 / 110.06 ms │               96.34 / 97.67 ±1.03 / 99.24 ms │    no change │
│ QQuery 81 │        29.23 / 30.82 ±1.54 / 32.97 ms │               29.56 / 31.75 ±3.63 / 38.99 ms │    no change │
│ QQuery 82 │        17.62 / 18.26 ±0.43 / 18.77 ms │               17.95 / 19.18 ±1.67 / 22.44 ms │ 1.05x slower │
│ QQuery 83 │        33.30 / 33.62 ±0.24 / 33.99 ms │               34.18 / 34.50 ±0.32 / 35.08 ms │    no change │
│ QQuery 84 │        31.42 / 31.65 ±0.17 / 31.92 ms │               31.94 / 32.22 ±0.22 / 32.60 ms │    no change │
│ QQuery 85 │     101.23 / 102.62 ±2.31 / 107.20 ms │            100.62 / 101.82 ±0.66 / 102.30 ms │    no change │
│ QQuery 86 │        25.04 / 26.05 ±0.84 / 27.20 ms │               25.48 / 28.51 ±3.80 / 35.88 ms │ 1.09x slower │
│ QQuery 87 │        66.58 / 67.21 ±0.47 / 67.86 ms │               66.89 / 67.83 ±0.62 / 68.50 ms │    no change │
│ QQuery 88 │        59.84 / 60.20 ±0.32 / 60.80 ms │               59.23 / 60.84 ±0.92 / 61.90 ms │    no change │
│ QQuery 89 │        35.98 / 36.53 ±0.50 / 37.31 ms │               36.05 / 36.61 ±0.50 / 37.19 ms │    no change │
│ QQuery 90 │        16.86 / 17.68 ±1.39 / 20.46 ms │               16.87 / 17.03 ±0.13 / 17.27 ms │    no change │
│ QQuery 91 │        41.14 / 42.15 ±0.90 / 43.43 ms │               41.93 / 44.01 ±2.55 / 48.61 ms │    no change │
│ QQuery 92 │        30.10 / 30.53 ±0.47 / 31.38 ms │               30.39 / 30.97 ±0.39 / 31.58 ms │    no change │
│ QQuery 93 │        49.37 / 50.30 ±1.16 / 52.58 ms │               50.08 / 51.16 ±0.93 / 52.75 ms │    no change │
│ QQuery 94 │        38.43 / 38.79 ±0.37 / 39.49 ms │               39.66 / 39.94 ±0.26 / 40.27 ms │    no change │
│ QQuery 95 │        80.26 / 82.50 ±1.67 / 84.90 ms │               80.92 / 83.45 ±2.28 / 86.66 ms │    no change │
│ QQuery 96 │        23.98 / 24.04 ±0.06 / 24.14 ms │               23.89 / 24.14 ±0.24 / 24.54 ms │    no change │
│ QQuery 97 │        51.25 / 51.81 ±0.95 / 53.70 ms │               51.48 / 52.83 ±1.04 / 53.71 ms │    no change │
│ QQuery 98 │        38.14 / 38.38 ±0.33 / 39.04 ms │               38.34 / 38.95 ±0.37 / 39.51 ms │    no change │
│ QQuery 99 │        57.00 / 58.20 ±1.24 / 60.54 ms │               58.45 / 60.69 ±3.09 / 66.65 ms │    no change │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │  9827.64ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 10037.44ms │
│ Average Time (HEAD)                                         │    99.27ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   101.39ms │
│ Queries Faster                                              │          0 │
│ Queries Slower                                              │          6 │
│ Queries with No Change                                      │         93 │
│ 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: 5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9 | Changed: 14d1378f2bdc9b4f64a5c43dbf189d031a706fa0

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 199.1 KiB 144.9 KiB -27.2%
Query 2 102.0 MiB 82.9 MiB -18.7%
Query 3 1.4 MiB 1.9 MiB +32.0%
Query 4 79.7 MiB 79.7 MiB +0.1%
Query 5 13.5 MiB 12.5 MiB -7.5%
Query 6 4.7 MiB 4.4 MiB -6.4%
Query 7 3.6 MiB 3.6 MiB +0.5%
Query 8 1.7 MiB 1.7 MiB +0.9%
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.0 MiB +0.0%
Query 14 170.9 MiB 171.4 MiB +0.3%
Query 15 4.2 MiB 4.2 MiB -0.1%
Query 16 118.6 KiB 118.6 KiB +0.0%
Query 17 41.5 MiB 42.0 MiB +1.1%
Query 18 21.2 MiB 21.3 MiB +0.1%
Query 19 2.3 MiB 1.9 MiB -16.4%
Query 20 114.6 MiB 114.6 MiB -0.0%
Query 21 4.0 MiB 4.0 MiB -0.0%
Query 22 61.8 MiB 61.8 MiB +0.0%
Query 23 213.3 MiB 213.3 MiB -0.0%
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.5 MiB -1.8%
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.8 MiB +3.2%
Query 31 13.4 MiB 13.4 MiB +0.0%
Query 32 2.7 MiB 2.5 MiB -8.1%
Query 33 5.6 MiB 4.2 MiB -25.0%
Query 34 6.0 MiB 6.0 MiB +0.0%
Query 35 16.6 MiB 16.6 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.8 MiB 10.4 MiB -3.1%
Query 39 52.4 MiB 42.1 MiB -19.6%
Query 40 12.2 MiB 12.2 MiB +0.0%
Query 41 2.1 MiB 2.1 MiB +0.0%
Query 42 1.1 MiB 1.3 MiB +13.0%
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 138.7 MiB +7.9%
Query 48 11.4 MiB 11.8 MiB +3.3%
Query 49 52.8 MiB 51.1 MiB -3.1%
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.5 MiB +16.6%
Query 53 20.6 MiB 20.6 MiB +0.0%
Query 54 2.2 MiB 2.1 MiB -4.2%
Query 55 1.5 MiB 1.4 MiB -4.9%
Query 56 2.9 MiB 3.2 MiB +9.9%
Query 57 120.8 MiB 125.3 MiB +3.7%
Query 58 4.2 MiB 4.4 MiB +5.5%
Query 59 11.7 MiB 11.7 MiB +0.0%
Query 60 7.2 MiB 7.2 MiB +0.2%
Query 61 2.4 KiB 2.5 KiB +2.6%
Query 62 3.6 MiB 3.7 MiB +0.1%
Query 63 30.6 MiB 30.6 MiB +0.0%
Query 64 94.8 MiB 82.8 MiB -12.6%
Query 65 29.7 MiB 29.7 MiB +0.0%
Query 66 14.9 MiB 14.9 MiB +0.0%
Query 67 141.3 MiB 138.2 MiB -2.2%
Query 68 6.2 MiB 6.2 MiB +0.0%
Query 69 3.8 MiB 4.1 MiB +7.5%
Query 70 44.0 MiB 44.0 MiB +0.0%
Query 71 50.4 MiB 40.4 MiB -19.8%
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.9 MiB 20.8 MiB -5.1%
Query 76 7.9 MiB 7.9 MiB +0.0%
Query 77 4.1 MiB 4.1 MiB -0.0%
Query 78 111.1 MiB 109.0 MiB -1.9%
Query 79 8.7 MiB 9.3 MiB +7.5%
Query 80 41.7 MiB 41.7 MiB -0.0%
Query 81 4.1 MiB 4.1 MiB +1.5%
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 82.1 MiB -0.0%
Query 87 12.9 MiB 12.9 MiB +0.0%
Query 88 1.8 MiB 1.9 MiB +4.2%
Query 89 112.2 MiB 112.2 MiB -0.0%
Query 90 363.7 KiB 351.7 KiB -3.3%
Query 91 21.1 MiB 31.1 MiB +47.0%
Query 92 2.5 MiB 2.5 MiB +0.0%
Query 93 15.2 MiB 14.9 MiB -2.0%
Query 94 3.7 MiB 3.4 MiB -7.6%
Query 95 17.0 MiB 18.8 MiB +10.7%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB -0.0%
Query 98 114.7 MiB 114.7 MiB -0.0%
Query 99 1.6 MiB 1.6 MiB -0.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
tpcds base (5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9) 213.3 MiB 2.0 GiB 1.8 GiB 9.7×
tpcds changed (14d1378f2bdc9b4f64a5c43dbf189d031a706fa0) 213.3 MiB 1.8 GiB 1.6 GiB 8.8×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 50.0s
Peak memory 2.0 GiB
Avg memory 1.5 GiB
CPU user 193.9s
CPU sys 5.5s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 1.8 GiB
Avg memory 1.3 GiB
CPU user 202.5s
CPU sys 5.7s
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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"
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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.18 ms │                                      1.19 ms │     no change │
│ QQuery 1  │    11.28 ms │                                     11.32 ms │     no change │
│ QQuery 2  │    35.57 ms │                                     35.91 ms │     no change │
│ QQuery 3  │    31.49 ms │                                     31.57 ms │     no change │
│ QQuery 4  │   243.55 ms │                                    244.48 ms │     no change │
│ QQuery 5  │  1496.69 ms │                                   1087.23 ms │ +1.38x faster │
│ QQuery 6  │     1.26 ms │                                      1.24 ms │     no change │
│ QQuery 7  │    12.69 ms │                                     12.97 ms │     no change │
│ QQuery 8  │   358.48 ms │                                    359.77 ms │     no change │
│ QQuery 9  │   523.47 ms │                                    513.26 ms │     no change │
│ QQuery 10 │   200.89 ms │                                    202.91 ms │     no change │
│ QQuery 11 │   211.88 ms │                                    212.15 ms │     no change │
│ QQuery 12 │  1521.10 ms │                                   1123.72 ms │ +1.35x faster │
│ QQuery 13 │  2164.75 ms │                                   1581.51 ms │ +1.37x faster │
│ QQuery 14 │  1597.57 ms │                                   1226.84 ms │ +1.30x faster │
│ QQuery 15 │   289.25 ms │                                    297.41 ms │     no change │
│ QQuery 16 │  3589.95 ms │                                   2230.01 ms │ +1.61x faster │
│ QQuery 17 │  3706.30 ms │                                   2322.45 ms │ +1.60x faster │
│ QQuery 18 │  6831.35 ms │                                   3654.52 ms │ +1.87x faster │
│ QQuery 19 │    26.86 ms │                                     27.21 ms │     no change │
│ QQuery 20 │  1072.24 ms │                                   1061.23 ms │     no change │
│ QQuery 21 │  1368.10 ms │                                   1371.21 ms │     no change │
│ QQuery 22 │  3247.86 ms │                                   3243.72 ms │     no change │
│ QQuery 23 │  9261.54 ms │                                   9184.58 ms │     no change │
│ QQuery 24 │    96.83 ms │                                     95.82 ms │     no change │
│ QQuery 25 │   354.55 ms │                                    352.41 ms │     no change │
│ QQuery 26 │    96.58 ms │                                     96.71 ms │     no change │
│ QQuery 27 │  1153.06 ms │                                   1149.03 ms │     no change │
│ QQuery 28 │  2828.64 ms │                                   2616.69 ms │ +1.08x faster │
│ QQuery 29 │    39.53 ms │                                     39.48 ms │     no change │
│ QQuery 30 │   556.26 ms │                                    550.00 ms │     no change │
│ QQuery 31 │   546.34 ms │                                    540.97 ms │     no change │
│ QQuery 32 │  1103.56 ms │                                   1053.46 ms │     no change │
│ QQuery 33 │ 14548.53 ms │                                   7435.50 ms │ +1.96x faster │
│ QQuery 34 │ 13741.35 ms │                                   7740.94 ms │ +1.78x faster │
│ QQuery 35 │   303.00 ms │                                    299.54 ms │     no change │
│ QQuery 36 │   181.95 ms │                                    133.70 ms │ +1.36x faster │
│ QQuery 37 │    96.93 ms │                                     99.88 ms │     no change │
│ QQuery 38 │    81.72 ms │                                     81.02 ms │     no change │
│ QQuery 39 │   407.46 ms │                                    290.38 ms │ +1.40x faster │
│ QQuery 40 │    14.32 ms │                                     14.21 ms │     no change │
│ QQuery 41 │    13.83 ms │                                     13.76 ms │     no change │
│ QQuery 42 │    13.20 ms │                                     13.02 ms │     no change │
└───────────┴─────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 73982.95ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 52654.94ms │
│ Average Time (HEAD)                                         │  1720.53ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1224.53ms │
│ Queries Faster                                              │         12 │
│ Queries Slower                                              │          0 │
│ Queries with No Change                                      │         31 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │              1.18 / 4.27 ±6.03 / 16.32 ms │                 1.19 / 4.35 ±6.15 / 16.64 ms │     no change │
│ QQuery 1  │            11.28 / 11.33 ±0.04 / 11.38 ms │               11.32 / 11.49 ±0.12 / 11.62 ms │     no change │
│ QQuery 2  │            35.57 / 36.30 ±0.74 / 37.71 ms │               35.91 / 36.17 ±0.24 / 36.60 ms │     no change │
│ QQuery 3  │            31.49 / 32.25 ±0.80 / 33.69 ms │               31.57 / 32.61 ±0.85 / 33.99 ms │     no change │
│ QQuery 4  │         243.55 / 250.05 ±4.22 / 255.24 ms │            244.48 / 251.29 ±6.38 / 262.25 ms │     no change │
│ QQuery 5  │     1496.69 / 1607.91 ±57.03 / 1653.84 ms │        1087.23 / 1134.67 ±30.83 / 1167.57 ms │ +1.42x faster │
│ QQuery 6  │               1.26 / 1.42 ±0.23 / 1.88 ms │                  1.24 / 1.41 ±0.25 / 1.90 ms │     no change │
│ QQuery 7  │            12.69 / 13.04 ±0.28 / 13.54 ms │               12.97 / 13.20 ±0.13 / 13.33 ms │     no change │
│ QQuery 8  │         358.48 / 372.77 ±7.53 / 378.78 ms │           359.77 / 371.76 ±11.16 / 391.78 ms │     no change │
│ QQuery 9  │         523.47 / 540.28 ±9.54 / 547.67 ms │            513.26 / 528.68 ±9.63 / 540.85 ms │     no change │
│ QQuery 10 │         200.89 / 206.07 ±9.10 / 224.25 ms │            202.91 / 207.85 ±8.41 / 224.59 ms │     no change │
│ QQuery 11 │         211.88 / 213.43 ±1.30 / 215.65 ms │            212.15 / 212.66 ±0.47 / 213.50 ms │     no change │
│ QQuery 12 │     1521.10 / 1576.12 ±38.11 / 1622.24 ms │        1123.72 / 1152.39 ±20.78 / 1177.46 ms │ +1.37x faster │
│ QQuery 13 │    2164.75 / 2339.05 ±271.40 / 2876.43 ms │        1581.51 / 1615.96 ±35.42 / 1676.12 ms │ +1.45x faster │
│ QQuery 14 │     1597.57 / 1699.11 ±68.57 / 1790.41 ms │        1226.84 / 1251.99 ±24.40 / 1297.56 ms │ +1.36x faster │
│ QQuery 15 │        289.25 / 308.31 ±17.52 / 333.51 ms │            297.41 / 306.88 ±7.05 / 318.57 ms │     no change │
│ QQuery 16 │    3589.95 / 3732.55 ±117.90 / 3889.44 ms │        2230.01 / 2295.03 ±59.79 / 2392.31 ms │ +1.63x faster │
│ QQuery 17 │    3706.30 / 3880.04 ±112.24 / 4010.86 ms │        2322.45 / 2374.62 ±32.06 / 2420.95 ms │ +1.63x faster │
│ QQuery 18 │    6831.35 / 7183.85 ±316.34 / 7660.11 ms │       3654.52 / 3863.91 ±188.54 / 4218.64 ms │ +1.86x faster │
│ QQuery 19 │            26.86 / 27.16 ±0.37 / 27.85 ms │              27.21 / 45.07 ±22.41 / 79.77 ms │  1.66x slower │
│ QQuery 20 │     1072.24 / 1081.06 ±12.16 / 1104.99 ms │         1061.23 / 1070.98 ±7.25 / 1083.59 ms │     no change │
│ QQuery 21 │      1368.10 / 1377.56 ±6.91 / 1386.51 ms │        1371.21 / 1391.52 ±20.62 / 1427.35 ms │     no change │
│ QQuery 22 │     3247.86 / 3327.03 ±60.93 / 3408.58 ms │        3243.72 / 3268.52 ±24.71 / 3308.03 ms │     no change │
│ QQuery 23 │    9261.54 / 9426.51 ±112.13 / 9541.03 ms │       9184.58 / 9499.71 ±166.58 / 9674.71 ms │     no change │
│ QQuery 24 │         96.83 / 139.09 ±51.99 / 226.34 ms │             95.82 / 101.54 ±7.94 / 116.97 ms │ +1.37x faster │
│ QQuery 25 │         354.55 / 357.69 ±2.76 / 362.38 ms │            352.41 / 355.83 ±3.40 / 362.27 ms │     no change │
│ QQuery 26 │            96.58 / 97.65 ±1.06 / 99.46 ms │               96.71 / 97.31 ±0.65 / 98.57 ms │     no change │
│ QQuery 27 │      1153.06 / 1162.45 ±5.46 / 1168.32 ms │        1149.03 / 1170.98 ±15.90 / 1194.18 ms │     no change │
│ QQuery 28 │     2828.64 / 2865.07 ±34.08 / 2924.39 ms │         2616.69 / 2627.25 ±9.23 / 2642.51 ms │ +1.09x faster │
│ QQuery 29 │            39.53 / 40.08 ±0.59 / 41.09 ms │               39.48 / 42.49 ±5.57 / 53.62 ms │  1.06x slower │
│ QQuery 30 │         556.26 / 559.99 ±4.40 / 568.43 ms │            550.00 / 556.60 ±5.54 / 565.84 ms │     no change │
│ QQuery 31 │        546.34 / 563.57 ±12.86 / 585.84 ms │           540.97 / 554.34 ±12.25 / 572.82 ms │     no change │
│ QQuery 32 │     1103.56 / 1155.62 ±31.40 / 1201.05 ms │        1053.46 / 1063.78 ±18.56 / 1100.81 ms │ +1.09x faster │
│ QQuery 33 │ 14548.53 / 14990.54 ±433.38 / 15648.87 ms │       7435.50 / 7735.45 ±289.85 / 8265.06 ms │ +1.94x faster │
│ QQuery 34 │ 13741.35 / 14584.60 ±620.70 / 15541.01 ms │       7740.94 / 7831.83 ±125.24 / 8076.66 ms │ +1.86x faster │
│ QQuery 35 │        303.00 / 357.85 ±85.75 / 528.44 ms │           299.54 / 334.28 ±38.52 / 406.54 ms │ +1.07x faster │
│ QQuery 36 │        181.95 / 201.58 ±24.39 / 249.13 ms │            133.70 / 142.03 ±6.45 / 153.62 ms │ +1.42x faster │
│ QQuery 37 │          96.93 / 101.77 ±5.34 / 111.54 ms │             99.88 / 104.20 ±5.26 / 114.44 ms │     no change │
│ QQuery 38 │            81.72 / 84.81 ±2.58 / 88.92 ms │               81.02 / 84.05 ±2.84 / 87.57 ms │     no change │
│ QQuery 39 │        407.46 / 420.77 ±16.65 / 453.14 ms │           290.38 / 303.35 ±10.97 / 316.86 ms │ +1.39x faster │
│ QQuery 40 │            14.32 / 14.95 ±0.53 / 15.65 ms │               14.21 / 15.46 ±1.89 / 19.16 ms │     no change │
│ QQuery 41 │            13.83 / 14.06 ±0.14 / 14.22 ms │               13.76 / 14.16 ±0.31 / 14.46 ms │     no change │
│ QQuery 42 │            13.20 / 13.37 ±0.12 / 13.57 ms │               13.02 / 13.20 ±0.12 / 13.37 ms │     no change │
└───────────┴───────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 76973.00ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 54090.86ms │
│ Average Time (HEAD)                                         │  1790.07ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1257.93ms │
│ Queries Faster                                              │         15 │
│ Queries Slower                                              │          2 │
│ Queries with No Change                                      │         26 │
│ 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: 5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9 | Changed: 14d1378f2bdc9b4f64a5c43dbf189d031a706fa0

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 827.7 MiB 847.6 MiB +2.4%
Query 5 1.4 GiB 1.8 GiB +28.0%
Query 6 0 B 0 B 0.0%
Query 7 50.0 MiB 60.1 MiB +20.1%
Query 8 971.8 MiB 948.6 MiB -2.4%
Query 9 594.2 MiB 551.9 MiB -7.1%
Query 10 71.9 MiB 72.9 MiB +1.4%
Query 11 78.1 MiB 76.7 MiB -1.7%
Query 12 1.6 GiB 1.9 GiB +21.7%
Query 13 1.8 GiB 1.9 GiB +3.9%
Query 14 1.8 GiB 1.9 GiB +5.6%
Query 15 1.2 GiB 1.2 GiB -1.3%
Query 16 3.5 GiB 3.4 GiB -2.0%
Query 17 3.4 GiB 3.6 GiB +7.2%
Query 18 7.2 GiB 7.7 GiB +6.4%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.5 MiB 1.3 MiB -12.5%
Query 22 2.4 MiB 2.4 MiB -0.5%
Query 23 13.0 MiB 12.7 MiB -2.3%
Query 24 6.8 MiB 6.9 MiB +0.8%
Query 25 8.1 MiB 7.6 MiB -6.9%
Query 26 7.5 MiB 7.9 MiB +5.4%
Query 27 2.5 MiB 2.6 MiB +5.9%
Query 28 2.0 GiB 2.2 GiB +7.4%
Query 29 624 B 624 B +0.0%
Query 30 669.4 MiB 661.9 MiB -1.1%
Query 31 1.5 GiB 1.5 GiB -1.5%
Query 32 7.1 GiB 7.2 GiB +0.3%
Query 33 12.7 GiB 14.5 GiB +14.0%
Query 34 12.7 GiB 13.7 GiB +7.8%
Query 35 662.1 MiB 670.4 MiB +1.3%
Query 36 474.1 MiB 475.4 MiB +0.3%
Query 37 8.1 MiB 8.1 MiB -0.6%
Query 38 5.3 MiB 4.8 MiB -9.5%
Query 39 450.8 MiB 1.0 GiB +127.3%
Query 40 2.7 MiB 2.9 MiB +5.6%
Query 41 3.1 MiB 3.1 MiB +0.0%
Query 42 1.7 MiB 1.6 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 (5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9) 12.7 GiB 13.8 GiB 1.0 GiB 1.1×
clickbench_partitioned changed (14d1378f2bdc9b4f64a5c43dbf189d031a706fa0) 14.5 GiB 13.7 GiB −823.7 MiB 0.9×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 390.1s
Peak memory 13.8 GiB
Avg memory 6.0 GiB
CPU user 3340.7s
CPU sys 215.9s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 275.1s
Peak memory 13.7 GiB
Avg memory 6.1 GiB
CPU user 2134.1s
CPU sys 183.3s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

#26816 (comment) @asolimando I think I found it 😄

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark tpcds

env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6450137437-3945-vkj9n 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 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"

Results will be posted here when complete


File an issue against this benchmark runner

@Rich-T-kid Rich-T-kid left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this PR itself shows good promise but I think a PR that breaks apart the hash vs spreading of the keys will make the other PRs related to #26780 far smaller & simpler & non dependent on each other

#[cfg(not(feature = "force_hash_collisions"))]
use arrow::{downcast_dictionary_array, downcast_primitive_array};
use foldhash::fast::FixedState;
#[cfg(not(feature = "force_hash_collisions"))]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can trim this. we just need to break apart the actually hashing of values from the spreading of the keys.

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 14d1378 (14d1378) to 5d9b7fd diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9"
changed:
  ref: "14d1378f2bdc9b4f64a5c43dbf189d031a706fa0"
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_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.35 ms │                                      5.45 ms │    no change │
│ QQuery 2  │   77.31 ms │                                     77.50 ms │    no change │
│ QQuery 3  │   29.25 ms │                                     29.17 ms │    no change │
│ QQuery 4  │  888.13 ms │                                    884.33 ms │    no change │
│ QQuery 5  │   51.09 ms │                                     50.63 ms │    no change │
│ QQuery 6  │   34.36 ms │                                     34.37 ms │    no change │
│ QQuery 7  │   73.09 ms │                                     73.11 ms │    no change │
│ QQuery 8  │   38.10 ms │                                     38.23 ms │    no change │
│ QQuery 9  │   52.90 ms │                                     51.86 ms │    no change │
│ QQuery 10 │   62.24 ms │                                     61.69 ms │    no change │
│ QQuery 11 │  496.68 ms │                                    494.25 ms │    no change │
│ QQuery 12 │   26.03 ms │                                     26.48 ms │    no change │
│ QQuery 13 │  112.54 ms │                                    112.50 ms │    no change │
│ QQuery 14 │  385.17 ms │                                    391.02 ms │    no change │
│ QQuery 15 │   52.85 ms │                                     53.27 ms │    no change │
│ QQuery 16 │    6.37 ms │                                      6.30 ms │    no change │
│ QQuery 17 │   82.28 ms │                                     80.15 ms │    no change │
│ QQuery 18 │  109.50 ms │                                    109.53 ms │    no change │
│ QQuery 19 │   41.60 ms │                                     42.17 ms │    no change │
│ QQuery 20 │   31.45 ms │                                     31.71 ms │    no change │
│ QQuery 21 │   17.67 ms │                                     17.50 ms │    no change │
│ QQuery 22 │   73.98 ms │                                     72.49 ms │    no change │
│ QQuery 23 │  316.71 ms │                                    319.87 ms │    no change │
│ QQuery 24 │  202.38 ms │                                    202.81 ms │    no change │
│ QQuery 25 │  108.83 ms │                                    110.62 ms │    no change │
│ QQuery 26 │   47.53 ms │                                     47.62 ms │    no change │
│ QQuery 27 │    6.55 ms │                                      6.61 ms │    no change │
│ QQuery 28 │   57.19 ms │                                     57.80 ms │    no change │
│ QQuery 29 │   96.22 ms │                                     97.08 ms │    no change │
│ QQuery 30 │   37.40 ms │                                     37.58 ms │    no change │
│ QQuery 31 │  115.06 ms │                                    113.37 ms │    no change │
│ QQuery 32 │   20.74 ms │                                     20.93 ms │    no change │
│ QQuery 33 │   38.51 ms │                                     39.27 ms │    no change │
│ QQuery 34 │   10.28 ms │                                     10.21 ms │    no change │
│ QQuery 35 │   73.34 ms │                                     74.25 ms │    no change │
│ QQuery 36 │    6.41 ms │                                      6.38 ms │    no change │
│ QQuery 37 │    7.81 ms │                                      7.77 ms │    no change │
│ QQuery 38 │   67.25 ms │                                     66.82 ms │    no change │
│ QQuery 39 │   73.53 ms │                                     74.56 ms │    no change │
│ QQuery 40 │   23.12 ms │                                     24.05 ms │    no change │
│ QQuery 41 │   13.90 ms │                                     14.39 ms │    no change │
│ QQuery 42 │   24.23 ms │                                     24.13 ms │    no change │
│ QQuery 43 │    5.10 ms │                                      5.54 ms │ 1.09x slower │
│ QQuery 44 │    9.01 ms │                                      9.02 ms │    no change │
│ QQuery 45 │   36.62 ms │                                     36.24 ms │    no change │
│ QQuery 46 │   12.02 ms │                                     12.07 ms │    no change │
│ QQuery 47 │  208.08 ms │                                    217.91 ms │    no change │
│ QQuery 48 │   92.62 ms │                                     92.83 ms │    no change │
│ QQuery 49 │   70.91 ms │                                     70.95 ms │    no change │
│ QQuery 50 │   59.19 ms │                                     59.43 ms │    no change │
│ QQuery 51 │   91.23 ms │                                     92.63 ms │    no change │
│ QQuery 52 │   25.05 ms │                                     24.80 ms │    no change │
│ QQuery 53 │   29.70 ms │                                     30.08 ms │    no change │
│ QQuery 54 │   54.09 ms │                                     53.95 ms │    no change │
│ QQuery 55 │   24.29 ms │                                     24.15 ms │    no change │
│ QQuery 56 │   40.09 ms │                                     39.74 ms │    no change │
│ QQuery 57 │  155.01 ms │                                    154.84 ms │    no change │
│ QQuery 58 │  104.78 ms │                                    105.04 ms │    no change │
│ QQuery 59 │  107.98 ms │                                    106.57 ms │    no change │
│ QQuery 60 │   43.74 ms │                                     43.90 ms │    no change │
│ QQuery 61 │   10.00 ms │                                     10.36 ms │    no change │
│ QQuery 62 │   38.82 ms │                                     39.14 ms │    no change │
│ QQuery 63 │   29.61 ms │                                     29.64 ms │    no change │
│ QQuery 64 │  376.56 ms │                                    371.20 ms │    no change │
│ QQuery 65 │  137.04 ms │                                    136.09 ms │    no change │
│ QQuery 66 │   76.88 ms │                                     74.41 ms │    no change │
│ QQuery 67 │  238.12 ms │                                    238.71 ms │    no change │
│ QQuery 68 │   12.21 ms │                                     11.81 ms │    no change │
│ QQuery 69 │   57.46 ms │                                     57.10 ms │    no change │
│ QQuery 70 │  100.94 ms │                                    100.30 ms │    no change │
│ QQuery 71 │   35.39 ms │                                     35.56 ms │    no change │
│ QQuery 72 │ 1534.62 ms │                                   1588.06 ms │    no change │
│ QQuery 73 │    9.76 ms │                                     10.49 ms │ 1.07x slower │
│ QQuery 74 │  262.77 ms │                                    262.57 ms │    no change │
│ QQuery 75 │  141.07 ms │                                    141.93 ms │    no change │
│ QQuery 76 │   35.15 ms │                                     35.54 ms │    no change │
│ QQuery 77 │   60.37 ms │                                     60.24 ms │    no change │
│ QQuery 78 │  165.66 ms │                                    165.21 ms │    no change │
│ QQuery 79 │   67.77 ms │                                     67.64 ms │    no change │
│ QQuery 80 │   97.77 ms │                                     98.28 ms │    no change │
│ QQuery 81 │   29.78 ms │                                     29.88 ms │    no change │
│ QQuery 82 │   17.94 ms │                                     17.68 ms │    no change │
│ QQuery 83 │   33.05 ms │                                     33.39 ms │    no change │
│ QQuery 84 │   31.46 ms │                                     31.36 ms │    no change │
│ QQuery 85 │  100.14 ms │                                    100.20 ms │    no change │
│ QQuery 86 │   26.21 ms │                                     25.39 ms │    no change │
│ QQuery 87 │   65.41 ms │                                     67.69 ms │    no change │
│ QQuery 88 │   59.75 ms │                                     59.74 ms │    no change │
│ QQuery 89 │   35.91 ms │                                     36.31 ms │    no change │
│ QQuery 90 │   16.63 ms │                                     16.87 ms │    no change │
│ QQuery 91 │   41.21 ms │                                     41.79 ms │    no change │
│ QQuery 92 │   29.08 ms │                                     29.75 ms │    no change │
│ QQuery 93 │   48.54 ms │                                     49.51 ms │    no change │
│ QQuery 94 │   38.25 ms │                                     39.27 ms │    no change │
│ QQuery 95 │   80.74 ms │                                     80.67 ms │    no change │
│ QQuery 96 │   23.96 ms │                                     24.30 ms │    no change │
│ QQuery 97 │   50.29 ms │                                     51.22 ms │    no change │
│ QQuery 98 │   38.03 ms │                                     38.87 ms │    no change │
│ QQuery 99 │   57.21 ms │                                     57.09 ms │    no change │
└───────────┴────────────┴──────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9576.03ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9644.75ms │
│ Average Time (HEAD)                                         │   96.73ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   97.42ms │
│ Queries Faster                                              │         0 │
│ Queries Slower                                              │         2 │
│ Queries with No Change                                      │        97 │
│ Queries with Failure                                        │         0 │
└─────────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.35 / 5.96 ±1.05 / 8.05 ms │                  5.45 / 6.08 ±1.03 / 8.13 ms │     no change │
│ QQuery 2  │        77.31 / 77.94 ±0.40 / 78.51 ms │               77.50 / 77.95 ±0.47 / 78.85 ms │     no change │
│ QQuery 3  │        29.25 / 29.43 ±0.16 / 29.68 ms │               29.17 / 29.32 ±0.23 / 29.78 ms │     no change │
│ QQuery 4  │     888.13 / 903.80 ±9.58 / 915.63 ms │           884.33 / 897.03 ±11.46 / 918.19 ms │     no change │
│ QQuery 5  │        51.09 / 52.13 ±1.20 / 54.32 ms │               50.63 / 51.24 ±0.77 / 52.73 ms │     no change │
│ QQuery 6  │        34.36 / 34.66 ±0.24 / 35.06 ms │               34.37 / 34.51 ±0.12 / 34.70 ms │     no change │
│ QQuery 7  │        73.09 / 73.97 ±0.56 / 74.56 ms │               73.11 / 73.91 ±0.47 / 74.39 ms │     no change │
│ QQuery 8  │        38.10 / 40.53 ±4.06 / 48.59 ms │               38.23 / 40.11 ±3.12 / 46.27 ms │     no change │
│ QQuery 9  │        52.90 / 54.59 ±0.97 / 55.78 ms │               51.86 / 54.48 ±1.71 / 56.70 ms │     no change │
│ QQuery 10 │        62.24 / 62.97 ±0.50 / 63.55 ms │               61.69 / 61.92 ±0.16 / 62.13 ms │     no change │
│ QQuery 11 │    496.68 / 512.86 ±12.55 / 532.90 ms │           494.25 / 507.49 ±13.20 / 532.51 ms │     no change │
│ QQuery 12 │        26.03 / 26.53 ±0.49 / 27.32 ms │               26.48 / 27.11 ±0.37 / 27.49 ms │     no change │
│ QQuery 13 │     112.54 / 114.96 ±2.36 / 118.85 ms │            112.50 / 113.79 ±1.25 / 115.96 ms │     no change │
│ QQuery 14 │     385.17 / 391.48 ±4.83 / 397.52 ms │            391.02 / 393.37 ±3.75 / 400.86 ms │     no change │
│ QQuery 15 │        52.85 / 54.57 ±0.88 / 55.35 ms │               53.27 / 54.65 ±2.24 / 59.11 ms │     no change │
│ QQuery 16 │           6.37 / 6.56 ±0.26 / 7.05 ms │                  6.30 / 6.51 ±0.19 / 6.85 ms │     no change │
│ QQuery 17 │        82.28 / 83.24 ±0.84 / 84.63 ms │               80.15 / 81.31 ±1.50 / 84.27 ms │     no change │
│ QQuery 18 │     109.50 / 112.00 ±3.52 / 118.84 ms │            109.53 / 110.66 ±1.34 / 113.28 ms │     no change │
│ QQuery 19 │        41.60 / 42.05 ±0.46 / 42.65 ms │               42.17 / 42.42 ±0.14 / 42.56 ms │     no change │
│ QQuery 20 │        31.45 / 31.88 ±0.29 / 32.21 ms │               31.71 / 32.07 ±0.25 / 32.30 ms │     no change │
│ QQuery 21 │        17.67 / 17.87 ±0.15 / 18.10 ms │               17.50 / 17.65 ±0.13 / 17.83 ms │     no change │
│ QQuery 22 │        73.98 / 76.37 ±1.66 / 78.09 ms │               72.49 / 73.67 ±1.01 / 75.29 ms │     no change │
│ QQuery 23 │     316.71 / 323.07 ±4.86 / 331.22 ms │            319.87 / 321.98 ±1.75 / 325.02 ms │     no change │
│ QQuery 24 │     202.38 / 205.34 ±1.57 / 206.71 ms │            202.81 / 205.96 ±5.03 / 215.94 ms │     no change │
│ QQuery 25 │     108.83 / 112.77 ±4.53 / 121.63 ms │            110.62 / 111.64 ±0.88 / 112.71 ms │     no change │
│ QQuery 26 │        47.53 / 48.16 ±0.37 / 48.56 ms │               47.62 / 47.87 ±0.24 / 48.27 ms │     no change │
│ QQuery 27 │           6.55 / 6.67 ±0.07 / 6.77 ms │                  6.61 / 6.75 ±0.13 / 6.99 ms │     no change │
│ QQuery 28 │        57.19 / 61.93 ±3.89 / 68.21 ms │               57.80 / 61.16 ±1.88 / 63.53 ms │     no change │
│ QQuery 29 │       96.22 / 99.72 ±3.00 / 104.90 ms │             97.08 / 100.05 ±1.70 / 102.24 ms │     no change │
│ QQuery 30 │        37.40 / 37.77 ±0.39 / 38.37 ms │               37.58 / 38.12 ±0.34 / 38.57 ms │     no change │
│ QQuery 31 │     115.06 / 117.48 ±2.86 / 122.49 ms │            113.37 / 115.55 ±3.05 / 121.55 ms │     no change │
│ QQuery 32 │        20.74 / 21.02 ±0.16 / 21.23 ms │               20.93 / 21.15 ±0.18 / 21.39 ms │     no change │
│ QQuery 33 │        38.51 / 38.81 ±0.21 / 39.12 ms │               39.27 / 39.67 ±0.42 / 40.49 ms │     no change │
│ QQuery 34 │        10.28 / 10.33 ±0.06 / 10.41 ms │               10.21 / 10.46 ±0.14 / 10.58 ms │     no change │
│ QQuery 35 │        73.34 / 74.66 ±1.74 / 78.01 ms │               74.25 / 75.85 ±0.83 / 76.47 ms │     no change │
│ QQuery 36 │           6.41 / 6.49 ±0.08 / 6.62 ms │                  6.38 / 6.47 ±0.08 / 6.61 ms │     no change │
│ QQuery 37 │           7.81 / 8.19 ±0.24 / 8.49 ms │                  7.77 / 8.49 ±0.55 / 9.17 ms │     no change │
│ QQuery 38 │        67.25 / 67.75 ±0.40 / 68.25 ms │               66.82 / 67.41 ±0.71 / 68.73 ms │     no change │
│ QQuery 39 │        73.53 / 74.45 ±0.73 / 75.35 ms │               74.56 / 75.69 ±0.63 / 76.22 ms │     no change │
│ QQuery 40 │        23.12 / 23.88 ±0.72 / 24.92 ms │               24.05 / 24.46 ±0.30 / 24.93 ms │     no change │
│ QQuery 41 │        13.90 / 14.13 ±0.12 / 14.24 ms │               14.39 / 14.50 ±0.09 / 14.64 ms │     no change │
│ QQuery 42 │        24.23 / 24.99 ±0.95 / 26.81 ms │               24.13 / 25.60 ±1.81 / 29.12 ms │     no change │
│ QQuery 43 │           5.10 / 5.26 ±0.17 / 5.59 ms │                  5.54 / 5.64 ±0.07 / 5.71 ms │  1.07x slower │
│ QQuery 44 │           9.01 / 9.07 ±0.06 / 9.17 ms │                  9.02 / 9.15 ±0.09 / 9.29 ms │     no change │
│ QQuery 45 │        36.62 / 37.61 ±0.63 / 38.46 ms │               36.24 / 37.94 ±2.05 / 41.95 ms │     no change │
│ QQuery 46 │        12.02 / 12.21 ±0.18 / 12.53 ms │               12.07 / 12.18 ±0.11 / 12.32 ms │     no change │
│ QQuery 47 │     208.08 / 214.04 ±4.58 / 221.42 ms │            217.91 / 221.76 ±2.66 / 224.11 ms │     no change │
│ QQuery 48 │        92.62 / 93.51 ±0.53 / 94.25 ms │               92.83 / 93.21 ±0.40 / 93.79 ms │     no change │
│ QQuery 49 │        70.91 / 72.31 ±1.21 / 74.52 ms │               70.95 / 72.77 ±1.51 / 75.10 ms │     no change │
│ QQuery 50 │        59.19 / 60.11 ±0.60 / 60.83 ms │               59.43 / 59.72 ±0.28 / 60.18 ms │     no change │
│ QQuery 51 │       91.23 / 95.81 ±5.26 / 106.00 ms │              92.63 / 96.48 ±4.38 / 104.37 ms │     no change │
│ QQuery 52 │        25.05 / 25.21 ±0.09 / 25.31 ms │               24.80 / 25.10 ±0.24 / 25.47 ms │     no change │
│ QQuery 53 │        29.70 / 30.37 ±1.06 / 32.47 ms │               30.08 / 31.31 ±1.93 / 35.15 ms │     no change │
│ QQuery 54 │        54.09 / 54.96 ±1.09 / 57.08 ms │               53.95 / 54.22 ±0.18 / 54.47 ms │     no change │
│ QQuery 55 │        24.29 / 24.42 ±0.13 / 24.67 ms │               24.15 / 24.58 ±0.29 / 24.99 ms │     no change │
│ QQuery 56 │        40.09 / 40.50 ±0.42 / 41.14 ms │               39.74 / 40.03 ±0.21 / 40.25 ms │     no change │
│ QQuery 57 │     155.01 / 156.81 ±1.48 / 159.51 ms │            154.84 / 157.93 ±2.59 / 161.77 ms │     no change │
│ QQuery 58 │     104.78 / 107.64 ±3.09 / 113.60 ms │            105.04 / 107.17 ±1.98 / 110.90 ms │     no change │
│ QQuery 59 │     107.98 / 109.14 ±0.80 / 110.44 ms │            106.57 / 108.60 ±1.76 / 111.59 ms │     no change │
│ QQuery 60 │        43.74 / 44.89 ±1.45 / 47.53 ms │               43.90 / 45.97 ±2.40 / 49.03 ms │     no change │
│ QQuery 61 │        10.00 / 10.14 ±0.11 / 10.27 ms │               10.36 / 10.53 ±0.11 / 10.70 ms │     no change │
│ QQuery 62 │        38.82 / 39.61 ±0.65 / 40.67 ms │               39.14 / 40.18 ±1.61 / 43.39 ms │     no change │
│ QQuery 63 │        29.61 / 29.95 ±0.27 / 30.37 ms │               29.64 / 30.19 ±0.46 / 30.99 ms │     no change │
│ QQuery 64 │     376.56 / 381.10 ±6.11 / 393.01 ms │            371.20 / 375.01 ±3.14 / 379.74 ms │     no change │
│ QQuery 65 │     137.04 / 138.76 ±1.47 / 141.27 ms │            136.09 / 139.61 ±2.49 / 143.76 ms │     no change │
│ QQuery 66 │        76.88 / 77.56 ±0.61 / 78.63 ms │               74.41 / 76.16 ±1.61 / 78.34 ms │     no change │
│ QQuery 67 │     238.12 / 245.00 ±3.85 / 249.76 ms │            238.71 / 242.53 ±2.27 / 245.18 ms │     no change │
│ QQuery 68 │        12.21 / 12.36 ±0.19 / 12.72 ms │               11.81 / 12.03 ±0.21 / 12.42 ms │     no change │
│ QQuery 69 │        57.46 / 57.79 ±0.25 / 58.11 ms │               57.10 / 57.62 ±0.57 / 58.71 ms │     no change │
│ QQuery 70 │     100.94 / 103.56 ±3.57 / 110.62 ms │            100.30 / 101.85 ±1.81 / 105.29 ms │     no change │
│ QQuery 71 │        35.39 / 35.75 ±0.35 / 36.41 ms │               35.56 / 36.09 ±0.35 / 36.53 ms │     no change │
│ QQuery 72 │ 1534.62 / 1589.68 ±62.57 / 1706.22 ms │        1588.06 / 1701.25 ±80.25 / 1824.14 ms │  1.07x slower │
│ QQuery 73 │          9.76 / 9.91 ±0.12 / 10.04 ms │               10.49 / 10.50 ±0.01 / 10.51 ms │  1.06x slower │
│ QQuery 74 │     262.77 / 269.87 ±4.59 / 274.21 ms │            262.57 / 270.73 ±8.51 / 286.51 ms │     no change │
│ QQuery 75 │     141.07 / 143.36 ±1.66 / 146.03 ms │            141.93 / 144.36 ±3.43 / 151.13 ms │     no change │
│ QQuery 76 │        35.15 / 35.54 ±0.23 / 35.79 ms │               35.54 / 36.00 ±0.52 / 36.65 ms │     no change │
│ QQuery 77 │        60.37 / 60.71 ±0.29 / 61.18 ms │               60.24 / 60.38 ±0.14 / 60.64 ms │     no change │
│ QQuery 78 │     165.66 / 170.46 ±4.53 / 178.61 ms │            165.21 / 171.35 ±5.82 / 182.23 ms │     no change │
│ QQuery 79 │        67.77 / 69.55 ±2.73 / 74.94 ms │               67.64 / 68.24 ±0.55 / 69.27 ms │     no change │
│ QQuery 80 │        97.77 / 98.26 ±0.30 / 98.65 ms │             98.28 / 101.63 ±5.02 / 111.54 ms │     no change │
│ QQuery 81 │        29.78 / 30.28 ±0.36 / 30.75 ms │               29.88 / 30.23 ±0.28 / 30.67 ms │     no change │
│ QQuery 82 │        17.94 / 18.27 ±0.24 / 18.59 ms │               17.68 / 17.83 ±0.12 / 18.04 ms │     no change │
│ QQuery 83 │        33.05 / 34.30 ±1.97 / 38.21 ms │               33.39 / 33.64 ±0.21 / 33.95 ms │     no change │
│ QQuery 84 │        31.46 / 31.79 ±0.27 / 32.26 ms │               31.36 / 31.44 ±0.05 / 31.50 ms │     no change │
│ QQuery 85 │     100.14 / 101.30 ±1.07 / 102.85 ms │            100.20 / 104.43 ±3.41 / 110.03 ms │     no change │
│ QQuery 86 │        26.21 / 27.42 ±1.64 / 30.66 ms │               25.39 / 25.85 ±0.28 / 26.12 ms │ +1.06x faster │
│ QQuery 87 │        65.41 / 67.41 ±1.06 / 68.45 ms │               67.69 / 68.45 ±0.60 / 69.07 ms │     no change │
│ QQuery 88 │        59.75 / 59.99 ±0.27 / 60.52 ms │               59.74 / 61.42 ±2.59 / 66.56 ms │     no change │
│ QQuery 89 │        35.91 / 36.20 ±0.34 / 36.83 ms │               36.31 / 37.16 ±1.10 / 39.30 ms │     no change │
│ QQuery 90 │        16.63 / 17.56 ±1.63 / 20.81 ms │               16.87 / 17.00 ±0.09 / 17.09 ms │     no change │
│ QQuery 91 │        41.21 / 41.64 ±0.39 / 42.28 ms │               41.79 / 42.10 ±0.34 / 42.76 ms │     no change │
│ QQuery 92 │        29.08 / 30.23 ±0.93 / 31.22 ms │               29.75 / 30.38 ±0.51 / 31.24 ms │     no change │
│ QQuery 93 │        48.54 / 50.11 ±0.98 / 51.43 ms │               49.51 / 51.25 ±1.50 / 53.74 ms │     no change │
│ QQuery 94 │        38.25 / 38.43 ±0.18 / 38.70 ms │               39.27 / 40.96 ±1.97 / 44.68 ms │  1.07x slower │
│ QQuery 95 │        80.74 / 81.71 ±1.26 / 84.16 ms │               80.67 / 82.22 ±1.14 / 84.00 ms │     no change │
│ QQuery 96 │        23.96 / 24.51 ±0.95 / 26.41 ms │               24.30 / 24.41 ±0.12 / 24.61 ms │     no change │
│ QQuery 97 │        50.29 / 51.80 ±1.26 / 53.34 ms │               51.22 / 53.53 ±2.75 / 58.06 ms │     no change │
│ QQuery 98 │        38.03 / 38.52 ±0.59 / 39.63 ms │               38.87 / 40.17 ±1.23 / 42.33 ms │     no change │
│ QQuery 99 │        57.21 / 58.41 ±2.06 / 62.52 ms │               57.09 / 57.56 ±0.27 / 57.87 ms │     no change │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9796.58ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9906.12ms │
│ Average Time (HEAD)                                         │   98.96ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  100.06ms │
│ Queries Faster                                              │         1 │
│ Queries Slower                                              │         4 │
│ Queries with No Change                                      │        94 │
│ 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: 5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9 | Changed: 14d1378f2bdc9b4f64a5c43dbf189d031a706fa0

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 139.5 KiB 197.5 KiB +41.6%
Query 2 91.0 MiB 70.9 MiB -22.1%
Query 3 1.9 MiB 1.7 MiB -11.6%
Query 4 79.7 MiB 79.7 MiB +0.0%
Query 5 12.5 MiB 12.5 MiB +0.1%
Query 6 4.7 MiB 4.8 MiB +1.3%
Query 7 3.6 MiB 3.6 MiB +0.7%
Query 8 1.7 MiB 1.8 MiB +6.5%
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 124.1 MiB +8.5%
Query 13 13.7 MiB 13.7 MiB +0.0%
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 365.6 KiB +208.3%
Query 17 41.0 MiB 42.0 MiB +2.3%
Query 18 21.2 MiB 21.2 MiB +0.1%
Query 19 2.1 MiB 1.9 MiB -9.0%
Query 20 114.6 MiB 124.3 MiB +8.5%
Query 21 4.0 MiB 3.3 MiB -16.6%
Query 22 61.8 MiB 61.8 MiB +0.0%
Query 23 212.7 MiB 211.5 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 4.0 MiB 3.4 MiB -15.1%
Query 27 1.6 MiB 1.6 MiB +0.0%
Query 28 1.3 MiB 1.3 MiB +0.0%
Query 29 102.9 MiB 104.7 MiB +1.8%
Query 30 3.8 MiB 3.8 MiB -0.8%
Query 31 13.4 MiB 13.4 MiB +0.0%
Query 32 2.7 MiB 2.5 MiB -8.1%
Query 33 5.6 MiB 4.3 MiB -22.9%
Query 34 6.0 MiB 6.0 MiB +0.0%
Query 35 16.6 MiB 16.6 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.5 MiB +0.4%
Query 39 33.5 MiB 32.9 MiB -1.8%
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 962.0 KiB -26.2%
Query 43 292.2 KiB 275.0 KiB -5.9%
Query 44 233.2 KiB 233.2 KiB +0.0%
Query 45 4.5 MiB 4.6 MiB +2.1%
Query 46 6.2 MiB 6.2 MiB +0.0%
Query 47 132.6 MiB 132.6 MiB +0.0%
Query 48 11.8 MiB 11.4 MiB -3.2%
Query 49 43.2 MiB 42.4 MiB -1.9%
Query 50 16.9 MiB 17.3 MiB +2.2%
Query 51 178.0 MiB 177.7 MiB -0.2%
Query 52 1.5 MiB 1.5 MiB -0.8%
Query 53 30.6 MiB 30.6 MiB +0.0%
Query 54 2.1 MiB 2.1 MiB +0.0%
Query 55 1.5 MiB 1.3 MiB -14.1%
Query 56 3.1 MiB 3.2 MiB +5.7%
Query 57 125.6 MiB 125.3 MiB -0.3%
Query 58 4.4 MiB 4.4 MiB +0.5%
Query 59 11.7 MiB 11.7 MiB +0.0%
Query 60 7.2 MiB 7.2 MiB +0.2%
Query 61 2.4 KiB 2.4 KiB +0.0%
Query 62 3.3 MiB 3.3 MiB -0.1%
Query 63 30.6 MiB 30.6 MiB +0.0%
Query 64 84.7 MiB 84.7 MiB +0.0%
Query 65 29.7 MiB 29.7 MiB -0.0%
Query 66 14.9 MiB 14.9 MiB +0.0%
Query 67 141.0 MiB 138.2 MiB -2.0%
Query 68 6.2 MiB 6.2 MiB +0.0%
Query 69 3.9 MiB 3.7 MiB -2.9%
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.3 MiB -4.7%
Query 76 7.9 MiB 7.9 MiB +0.0%
Query 77 4.1 MiB 4.1 MiB -0.0%
Query 78 111.1 MiB 109.9 MiB -1.1%
Query 79 8.0 MiB 8.7 MiB +8.1%
Query 80 43.2 MiB 42.4 MiB -1.9%
Query 81 4.1 MiB 4.1 MiB -1.5%
Query 82 4.9 MiB 4.9 MiB +0.0%
Query 83 9.7 MiB 9.7 MiB +0.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.3%
Query 88 1.7 MiB 1.6 MiB -5.5%
Query 89 112.2 MiB 112.2 MiB -0.0%
Query 90 351.7 KiB 357.5 KiB +1.6%
Query 91 31.0 MiB 30.9 MiB -0.1%
Query 92 2.5 MiB 2.9 MiB +17.7%
Query 93 15.4 MiB 14.9 MiB -3.3%
Query 94 3.7 MiB 3.4 MiB -7.6%
Query 95 16.9 MiB 17.0 MiB +0.6%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB +0.0%
Query 98 114.7 MiB 124.4 MiB +8.4%
Query 99 1.6 MiB 1.7 MiB +2.1%

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 (5d9b7fd45ba0e27225effa91fd4e7a0ae4eeeff9) 212.7 MiB 2.0 GiB 1.8 GiB 9.7×
tpcds changed (14d1378f2bdc9b4f64a5c43dbf189d031a706fa0) 211.5 MiB 1.9 GiB 1.6 GiB 9.0×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 50.0s
Peak memory 2.0 GiB
Avg memory 1.5 GiB
CPU user 194.8s
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.9s
CPU sys 5.6s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/repartition-dictionary-hash-cache branch from 14d1378 to 81d2bb6 Compare October 27, 2026 18:38
@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: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"

@github-actions github-actions Bot added common Related to common crate physical-plan Changes to the physical-plan crate labels Oct 27, 2026
@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6450535006-3948-l48zw 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 81d2bb6 (81d2bb6) to acbad14 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"

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-c6450535006-3946-chfdb 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 81d2bb6 (81d2bb6) to acbad14 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"

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-c6450535006-3947-ndlnj 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 81d2bb6 (81d2bb6) to acbad14 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"

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 81d2bb6 (81d2bb6) to acbad14 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"
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_repartition-dictionary-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃      HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │  41.21 ms │                                     41.28 ms │ no change │
│ QQuery 2  │  19.40 ms │                                     19.45 ms │ no change │
│ QQuery 3  │  28.73 ms │                                     28.99 ms │ no change │
│ QQuery 4  │  18.01 ms │                                     17.78 ms │ no change │
│ QQuery 5  │  36.22 ms │                                     36.84 ms │ no change │
│ QQuery 6  │  13.96 ms │                                     14.14 ms │ no change │
│ QQuery 7  │  43.14 ms │                                     43.26 ms │ no change │
│ QQuery 8  │  42.44 ms │                                     41.86 ms │ no change │
│ QQuery 9  │  52.31 ms │                                     52.14 ms │ no change │
│ QQuery 10 │  61.02 ms │                                     61.26 ms │ no change │
│ QQuery 11 │  14.22 ms │                                     14.34 ms │ no change │
│ QQuery 12 │  21.75 ms │                                     21.96 ms │ no change │
│ QQuery 13 │  47.93 ms │                                     49.29 ms │ no change │
│ QQuery 14 │  24.80 ms │                                     25.01 ms │ no change │
│ QQuery 15 │  32.43 ms │                                     32.41 ms │ no change │
│ QQuery 16 │  14.01 ms │                                     14.20 ms │ no change │
│ QQuery 17 │  82.01 ms │                                     78.49 ms │ no change │
│ QQuery 18 │ 118.32 ms │                                    119.48 ms │ no change │
│ QQuery 19 │  31.09 ms │                                     30.94 ms │ no change │
│ QQuery 20 │  35.13 ms │                                     35.01 ms │ no change │
│ QQuery 21 │  57.46 ms │                                     56.79 ms │ no change │
│ QQuery 22 │  16.66 ms │                                     16.38 ms │ no change │
└───────────┴───────────┴──────────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 852.24ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 851.31ms │
│ Average Time (HEAD)                                         │  38.74ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  38.70ms │
│ 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_repartition-dictionary-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                              HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │    41.21 / 41.93 ±1.19 / 44.30 ms │               41.28 / 42.03 ±1.15 / 44.29 ms │ no change │
│ QQuery 2  │    19.40 / 19.58 ±0.23 / 20.00 ms │               19.45 / 20.04 ±0.96 / 21.93 ms │ no change │
│ QQuery 3  │    28.73 / 29.13 ±0.34 / 29.57 ms │               28.99 / 29.16 ±0.17 / 29.46 ms │ no change │
│ QQuery 4  │    18.01 / 18.73 ±0.53 / 19.51 ms │               17.78 / 18.68 ±0.64 / 19.63 ms │ no change │
│ QQuery 5  │    36.22 / 36.81 ±0.68 / 37.99 ms │               36.84 / 37.03 ±0.25 / 37.49 ms │ no change │
│ QQuery 6  │    13.96 / 14.16 ±0.28 / 14.71 ms │               14.14 / 14.64 ±0.87 / 16.38 ms │ no change │
│ QQuery 7  │    43.14 / 43.98 ±0.64 / 44.86 ms │               43.26 / 45.46 ±2.60 / 50.52 ms │ no change │
│ QQuery 8  │    42.44 / 43.20 ±1.17 / 45.50 ms │               41.86 / 42.06 ±0.13 / 42.23 ms │ no change │
│ QQuery 9  │    52.31 / 53.78 ±1.12 / 55.52 ms │               52.14 / 53.13 ±0.84 / 54.67 ms │ no change │
│ QQuery 10 │    61.02 / 61.69 ±0.50 / 62.20 ms │               61.26 / 62.34 ±0.79 / 63.65 ms │ no change │
│ QQuery 11 │    14.22 / 14.38 ±0.11 / 14.57 ms │               14.34 / 14.50 ±0.13 / 14.73 ms │ no change │
│ QQuery 12 │    21.75 / 23.14 ±2.24 / 27.58 ms │               21.96 / 23.10 ±1.85 / 26.79 ms │ no change │
│ QQuery 13 │    47.93 / 48.81 ±1.17 / 51.13 ms │               49.29 / 50.02 ±0.64 / 51.03 ms │ no change │
│ QQuery 14 │    24.80 / 24.84 ±0.03 / 24.87 ms │               25.01 / 25.15 ±0.15 / 25.40 ms │ no change │
│ QQuery 15 │    32.43 / 32.89 ±0.36 / 33.51 ms │               32.41 / 32.88 ±0.57 / 33.95 ms │ no change │
│ QQuery 16 │    14.01 / 14.18 ±0.14 / 14.42 ms │               14.20 / 14.41 ±0.20 / 14.74 ms │ no change │
│ QQuery 17 │    82.01 / 83.22 ±1.41 / 85.81 ms │               78.49 / 81.01 ±1.37 / 82.24 ms │ no change │
│ QQuery 18 │ 118.32 / 122.39 ±3.37 / 127.57 ms │            119.48 / 122.88 ±3.96 / 129.77 ms │ no change │
│ QQuery 19 │    31.09 / 31.53 ±0.41 / 32.06 ms │               30.94 / 31.08 ±0.11 / 31.24 ms │ no change │
│ QQuery 20 │    35.13 / 35.58 ±0.51 / 36.58 ms │               35.01 / 35.11 ±0.10 / 35.27 ms │ no change │
│ QQuery 21 │    57.46 / 61.14 ±4.42 / 69.12 ms │               56.79 / 60.64 ±3.49 / 65.52 ms │ no change │
│ QQuery 22 │    16.66 / 16.81 ±0.12 / 17.00 ms │               16.38 / 16.56 ±0.14 / 16.79 ms │ no change │
└───────────┴───────────────────────────────────┴──────────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 871.88ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 871.92ms │
│ Average Time (HEAD)                                         │  39.63ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  39.63ms │
│ Queries Faster                                              │        0 │
│ Queries Slower                                              │        0 │
│ Queries with No Change                                      │       22 │
│ 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: acbad1400bb75b5837a2c389ea622d5ff4b6f77c | Changed: 81d2bb625063861415e9382ceff01df526e9e55d

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 32.2 MiB 22.3 MiB -30.8%
Query 5 32.8 MiB 42.9 MiB +30.8%
Query 6 832 B 832 B +0.0%
Query 7 107.6 MiB 107.7 MiB +0.1%
Query 8 33.3 MiB 34.0 MiB +2.2%
Query 9 155.6 MiB 155.6 MiB +0.0%
Query 10 62.9 MiB 61.2 MiB -2.6%
Query 11 41.9 MiB 71.9 MiB +71.7%
Query 12 20.1 MiB 20.1 MiB +0.0%
Query 13 62.3 MiB 62.5 MiB +0.2%
Query 14 7.7 MiB 7.7 MiB +0.0%
Query 15 13.0 MiB 12.8 MiB -1.6%
Query 16 33.5 MiB 33.1 MiB -1.1%
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 60.1 MiB 60.5 MiB +0.8%
Query 21 37.7 MiB 37.7 MiB +0.0%
Query 22 31.5 MiB 32.0 MiB +1.4%

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 (acbad1400bb75b5837a2c389ea622d5ff4b6f77c) 2.7 GiB 2.1 GiB −640.9 MiB 0.8×
tpch changed (81d2bb625063861415e9382ceff01df526e9e55d) 2.7 GiB 2.0 GiB −701.7 MiB 0.7×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 2.1 GiB
Avg memory 819.6 MiB
CPU user 21.9s
CPU sys 1.7s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 2.0 GiB
Avg memory 794.3 MiB
CPU user 21.8s
CPU sys 1.7s
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 81d2bb6 (81d2bb6) to acbad14 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"
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_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.26 ms │                                      5.20 ms │     no change │
│ QQuery 2  │   75.86 ms │                                     76.53 ms │     no change │
│ QQuery 3  │   27.85 ms │                                     28.45 ms │     no change │
│ QQuery 4  │  762.56 ms │                                    804.18 ms │  1.05x slower │
│ QQuery 5  │   49.07 ms │                                     49.19 ms │     no change │
│ QQuery 6  │   32.48 ms │                                     33.58 ms │     no change │
│ QQuery 7  │   72.09 ms │                                     72.62 ms │     no change │
│ QQuery 8  │   37.19 ms │                                     37.81 ms │     no change │
│ QQuery 9  │   50.37 ms │                                     49.46 ms │     no change │
│ QQuery 10 │   60.56 ms │                                     61.70 ms │     no change │
│ QQuery 11 │  437.01 ms │                                    449.91 ms │     no change │
│ QQuery 12 │   24.76 ms │                                     24.83 ms │     no change │
│ QQuery 13 │  109.94 ms │                                    111.59 ms │     no change │
│ QQuery 14 │  378.74 ms │                                    378.44 ms │     no change │
│ QQuery 15 │   50.89 ms │                                     50.96 ms │     no change │
│ QQuery 16 │    5.98 ms │                                      6.07 ms │     no change │
│ QQuery 17 │   78.94 ms │                                     78.52 ms │     no change │
│ QQuery 18 │  103.51 ms │                                    103.20 ms │     no change │
│ QQuery 19 │   40.88 ms │                                     40.24 ms │     no change │
│ QQuery 20 │   31.04 ms │                                     30.67 ms │     no change │
│ QQuery 21 │   16.32 ms │                                     16.49 ms │     no change │
│ QQuery 22 │   70.06 ms │                                     69.85 ms │     no change │
│ QQuery 23 │  295.72 ms │                                    297.09 ms │     no change │
│ QQuery 24 │  183.99 ms │                                    183.95 ms │     no change │
│ QQuery 25 │  104.83 ms │                                    105.68 ms │     no change │
│ QQuery 26 │   45.92 ms │                                     46.62 ms │     no change │
│ QQuery 27 │    5.90 ms │                                      5.97 ms │     no change │
│ QQuery 28 │   60.40 ms │                                     59.87 ms │     no change │
│ QQuery 29 │   94.30 ms │                                     93.33 ms │     no change │
│ QQuery 30 │   35.79 ms │                                     35.69 ms │     no change │
│ QQuery 31 │  110.02 ms │                                    109.14 ms │     no change │
│ QQuery 32 │   19.24 ms │                                     19.37 ms │     no change │
│ QQuery 33 │   36.89 ms │                                     36.82 ms │     no change │
│ QQuery 34 │    9.43 ms │                                      9.42 ms │     no change │
│ QQuery 35 │   70.15 ms │                                     69.45 ms │     no change │
│ QQuery 36 │    5.78 ms │                                      5.72 ms │     no change │
│ QQuery 37 │    7.03 ms │                                      7.16 ms │     no change │
│ QQuery 38 │   63.69 ms │                                     63.44 ms │     no change │
│ QQuery 39 │   70.82 ms │                                     71.68 ms │     no change │
│ QQuery 40 │   22.42 ms │                                     22.88 ms │     no change │
│ QQuery 41 │   13.51 ms │                                     13.53 ms │     no change │
│ QQuery 42 │   23.05 ms │                                     22.78 ms │     no change │
│ QQuery 43 │    4.94 ms │                                      4.99 ms │     no change │
│ QQuery 44 │    8.41 ms │                                      8.24 ms │     no change │
│ QQuery 45 │   34.02 ms │                                     33.83 ms │     no change │
│ QQuery 46 │   11.01 ms │                                     10.94 ms │     no change │
│ QQuery 47 │  198.62 ms │                                    199.23 ms │     no change │
│ QQuery 48 │   89.35 ms │                                     91.02 ms │     no change │
│ QQuery 49 │   68.53 ms │                                     68.64 ms │     no change │
│ QQuery 50 │   57.50 ms │                                     57.34 ms │     no change │
│ QQuery 51 │   89.09 ms │                                     91.52 ms │     no change │
│ QQuery 52 │   23.42 ms │                                     23.24 ms │     no change │
│ QQuery 53 │   28.63 ms │                                     28.09 ms │     no change │
│ QQuery 54 │   52.62 ms │                                     51.59 ms │     no change │
│ QQuery 55 │   23.30 ms │                                     22.75 ms │     no change │
│ QQuery 56 │   38.29 ms │                                     37.65 ms │     no change │
│ QQuery 57 │  151.58 ms │                                    150.88 ms │     no change │
│ QQuery 58 │  104.09 ms │                                    101.68 ms │     no change │
│ QQuery 59 │  105.72 ms │                                    105.54 ms │     no change │
│ QQuery 60 │   42.45 ms │                                     42.00 ms │     no change │
│ QQuery 61 │    9.45 ms │                                      9.49 ms │     no change │
│ QQuery 62 │   38.07 ms │                                     37.38 ms │     no change │
│ QQuery 63 │   28.90 ms │                                     28.26 ms │     no change │
│ QQuery 64 │  364.90 ms │                                    357.25 ms │     no change │
│ QQuery 65 │  129.55 ms │                                    130.37 ms │     no change │
│ QQuery 66 │   73.91 ms │                                     72.82 ms │     no change │
│ QQuery 67 │  225.63 ms │                                    220.12 ms │     no change │
│ QQuery 68 │   11.29 ms │                                     11.10 ms │     no change │
│ QQuery 69 │   56.26 ms │                                     55.90 ms │     no change │
│ QQuery 70 │   97.13 ms │                                     97.63 ms │     no change │
│ QQuery 71 │   34.28 ms │                                     33.93 ms │     no change │
│ QQuery 72 │ 1624.55 ms │                                   1621.97 ms │     no change │
│ QQuery 73 │    9.39 ms │                                      9.01 ms │     no change │
│ QQuery 74 │  243.25 ms │                                    236.77 ms │     no change │
│ QQuery 75 │  137.90 ms │                                    136.06 ms │     no change │
│ QQuery 76 │   33.64 ms │                                     33.17 ms │     no change │
│ QQuery 77 │   59.11 ms │                                     57.97 ms │     no change │
│ QQuery 78 │  160.09 ms │                                    157.72 ms │     no change │
│ QQuery 79 │   66.49 ms │                                     65.68 ms │     no change │
│ QQuery 80 │   93.29 ms │                                     92.55 ms │     no change │
│ QQuery 81 │   28.35 ms │                                     27.72 ms │     no change │
│ QQuery 82 │   16.80 ms │                                     16.35 ms │     no change │
│ QQuery 83 │   32.11 ms │                                     31.25 ms │     no change │
│ QQuery 84 │   30.78 ms │                                     30.45 ms │     no change │
│ QQuery 85 │   98.80 ms │                                     97.68 ms │     no change │
│ QQuery 86 │   24.67 ms │                                     23.64 ms │     no change │
│ QQuery 87 │   65.45 ms │                                     64.26 ms │     no change │
│ QQuery 88 │   58.60 ms │                                     58.51 ms │     no change │
│ QQuery 89 │   35.14 ms │                                     34.48 ms │     no change │
│ QQuery 90 │   15.86 ms │                                     15.77 ms │     no change │
│ QQuery 91 │   40.28 ms │                                     39.16 ms │     no change │
│ QQuery 92 │   29.12 ms │                                     27.38 ms │ +1.06x faster │
│ QQuery 93 │   48.38 ms │                                     47.52 ms │     no change │
│ QQuery 94 │   37.35 ms │                                     36.85 ms │     no change │
│ QQuery 95 │   78.45 ms │                                     77.54 ms │     no change │
│ QQuery 96 │   23.78 ms │                                     22.94 ms │     no change │
│ QQuery 97 │   49.45 ms │                                     49.75 ms │     no change │
│ QQuery 98 │   37.58 ms │                                     37.16 ms │     no change │
│ QQuery 99 │   56.30 ms │                                     55.25 ms │     no change │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9236.13ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9247.07ms │
│ Average Time (HEAD)                                         │   93.29ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   93.40ms │
│ Queries Faster                                              │         1 │
│ Queries Slower                                              │         1 │
│ Queries with No Change                                      │        97 │
│ Queries with Failure                                        │         0 │
└─────────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.26 / 5.87 ±1.10 / 8.07 ms │                  5.20 / 5.87 ±1.00 / 7.85 ms │     no change │
│ QQuery 2  │        75.86 / 76.09 ±0.16 / 76.33 ms │               76.53 / 77.01 ±0.44 / 77.76 ms │     no change │
│ QQuery 3  │        27.85 / 28.18 ±0.26 / 28.57 ms │               28.45 / 28.72 ±0.22 / 29.07 ms │     no change │
│ QQuery 4  │     762.56 / 775.50 ±9.28 / 785.56 ms │            804.18 / 814.19 ±7.87 / 826.45 ms │     no change │
│ QQuery 5  │        49.07 / 49.90 ±0.57 / 50.82 ms │               49.19 / 50.24 ±0.69 / 51.30 ms │     no change │
│ QQuery 6  │        32.48 / 32.79 ±0.31 / 33.32 ms │               33.58 / 34.69 ±1.38 / 37.17 ms │  1.06x slower │
│ QQuery 7  │        72.09 / 73.43 ±2.32 / 78.07 ms │               72.62 / 73.44 ±0.92 / 75.19 ms │     no change │
│ QQuery 8  │        37.19 / 38.40 ±1.80 / 41.98 ms │               37.81 / 38.07 ±0.28 / 38.61 ms │     no change │
│ QQuery 9  │        50.37 / 52.16 ±1.57 / 55.00 ms │               49.46 / 53.06 ±3.41 / 59.14 ms │     no change │
│ QQuery 10 │        60.56 / 60.74 ±0.16 / 61.01 ms │               61.70 / 63.79 ±3.69 / 71.16 ms │  1.05x slower │
│ QQuery 11 │     437.01 / 440.73 ±2.83 / 443.79 ms │            449.91 / 464.32 ±7.27 / 468.90 ms │  1.05x slower │
│ QQuery 12 │        24.76 / 25.20 ±0.39 / 25.89 ms │               24.83 / 25.34 ±0.33 / 25.70 ms │     no change │
│ QQuery 13 │     109.94 / 110.50 ±0.42 / 110.86 ms │            111.59 / 111.82 ±0.24 / 112.28 ms │     no change │
│ QQuery 14 │     378.74 / 386.94 ±9.38 / 404.91 ms │            378.44 / 385.43 ±4.87 / 393.73 ms │     no change │
│ QQuery 15 │        50.89 / 52.68 ±2.77 / 58.16 ms │               50.96 / 52.11 ±1.50 / 55.06 ms │     no change │
│ QQuery 16 │          5.98 / 7.40 ±2.37 / 12.11 ms │                  6.07 / 6.24 ±0.21 / 6.63 ms │ +1.19x faster │
│ QQuery 17 │        78.94 / 80.37 ±1.47 / 83.11 ms │               78.52 / 78.87 ±0.41 / 79.58 ms │     no change │
│ QQuery 18 │     103.51 / 104.75 ±0.79 / 105.90 ms │            103.20 / 107.00 ±2.75 / 111.74 ms │     no change │
│ QQuery 19 │        40.88 / 42.54 ±1.83 / 46.07 ms │               40.24 / 40.99 ±1.00 / 42.96 ms │     no change │
│ QQuery 20 │        31.04 / 31.26 ±0.24 / 31.73 ms │               30.67 / 31.18 ±0.35 / 31.75 ms │     no change │
│ QQuery 21 │        16.32 / 16.64 ±0.29 / 17.14 ms │               16.49 / 16.72 ±0.26 / 17.19 ms │     no change │
│ QQuery 22 │        70.06 / 70.93 ±0.79 / 72.05 ms │               69.85 / 70.98 ±0.68 / 71.66 ms │     no change │
│ QQuery 23 │     295.72 / 299.58 ±2.82 / 302.79 ms │            297.09 / 300.62 ±3.30 / 306.51 ms │     no change │
│ QQuery 24 │     183.99 / 186.72 ±3.00 / 192.52 ms │            183.95 / 189.21 ±4.22 / 196.05 ms │     no change │
│ QQuery 25 │     104.83 / 106.18 ±1.19 / 108.36 ms │            105.68 / 108.41 ±3.27 / 114.32 ms │     no change │
│ QQuery 26 │        45.92 / 46.25 ±0.34 / 46.85 ms │               46.62 / 46.94 ±0.21 / 47.14 ms │     no change │
│ QQuery 27 │           5.90 / 6.05 ±0.17 / 6.35 ms │                  5.97 / 6.11 ±0.19 / 6.48 ms │     no change │
│ QQuery 28 │        60.40 / 60.70 ±0.32 / 61.23 ms │               59.87 / 61.28 ±0.78 / 62.15 ms │     no change │
│ QQuery 29 │        94.30 / 95.56 ±1.06 / 97.21 ms │               93.33 / 95.17 ±1.31 / 97.00 ms │     no change │
│ QQuery 30 │        35.79 / 36.06 ±0.16 / 36.24 ms │               35.69 / 36.43 ±0.49 / 37.17 ms │     no change │
│ QQuery 31 │     110.02 / 111.83 ±2.44 / 116.57 ms │            109.14 / 110.03 ±0.48 / 110.50 ms │     no change │
│ QQuery 32 │        19.24 / 19.58 ±0.24 / 19.93 ms │               19.37 / 19.62 ±0.29 / 20.16 ms │     no change │
│ QQuery 33 │        36.89 / 37.26 ±0.30 / 37.71 ms │               36.82 / 37.11 ±0.20 / 37.38 ms │     no change │
│ QQuery 34 │          9.43 / 9.66 ±0.24 / 10.10 ms │                  9.42 / 9.55 ±0.20 / 9.96 ms │     no change │
│ QQuery 35 │        70.15 / 71.70 ±1.81 / 75.25 ms │               69.45 / 70.64 ±1.58 / 73.70 ms │     no change │
│ QQuery 36 │           5.78 / 5.90 ±0.22 / 6.34 ms │                  5.72 / 5.86 ±0.21 / 6.28 ms │     no change │
│ QQuery 37 │           7.03 / 7.19 ±0.13 / 7.38 ms │                  7.16 / 7.23 ±0.07 / 7.35 ms │     no change │
│ QQuery 38 │        63.69 / 63.94 ±0.20 / 64.25 ms │               63.44 / 63.88 ±0.28 / 64.29 ms │     no change │
│ QQuery 39 │        70.82 / 71.28 ±0.44 / 72.11 ms │               71.68 / 73.04 ±1.37 / 75.50 ms │     no change │
│ QQuery 40 │        22.42 / 23.24 ±0.67 / 24.36 ms │               22.88 / 23.37 ±0.48 / 24.28 ms │     no change │
│ QQuery 41 │        13.51 / 14.63 ±2.18 / 18.99 ms │               13.53 / 13.71 ±0.20 / 14.08 ms │ +1.07x faster │
│ QQuery 42 │        23.05 / 23.92 ±0.55 / 24.41 ms │               22.78 / 23.04 ±0.23 / 23.40 ms │     no change │
│ QQuery 43 │           4.94 / 5.08 ±0.20 / 5.47 ms │                  4.99 / 5.10 ±0.17 / 5.44 ms │     no change │
│ QQuery 44 │           8.41 / 8.51 ±0.06 / 8.57 ms │                  8.24 / 8.38 ±0.12 / 8.59 ms │     no change │
│ QQuery 45 │        34.02 / 34.51 ±0.26 / 34.73 ms │               33.83 / 34.59 ±0.47 / 35.27 ms │     no change │
│ QQuery 46 │        11.01 / 11.25 ±0.27 / 11.77 ms │               10.94 / 11.07 ±0.17 / 11.41 ms │     no change │
│ QQuery 47 │     198.62 / 202.04 ±3.47 / 208.44 ms │            199.23 / 201.27 ±1.61 / 203.35 ms │     no change │
│ QQuery 48 │        89.35 / 89.82 ±0.38 / 90.44 ms │               91.02 / 91.71 ±0.67 / 92.72 ms │     no change │
│ QQuery 49 │        68.53 / 71.02 ±3.51 / 77.59 ms │               68.64 / 69.68 ±0.61 / 70.57 ms │     no change │
│ QQuery 50 │        57.50 / 57.67 ±0.13 / 57.86 ms │               57.34 / 58.37 ±1.12 / 60.46 ms │     no change │
│ QQuery 51 │        89.09 / 90.60 ±1.22 / 92.40 ms │               91.52 / 93.41 ±1.70 / 96.41 ms │     no change │
│ QQuery 52 │        23.42 / 23.82 ±0.28 / 24.22 ms │               23.24 / 23.40 ±0.11 / 23.54 ms │     no change │
│ QQuery 53 │        28.63 / 28.92 ±0.27 / 29.25 ms │               28.09 / 28.19 ±0.08 / 28.29 ms │     no change │
│ QQuery 54 │        52.62 / 53.11 ±0.39 / 53.79 ms │               51.59 / 51.91 ±0.36 / 52.59 ms │     no change │
│ QQuery 55 │        23.30 / 23.45 ±0.12 / 23.67 ms │               22.75 / 23.03 ±0.26 / 23.38 ms │     no change │
│ QQuery 56 │        38.29 / 38.72 ±0.51 / 39.69 ms │               37.65 / 39.33 ±2.69 / 44.69 ms │     no change │
│ QQuery 57 │     151.58 / 153.13 ±1.82 / 156.54 ms │            150.88 / 152.11 ±1.69 / 155.38 ms │     no change │
│ QQuery 58 │     104.09 / 105.69 ±1.63 / 108.45 ms │            101.68 / 103.44 ±2.21 / 107.59 ms │     no change │
│ QQuery 59 │     105.72 / 106.63 ±0.60 / 107.46 ms │            105.54 / 106.78 ±1.16 / 108.62 ms │     no change │
│ QQuery 60 │        42.45 / 42.71 ±0.16 / 42.93 ms │               42.00 / 43.32 ±1.36 / 45.54 ms │     no change │
│ QQuery 61 │         9.45 / 10.31 ±1.20 / 12.67 ms │                 9.49 / 9.66 ±0.21 / 10.05 ms │ +1.07x faster │
│ QQuery 62 │        38.07 / 39.33 ±1.89 / 43.08 ms │               37.38 / 37.88 ±0.32 / 38.31 ms │     no change │
│ QQuery 63 │        28.90 / 29.31 ±0.53 / 30.36 ms │               28.26 / 28.57 ±0.26 / 29.03 ms │     no change │
│ QQuery 64 │     364.90 / 370.73 ±6.91 / 383.87 ms │            357.25 / 362.13 ±5.05 / 371.40 ms │     no change │
│ QQuery 65 │     129.55 / 133.86 ±3.38 / 138.37 ms │            130.37 / 132.36 ±1.23 / 133.79 ms │     no change │
│ QQuery 66 │        73.91 / 75.75 ±2.18 / 79.90 ms │               72.82 / 74.61 ±1.97 / 78.45 ms │     no change │
│ QQuery 67 │     225.63 / 229.50 ±2.89 / 232.65 ms │            220.12 / 223.05 ±2.45 / 227.28 ms │     no change │
│ QQuery 68 │        11.29 / 11.61 ±0.25 / 12.07 ms │               11.10 / 11.28 ±0.24 / 11.76 ms │     no change │
│ QQuery 69 │        56.26 / 56.54 ±0.21 / 56.82 ms │               55.90 / 56.18 ±0.19 / 56.49 ms │     no change │
│ QQuery 70 │      97.13 / 102.07 ±7.65 / 117.29 ms │              97.63 / 99.17 ±1.87 / 101.73 ms │     no change │
│ QQuery 71 │        34.28 / 34.97 ±0.52 / 35.57 ms │               33.93 / 34.34 ±0.42 / 34.95 ms │     no change │
│ QQuery 72 │ 1624.55 / 1686.76 ±54.49 / 1767.33 ms │        1621.97 / 1648.75 ±22.90 / 1687.64 ms │     no change │
│ QQuery 73 │           9.39 / 9.59 ±0.18 / 9.88 ms │                  9.01 / 9.26 ±0.34 / 9.92 ms │     no change │
│ QQuery 74 │     243.25 / 245.92 ±2.46 / 249.36 ms │            236.77 / 242.54 ±3.30 / 246.73 ms │     no change │
│ QQuery 75 │     137.90 / 138.88 ±0.82 / 139.90 ms │            136.06 / 139.62 ±5.35 / 150.25 ms │     no change │
│ QQuery 76 │        33.64 / 34.23 ±0.48 / 34.97 ms │               33.17 / 33.31 ±0.16 / 33.61 ms │     no change │
│ QQuery 77 │        59.11 / 59.70 ±0.52 / 60.65 ms │               57.97 / 61.31 ±3.95 / 68.73 ms │     no change │
│ QQuery 78 │     160.09 / 163.08 ±3.48 / 169.84 ms │            157.72 / 161.75 ±4.83 / 171.19 ms │     no change │
│ QQuery 79 │        66.49 / 68.10 ±2.74 / 73.58 ms │               65.68 / 68.01 ±3.14 / 74.18 ms │     no change │
│ QQuery 80 │        93.29 / 95.09 ±1.75 / 97.63 ms │               92.55 / 93.89 ±1.75 / 97.25 ms │     no change │
│ QQuery 81 │        28.35 / 28.81 ±0.51 / 29.73 ms │               27.72 / 28.36 ±0.73 / 29.76 ms │     no change │
│ QQuery 82 │        16.80 / 17.01 ±0.17 / 17.23 ms │               16.35 / 16.52 ±0.13 / 16.75 ms │     no change │
│ QQuery 83 │        32.11 / 35.17 ±5.46 / 46.09 ms │               31.25 / 31.60 ±0.29 / 32.04 ms │ +1.11x faster │
│ QQuery 84 │        30.78 / 31.34 ±0.57 / 32.42 ms │               30.45 / 30.91 ±0.34 / 31.37 ms │     no change │
│ QQuery 85 │       98.80 / 99.33 ±0.63 / 100.48 ms │               97.68 / 98.09 ±0.62 / 99.31 ms │     no change │
│ QQuery 86 │        24.67 / 25.07 ±0.49 / 26.03 ms │               23.64 / 24.33 ±0.88 / 26.06 ms │     no change │
│ QQuery 87 │        65.45 / 65.74 ±0.19 / 65.98 ms │               64.26 / 65.23 ±1.20 / 67.53 ms │     no change │
│ QQuery 88 │        58.60 / 58.97 ±0.30 / 59.28 ms │               58.51 / 59.07 ±0.36 / 59.49 ms │     no change │
│ QQuery 89 │        35.14 / 35.45 ±0.24 / 35.75 ms │               34.48 / 35.05 ±0.34 / 35.51 ms │     no change │
│ QQuery 90 │        15.86 / 16.09 ±0.16 / 16.31 ms │               15.77 / 15.86 ±0.10 / 16.04 ms │     no change │
│ QQuery 91 │        40.28 / 40.79 ±0.80 / 42.39 ms │               39.16 / 39.69 ±0.59 / 40.77 ms │     no change │
│ QQuery 92 │        29.12 / 30.58 ±2.51 / 35.58 ms │               27.38 / 27.96 ±0.42 / 28.59 ms │ +1.09x faster │
│ QQuery 93 │        48.38 / 49.50 ±0.77 / 50.63 ms │               47.52 / 49.11 ±1.13 / 51.02 ms │     no change │
│ QQuery 94 │        37.35 / 37.79 ±0.24 / 38.03 ms │               36.85 / 37.46 ±0.32 / 37.72 ms │     no change │
│ QQuery 95 │        78.45 / 79.27 ±1.06 / 81.38 ms │               77.54 / 78.22 ±0.66 / 79.24 ms │     no change │
│ QQuery 96 │        23.78 / 24.58 ±1.43 / 27.45 ms │               22.94 / 23.31 ±0.29 / 23.74 ms │ +1.05x faster │
│ QQuery 97 │        49.45 / 50.77 ±1.39 / 53.43 ms │               49.75 / 52.58 ±3.46 / 59.32 ms │     no change │
│ QQuery 98 │        37.58 / 37.79 ±0.20 / 38.11 ms │               37.16 / 37.90 ±0.48 / 38.51 ms │     no change │
│ QQuery 99 │        56.30 / 56.97 ±0.63 / 58.00 ms │               55.25 / 56.21 ±0.52 / 56.72 ms │     no change │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9423.29ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9411.51ms │
│ Average Time (HEAD)                                         │   95.18ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   95.07ms │
│ Queries Faster                                              │         6 │
│ Queries Slower                                              │         3 │
│ Queries with No Change                                      │        90 │
│ 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: acbad1400bb75b5837a2c389ea622d5ff4b6f77c | Changed: 81d2bb625063861415e9382ceff01df526e9e55d

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 144.9 KiB 139.5 KiB -3.7%
Query 2 82.9 MiB 71.9 MiB -13.2%
Query 3 1.5 MiB 2.1 MiB +43.2%
Query 4 79.7 MiB 79.7 MiB -0.0%
Query 5 13.0 MiB 13.0 MiB +0.0%
Query 6 4.1 MiB 4.1 MiB +0.8%
Query 7 3.8 MiB 3.7 MiB -2.6%
Query 8 1.8 MiB 2.1 MiB +14.2%
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.1%
Query 12 114.4 MiB 114.4 MiB +0.0%
Query 13 13.7 MiB 13.7 MiB +0.0%
Query 14 171.3 MiB 172.0 MiB +0.4%
Query 15 4.1 MiB 4.2 MiB +3.2%
Query 16 118.6 KiB 118.6 KiB +0.0%
Query 17 40.6 MiB 41.0 MiB +1.0%
Query 18 21.2 MiB 21.2 MiB +0.0%
Query 19 2.1 MiB 1.9 MiB -11.9%
Query 20 114.6 MiB 114.6 MiB -0.0%
Query 21 2.9 MiB 3.0 MiB +2.2%
Query 22 61.8 MiB 61.8 MiB +0.0%
Query 23 212.5 MiB 213.4 MiB +0.4%
Query 24 38.7 MiB 38.7 MiB +0.0%
Query 25 99.9 MiB 99.9 MiB +0.0%
Query 26 3.7 MiB 4.0 MiB +10.0%
Query 27 1.6 MiB 1.6 MiB +0.0%
Query 28 1.5 MiB 1.5 MiB +0.0%
Query 29 104.7 MiB 104.7 MiB +0.0%
Query 30 3.7 MiB 3.7 MiB -0.7%
Query 31 13.4 MiB 13.4 MiB +0.0%
Query 32 2.7 MiB 2.7 MiB +0.0%
Query 33 4.8 MiB 4.2 MiB -12.7%
Query 34 6.0 MiB 6.0 MiB +0.0%
Query 35 16.6 MiB 16.6 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.8 MiB 10.8 MiB -0.2%
Query 39 33.2 MiB 52.6 MiB +58.5%
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.2 MiB -2.0%
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 42.1 MiB 42.8 MiB +1.5%
Query 50 16.6 MiB 16.9 MiB +2.2%
Query 51 177.7 MiB 177.7 MiB +0.0%
Query 52 1.5 MiB 1.5 MiB +0.7%
Query 53 10.6 MiB 10.6 MiB +0.0%
Query 54 2.2 MiB 2.1 MiB -4.2%
Query 55 1.6 MiB 1.3 MiB -23.3%
Query 56 3.3 MiB 3.0 MiB -7.3%
Query 57 120.9 MiB 120.8 MiB -0.1%
Query 58 4.4 MiB 4.4 MiB +0.0%
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.4 KiB +0.0%
Query 62 3.6 MiB 3.6 MiB +0.1%
Query 63 30.4 MiB 30.6 MiB +0.5%
Query 64 85.6 MiB 85.6 MiB +0.0%
Query 65 29.7 MiB 29.7 MiB +0.0%
Query 66 18.0 MiB 14.9 MiB -17.2%
Query 67 140.9 MiB 142.0 MiB +0.7%
Query 68 6.2 MiB 6.2 MiB +0.0%
Query 69 3.6 MiB 3.6 MiB -0.1%
Query 70 44.1 MiB 44.0 MiB -0.1%
Query 71 50.4 MiB 40.4 MiB -19.8%
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 21.3 MiB +0.0%
Query 76 7.9 MiB 7.9 MiB +0.0%
Query 77 4.1 MiB 4.1 MiB -0.0%
Query 78 109.8 MiB 111.1 MiB +1.1%
Query 79 9.3 MiB 9.3 MiB +0.0%
Query 80 41.2 MiB 42.0 MiB +2.0%
Query 81 4.0 MiB 4.1 MiB +2.2%
Query 82 4.9 MiB 4.9 MiB +0.0%
Query 83 8.9 MiB 9.0 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 82.1 MiB +0.0%
Query 87 13.4 MiB 13.3 MiB -0.6%
Query 88 1.7 MiB 1.8 MiB +6.5%
Query 89 112.2 MiB 112.2 MiB -0.0%
Query 90 351.7 KiB 351.7 KiB +0.0%
Query 91 21.0 MiB 21.1 MiB +0.2%
Query 92 2.7 MiB 2.7 MiB +0.0%
Query 93 15.1 MiB 15.1 MiB +0.0%
Query 94 3.7 MiB 3.7 MiB +0.0%
Query 95 18.4 MiB 17.0 MiB -7.6%
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.4 MiB -13.3%

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 (acbad1400bb75b5837a2c389ea622d5ff4b6f77c) 212.5 MiB 1.7 GiB 1.5 GiB 8.3×
tpcds changed (81d2bb625063861415e9382ceff01df526e9e55d) 213.4 MiB 1.8 GiB 1.6 GiB 8.5×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 50.0s
Peak memory 1.7 GiB
Avg memory 1.2 GiB
CPU user 192.1s
CPU sys 5.0s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 50.0s
Peak memory 1.8 GiB
Avg memory 1.2 GiB
CPU user 191.9s
CPU sys 5.0s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing 81d2bb6 (81d2bb6) to acbad14 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "acbad1400bb75b5837a2c389ea622d5ff4b6f77c"
changed:
  ref: "81d2bb625063861415e9382ceff01df526e9e55d"
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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.16 ms │                                      1.15 ms │     no change │
│ QQuery 1  │    10.98 ms │                                     11.07 ms │     no change │
│ QQuery 2  │    35.48 ms │                                     35.98 ms │     no change │
│ QQuery 3  │    30.62 ms │                                     30.77 ms │     no change │
│ QQuery 4  │   235.04 ms │                                    233.22 ms │     no change │
│ QQuery 5  │  1416.82 ms │                                   1062.70 ms │ +1.33x faster │
│ QQuery 6  │     1.19 ms │                                      1.18 ms │     no change │
│ QQuery 7  │    12.09 ms │                                     12.68 ms │     no change │
│ QQuery 8  │   332.85 ms │                                    335.92 ms │     no change │
│ QQuery 9  │   468.39 ms │                                    472.05 ms │     no change │
│ QQuery 10 │   198.73 ms │                                    199.24 ms │     no change │
│ QQuery 11 │   209.25 ms │                                    210.57 ms │     no change │
│ QQuery 12 │  1510.83 ms │                                   1104.45 ms │ +1.37x faster │
│ QQuery 13 │  2511.82 ms │                                   1534.09 ms │ +1.64x faster │
│ QQuery 14 │  1638.21 ms │                                   1157.51 ms │ +1.42x faster │
│ QQuery 15 │   297.83 ms │                                    292.57 ms │     no change │
│ QQuery 16 │  3722.40 ms │                                   2206.70 ms │ +1.69x faster │
│ QQuery 17 │  3690.89 ms │                                   2219.97 ms │ +1.66x faster │
│ QQuery 18 │  7013.08 ms │                                   3668.26 ms │ +1.91x faster │
│ QQuery 19 │    26.86 ms │                                     26.79 ms │     no change │
│ QQuery 20 │  1048.64 ms │                                   1065.05 ms │     no change │
│ QQuery 21 │  1363.25 ms │                                   1369.00 ms │     no change │
│ QQuery 22 │  3232.65 ms │                                   3222.29 ms │     no change │
│ QQuery 23 │  9291.45 ms │                                   9295.24 ms │     no change │
│ QQuery 24 │    95.05 ms │                                     95.35 ms │     no change │
│ QQuery 25 │   352.01 ms │                                    352.06 ms │     no change │
│ QQuery 26 │    96.22 ms │                                     96.44 ms │     no change │
│ QQuery 27 │  1135.61 ms │                                   1140.95 ms │     no change │
│ QQuery 28 │  2831.89 ms │                                   2606.39 ms │ +1.09x faster │
│ QQuery 29 │    39.35 ms │                                     39.49 ms │     no change │
│ QQuery 30 │   550.78 ms │                                    545.37 ms │     no change │
│ QQuery 31 │   535.06 ms │                                    535.48 ms │     no change │
│ QQuery 32 │  1046.81 ms │                                   1022.05 ms │     no change │
│ QQuery 33 │ 13795.88 ms │                                   7525.29 ms │ +1.83x faster │
│ QQuery 34 │ 13540.33 ms │                                   7503.84 ms │ +1.80x faster │
│ QQuery 35 │   308.00 ms │                                    288.77 ms │ +1.07x faster │
│ QQuery 36 │   192.00 ms │                                    126.60 ms │ +1.52x faster │
│ QQuery 37 │    96.59 ms │                                     94.78 ms │     no change │
│ QQuery 38 │    80.27 ms │                                     78.14 ms │     no change │
│ QQuery 39 │   409.48 ms │                                    282.32 ms │ +1.45x faster │
│ QQuery 40 │    14.39 ms │                                     13.64 ms │ +1.05x faster │
│ QQuery 41 │    13.79 ms │                                     12.78 ms │ +1.08x faster │
│ QQuery 42 │    13.61 ms │                                     12.54 ms │ +1.09x faster │
└───────────┴─────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 73447.64ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 52140.73ms │
│ Average Time (HEAD)                                         │  1708.08ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1212.58ms │
│ Queries Faster                                              │         16 │
│ Queries Slower                                              │          0 │
│ Queries with No Change                                      │         27 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │              1.16 / 4.11 ±5.85 / 15.82 ms │                 1.15 / 4.28 ±6.12 / 16.51 ms │     no change │
│ QQuery 1  │            10.98 / 11.26 ±0.26 / 11.72 ms │               11.07 / 11.58 ±0.70 / 12.95 ms │     no change │
│ QQuery 2  │            35.48 / 36.68 ±0.97 / 38.09 ms │               35.98 / 36.29 ±0.24 / 36.69 ms │     no change │
│ QQuery 3  │            30.62 / 31.52 ±0.84 / 33.01 ms │               30.77 / 31.08 ±0.21 / 31.41 ms │     no change │
│ QQuery 4  │         235.04 / 239.88 ±3.21 / 243.61 ms │            233.22 / 239.47 ±3.65 / 244.23 ms │     no change │
│ QQuery 5  │     1416.82 / 1483.91 ±45.57 / 1556.03 ms │        1062.70 / 1091.78 ±15.29 / 1106.36 ms │ +1.36x faster │
│ QQuery 6  │               1.19 / 1.35 ±0.24 / 1.81 ms │                  1.18 / 1.33 ±0.24 / 1.79 ms │     no change │
│ QQuery 7  │            12.09 / 12.24 ±0.09 / 12.35 ms │               12.68 / 17.64 ±9.10 / 35.83 ms │  1.44x slower │
│ QQuery 8  │         332.85 / 337.15 ±4.13 / 342.21 ms │           335.92 / 347.14 ±10.05 / 364.54 ms │     no change │
│ QQuery 9  │         468.39 / 479.17 ±6.52 / 487.23 ms │            472.05 / 477.90 ±5.43 / 487.38 ms │     no change │
│ QQuery 10 │         198.73 / 200.99 ±3.36 / 207.69 ms │            199.24 / 201.04 ±1.46 / 203.12 ms │     no change │
│ QQuery 11 │         209.25 / 210.09 ±0.73 / 210.98 ms │            210.57 / 211.46 ±0.58 / 212.15 ms │     no change │
│ QQuery 12 │     1510.83 / 1541.03 ±27.77 / 1586.90 ms │        1104.45 / 1132.13 ±21.44 / 1165.61 ms │ +1.36x faster │
│ QQuery 13 │    2511.82 / 2719.42 ±193.65 / 3060.24 ms │        1534.09 / 1647.44 ±75.28 / 1734.97 ms │ +1.65x faster │
│ QQuery 14 │     1638.21 / 1668.55 ±21.04 / 1703.12 ms │        1157.51 / 1202.30 ±26.84 / 1241.25 ms │ +1.39x faster │
│ QQuery 15 │         297.83 / 303.59 ±6.40 / 315.61 ms │           292.57 / 308.47 ±16.37 / 329.37 ms │     no change │
│ QQuery 16 │     3722.40 / 3773.06 ±41.17 / 3833.22 ms │        2206.70 / 2265.40 ±60.36 / 2371.41 ms │ +1.67x faster │
│ QQuery 17 │    3690.89 / 3797.12 ±126.50 / 4042.05 ms │        2219.97 / 2293.69 ±42.07 / 2347.57 ms │ +1.66x faster │
│ QQuery 18 │    7013.08 / 7380.34 ±354.84 / 7880.29 ms │       3668.26 / 3877.64 ±163.60 / 4120.42 ms │ +1.90x faster │
│ QQuery 19 │           26.86 / 32.88 ±10.18 / 53.20 ms │               26.79 / 27.22 ±0.34 / 27.72 ms │ +1.21x faster │
│ QQuery 20 │     1048.64 / 1066.22 ±21.79 / 1108.13 ms │        1065.05 / 1088.26 ±18.18 / 1112.99 ms │     no change │
│ QQuery 21 │      1363.25 / 1376.37 ±7.45 / 1385.17 ms │         1369.00 / 1381.88 ±8.54 / 1393.27 ms │     no change │
│ QQuery 22 │     3232.65 / 3292.96 ±60.03 / 3400.81 ms │        3222.29 / 3270.45 ±44.55 / 3352.92 ms │     no change │
│ QQuery 23 │    9291.45 / 9434.49 ±112.86 / 9615.10 ms │       9295.24 / 9387.60 ±117.42 / 9617.09 ms │     no change │
│ QQuery 24 │         95.05 / 103.91 ±15.64 / 135.17 ms │           95.35 / 170.71 ±149.14 / 468.98 ms │  1.64x slower │
│ QQuery 25 │        352.01 / 381.41 ±52.87 / 487.03 ms │            352.06 / 354.36 ±2.37 / 358.77 ms │ +1.08x faster │
│ QQuery 26 │            96.22 / 97.11 ±0.80 / 98.42 ms │               96.44 / 97.32 ±0.99 / 99.22 ms │     no change │
│ QQuery 27 │     1135.61 / 1151.77 ±10.51 / 1167.58 ms │         1140.95 / 1150.77 ±9.40 / 1162.47 ms │     no change │
│ QQuery 28 │     2831.89 / 2875.36 ±37.45 / 2934.97 ms │        2606.39 / 2622.31 ±18.15 / 2657.25 ms │ +1.10x faster │
│ QQuery 29 │          39.35 / 57.39 ±31.47 / 120.11 ms │             39.49 / 56.96 ±24.35 / 101.85 ms │     no change │
│ QQuery 30 │         550.78 / 557.93 ±4.35 / 562.29 ms │            545.37 / 549.94 ±4.12 / 557.70 ms │     no change │
│ QQuery 31 │         535.06 / 551.94 ±8.90 / 559.51 ms │           535.48 / 554.16 ±11.80 / 570.34 ms │     no change │
│ QQuery 32 │    1046.81 / 1127.23 ±138.01 / 1402.73 ms │       1022.05 / 1156.46 ±175.98 / 1504.38 ms │     no change │
│ QQuery 33 │ 13795.88 / 14386.91 ±328.82 / 14791.49 ms │       7525.29 / 7740.97 ±145.11 / 7944.41 ms │ +1.86x faster │
│ QQuery 34 │ 13540.33 / 14404.07 ±531.10 / 14999.16 ms │   7503.84 / 16617.99 ±17977.44 / 52572.50 ms │  1.15x slower │
│ QQuery 35 │        308.00 / 330.51 ±25.33 / 379.27 ms │           288.77 / 328.47 ±33.89 / 373.19 ms │     no change │
│ QQuery 36 │         192.00 / 197.56 ±5.18 / 206.58 ms │           126.60 / 152.74 ±39.87 / 231.71 ms │ +1.29x faster │
│ QQuery 37 │         96.59 / 106.66 ±11.57 / 122.04 ms │              94.78 / 98.88 ±6.66 / 112.13 ms │ +1.08x faster │
│ QQuery 38 │            80.27 / 82.93 ±2.33 / 86.59 ms │               78.14 / 85.14 ±6.70 / 94.78 ms │     no change │
│ QQuery 39 │        409.48 / 425.73 ±11.67 / 444.74 ms │           282.32 / 305.21 ±18.04 / 336.09 ms │ +1.39x faster │
│ QQuery 40 │            14.39 / 14.80 ±0.49 / 15.73 ms │               13.64 / 16.44 ±2.44 / 20.01 ms │  1.11x slower │
│ QQuery 41 │            13.79 / 14.03 ±0.15 / 14.21 ms │               12.78 / 13.40 ±0.46 / 14.20 ms │     no change │
│ QQuery 42 │            13.61 / 16.01 ±4.46 / 24.92 ms │               12.54 / 13.05 ±0.31 / 13.36 ms │ +1.23x faster │
└───────────┴───────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 76317.65ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 62638.75ms │
│ Average Time (HEAD)                                         │  1774.83ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1456.72ms │
│ Queries Faster                                              │         15 │
│ Queries Slower                                              │          4 │
│ Queries with No Change                                      │         24 │
│ 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: acbad1400bb75b5837a2c389ea622d5ff4b6f77c | Changed: 81d2bb625063861415e9382ceff01df526e9e55d

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 816.2 MiB 828.9 MiB +1.6%
Query 5 1.4 GiB 1.8 GiB +26.8%
Query 6 0 B 0 B 0.0%
Query 7 50.3 MiB 50.0 MiB -0.6%
Query 8 946.8 MiB 942.3 MiB -0.5%
Query 9 594.2 MiB 594.0 MiB -0.0%
Query 10 74.1 MiB 72.7 MiB -1.8%
Query 11 75.8 MiB 78.0 MiB +2.9%
Query 12 1.6 GiB 1.9 GiB +24.0%
Query 13 2.3 GiB 2.7 GiB +20.2%
Query 14 1.8 GiB 1.8 GiB +0.1%
Query 15 1.2 GiB 1.2 GiB +1.4%
Query 16 3.4 GiB 3.4 GiB -0.1%
Query 17 3.4 GiB 3.6 GiB +6.5%
Query 18 7.4 GiB 7.6 GiB +2.5%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.6 MiB 1.6 MiB +1.2%
Query 22 2.4 MiB 2.2 MiB -6.1%
Query 23 12.8 MiB 12.8 MiB -0.1%
Query 24 6.8 MiB 6.8 MiB -0.2%
Query 25 7.6 MiB 7.6 MiB +0.0%
Query 26 8.0 MiB 7.9 MiB -0.5%
Query 27 2.2 MiB 2.5 MiB +9.7%
Query 28 1.9 GiB 1.9 GiB +0.2%
Query 29 624 B 624 B +0.0%
Query 30 700.4 MiB 639.3 MiB -8.7%
Query 31 1.5 GiB 1.5 GiB -0.0%
Query 32 7.1 GiB 7.2 GiB +0.2%
Query 33 12.7 GiB 12.9 GiB +1.7%
Query 34 12.7 GiB 12.7 GiB -0.0%
Query 35 661.7 MiB 669.5 MiB +1.2%
Query 36 474.1 MiB 506.8 MiB +6.9%
Query 37 8.1 MiB 8.2 MiB +0.8%
Query 38 5.3 MiB 5.2 MiB -0.7%
Query 39 450.8 MiB 902.7 MiB +100.3%
Query 40 2.5 MiB 2.7 MiB +8.3%
Query 41 3.1 MiB 3.1 MiB +0.1%
Query 42 1.7 MiB 2.0 MiB +16.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 (acbad1400bb75b5837a2c389ea622d5ff4b6f77c) 12.7 GiB 13.7 GiB 1.0 GiB 1.1×
clickbench_partitioned changed (81d2bb625063861415e9382ceff01df526e9e55d) 12.9 GiB 15.5 GiB 2.6 GiB 1.2×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 385.1s
Peak memory 13.7 GiB
Avg memory 6.1 GiB
CPU user 3333.9s
CPU sys 207.1s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 315.1s
Peak memory 15.5 GiB
Avg memory 7.0 GiB
CPU user 2134.0s
CPU sys 222.3s
Peak spill 13.1 GiB

File an issue against this benchmark runner

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/repartition-dictionary-hash-cache branch from 81d2bb6 to d4b5712 Compare October 27, 2026 19:40
@asolimando

Copy link
Copy Markdown
Member

#26816 (comment) @asolimando I think I found it 😄

It looks to me that you are working the same angle as @jayzhan211 in #26703 (Q18/Q33/Q34 ~ 1.8–1.9×, total −28 % vs −29 % here), maybe you two could join forces on this one?

I didn't have time to go through all the details of both PRs, but if you check and still have doubts, one quick way to check is to rebase this on #26703 and re-run clickbench_partitioned, if the improvements stack (at least partially), then the two PRs don't match exactly, otherwise I suggest to collaborate on this. WDYT?

Also, both runs compare against a baseline with enable_rle_to_dictionary=true, which is off by default. It would help to also show the branch against the default config, so we know how far dictionary reads still are from plain strings after this change.

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/repartition-dictionary-hash-cache branch from d4b5712 to 4b4472c Compare October 27, 2026 19:56
@Rich-T-kid Rich-T-kid changed the title Avoid rehashing shared dictionaries in RepartitionExec Reuse dictionary value hashes in RepartitionExec Oct 27, 2026
@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: "4b4472c7bcc38d5b478cc7fbf64c6780efc979e4"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6452254272-3957-kv4s4 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 4b4472c (4b4472c) 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: "4b4472c7bcc38d5b478cc7fbf64c6780efc979e4"

Results will be posted here when complete


File an issue against this benchmark runner

@jayzhan211 jayzhan211 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rich-T-kid thanks for this! The hashing itself looks right: 4800 randomized batches matched create_hashes exactly across key types, nulls, slices and nested values, and hits save up to 96% of the hash time at D=65536. I had approved earlier but have to change that, because two things need to land here: a test that detects the reuse, and reserving the cache in the memory pool. I know #26826 is waiting on this, and I've run both changes locally, so they should be quick to apply.

Optional cleanup in the description: Depends on #26817 can go now that the helper is part of this PR, and a ClickBench run at the final head would replace the note that the results predate it.

Comment thread datafusion/common/src/hash_utils.rs Outdated
assert_hashes_match(&mut hasher, &second_batch, &random_state)?;
assert_eq!(
assert_cached_values(&hasher, 1, &dictionary_values),
value_hash_allocation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These pointer checks also pass on a miss because the Vec is recycled, so nothing here shows the rehash was skipped. I made the cache never hit and made BatchPartitioner ignore the hasher, and all the tests still passed in both cases. Since reuse is the point of this PR and #26814 asks for it to be tested directly, could you add this in this PR? It poisons the cached hashes, so only a real hit can return the sentinel, and it fails when the cache never hits. It also covers equal values behind a new Arc and a dropped Arc:

#[cfg(not(feature = "force_hash_collisions"))]
#[test]
fn caching_array_hasher_skips_rehash_only_for_same_values_arc() -> Result<()> {
    let random_state = RandomState::with_seed(0);
    let values: ArrayRef = Arc::new(StringArray::from(vec!["a", "b"]));
    let batch = vec![string_dictionary(vec![0, 1], &values)];
    let mut hasher = caching_hasher(&batch, &random_state);
    let mut hashes = vec![0; 2];
    hasher.create_hashes(&batch, &mut hashes)?;
    let fresh = hashes.clone();

    // Poison the cached hashes: only a cache hit can return the sentinel.
    const SENTINEL: u64 = 0xDEAD_BEEF;
    hasher.dictionaries[0].as_mut().unwrap().1.fill(SENTINEL);

    let same_arc = vec![string_dictionary(vec![1, 0], &values)];
    hasher.create_hashes(&same_arc, &mut hashes)?;
    assert_eq!(hashes, vec![SENTINEL; 2]);

    // Equal contents behind a different `Arc` is a miss.
    let equal_values: ArrayRef = Arc::new(StringArray::from(vec!["a", "b"]));
    let new_arc = vec![string_dictionary(vec![0, 1], &equal_values)];
    hasher.create_hashes(&new_arc, &mut hashes)?;
    assert_eq!(hashes, fresh);

    // A dropped values array must not be matched by a later allocation.
    hasher.dictionaries[0].as_mut().unwrap().1.fill(SENTINEL);
    drop(new_arc);
    drop(equal_values);
    for _ in 0..1000 {
        let reused: ArrayRef = Arc::new(StringArray::from(vec!["a", "b"]));
        let batch = vec![string_dictionary(vec![0, 1], &reused)];
        hasher.create_hashes(&batch, &mut hashes)?;
        assert_eq!(hashes, fresh);
        hasher.dictionaries[0].as_mut().unwrap().1.fill(SENTINEL);
    }
    Ok(())
}

The pointer assertions can go once this is in. The test in my comment on size() covers the BatchPartitioner wiring.

Comment thread datafusion/common/src/hash_utils.rs Resolved
Comment thread datafusion/common/src/hash_utils.rs Outdated
Comment on lines +120 to +122
hashes.resize(values.len(), 0);
// Fresh hashing leaves null value slots unchanged.
hashes.fill(0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional cleanup: clearing first means each slot is only written once, and the randomized comparison against create_hashes still passes.

Suggested change
hashes.resize(values.len(), 0);
// Fresh hashing leaves null value slots unchanged.
hashes.fill(0);
// Fresh hashing leaves null value slots unchanged.
hashes.clear();
hashes.resize(values.len(), 0);

Comment thread datafusion/common/src/hash_utils.rs Outdated
pub struct CachingArrayHasher {
/// Stored with the cache so value hashes cannot cross hash seeds.
random_state: RandomState,
/// One entry per column. Weak identity avoids retaining dictionary values.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional cleanup: the address comparison is only safe because the Weak also keeps the allocation reserved, which is worth stating so nobody later swaps it for a raw pointer.

Suggested change
/// One entry per column. Weak identity avoids retaining dictionary values.
/// One entry per column. Weak identity avoids retaining dictionary values,
/// and keeps their allocation reserved so a new `Arc` can't reuse the address.

Comment on lines 24 to 25
#[cfg(test)]
use crate::hash_utils::create_hashes;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional cleanup: only the test at the bottom of this file uses this import, so it can move into mod tests and drop the cfg. Clippy passes with this.

-#[cfg(test)]
-use crate::hash_utils::create_hashes;
@@
 mod tests {
+    use crate::hash_utils::create_hashes;

@jayzhan211

jayzhan211 commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Since this PR isn't ready yet, I'd prefer to move forward with #26703 first, though there may still be some things left to do there.

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

addressing the comments now!

Since this PR isn't ready yet, I'd prefer to move forward with #26703 first, though there may still be some things left to do there.

I actually think we should go with both. I think for repartionExec we should cache the value computation as that plays into the strengths of dictionary encoding and then for other portions of the code base like regex or 'like' or specefic functions like that we should go with the trimming case

alamb pushed a commit to geoffreyclaude/datafusion that referenced this pull request Nov 7, 2026
## Which issue does this PR close?

- Closes apache#26696.

## Rationale for this change

Queries that group on a high-cardinality dictionary column slow down as
the group count grows. On ClickBench `hits_partitioned` with
`enable_rle_to_dictionary = true`, this PR takes the suite from 78.8 s
to 42.8 s, with Q33 and Q34 about 3.5x faster and peak memory slightly
lower ([bot
run](apache#26703 (comment))).

A hash aggregate builds its output once and emits it in `batch_size`
slices, and slicing a `DictionaryArray` keeps every value. Every slice
therefore carries every group's value, so hashing, functions such as
`lower`, the repartition coalescer and the final aggregate do work per
slice that grows with the group count.

## What changes are included in this PR?

Start reading at `next_batch` in
`aggregates/aggregate_hash_table/common.rs`.

- **Aggregate output, the main gain.** A slice with more values than
rows now holds only the values its rows reference. No threshold is
needed: each group is emitted once, so the cost is fixed per group.
- **A bound for other batches.** Filters and scans also keep whole
dictionaries, so `hash_dictionary` and the new `map_dictionary_values`
handle at most `MAX_DICTIONARY_VALUES_PER_ROW` (64) values per row and
compact past that. Too high only gives up an improvement, while too low
makes cheap work slower: `lower` and `upper` break even at about 40
values per row with keys in random order. The filter and scan queries I
measured showed no visible difference, so this is a guard, not a
measured speedup.
- **`compact_dictionary`** does both, taking each referenced value once.
`take(values, keys)` copies per row, and multi-column group keys repeat
dictionary keys, so it can overflow `i32` offsets, need more rows than
the key type holds, and copy a long value thousands of times.
- **`map_dictionary_values`** replaces
`dictionary.with_values(f(values))` in the string functions, Spark
`hex`, `array_agg`, `regexp_replace` and `substr`, and `clippy.toml`
disallows calling `with_values` directly. If `f` fails, it retries on
only the referenced values, because `f` can see values no row
references. This replaces `substr`'s own fallback.

Each aggregate slice now has its own values `Arc`, so the hash cache
proposed in apache#26816 would miss on these slices. The two haven't been
measured together.

## Benchmarks

| ClickBench partitioned | main | this PR |
|---|---|---|
| Total | 78.8 s | 42.8 s |
| Q33 | 14.9 s | 4.4 s |
| Q34 | 14.8 s | 4.1 s |
| Q18 | 7.6 s | 2.3 s |
| Peak memory | 13.1 GiB | 12.7 GiB |

Q35, Q32 and Q40 read 1.05x to 1.10x slower by minimum. None groups on a
dictionary column, so this PR only adds a type check per output batch
for them, and the bot's noise is about 5-7% per query.

<details><summary>Local runs on a busy 12-core laptop: `lower`, memory
limits, filter queries</summary>

Results were identical on every query. Treat small differences as noise.

`lower` over a dictionary GROUP BY, which ClickBench doesn't cover:

```sql
SELECT lower(s), c FROM (
  SELECT "SearchPhrase" s, COUNT(*) c FROM hits WHERE "SearchPhrase" <> '' GROUP BY s
) ORDER BY c DESC, 1 LIMIT 10;
```

| partitions | 12 | 24 | 32 | 48 | 64 |
|---|---|---|---|---|---|
| ratio to main | 0.08x | 0.14x | 0.16x | 0.24x | 0.22x |

Q33 under `--memory-limit`, one run each:

| limit | main | this PR |
|---|---|---|
| 12g | fails: TopK resources exhausted | 6.3 s |
| 8g | 23.6 s | 16.4 s |
| 6g | 31.2 s | 19.4 s |
| 4g | 20.2 s | 14.3 s |

Filter and scan queries using `reverse`, `initcap`, `LIKE` and hashing
after a filter, with the bound at 40: 0.94x to 1.05x of main.

</details>

## What is the testing strategy for this PR?

- `dictionary.slt` compares each function on aggregate output and on
filter output with the same function on the decoded value. The
comparison is projected, because a filter on the group key is pushed
below the aggregate.
- Unit tests cover `next_batch`, `map_dictionary_values` and hashing:
repeated keys, NULL groups, more rows than the key type holds, and a
value too long to copy per row.
- The `dictionary_sliced` case in
`datafusion/common/benches/with_hashes.rs` covers 8 and 128 values per
row.

## Are there any user-facing changes?

No behavior changes. `datafusion_common::utils` gains
`compact_dictionary`, `map_dictionary_values` and
`MAX_DICTIONARY_VALUES_PER_ROW`.
@jayzhan211

Copy link
Copy Markdown
Contributor

@Rich-T-kid since you asked about merging this one: #26703 has merged, and it affects this PR. It now gives each aggregate output slice with more values than rows only the values its rows reference (ClickBench partitioned 78.8 s to 42.8 s). Those slices then have their own values Arc, so CachingArrayHasher would miss on them, and I expect most of this PR's ClickBench gain to overlap. I haven't measured the two together.

The cache should still help where batches share a values Arc and reach the repartition directly, such as a scan hashed on a dictionary key. #26826 doesn't touch the repartition, so it only needs the helper.

Could you rebase this on main and rerun clickbench_partitioned? That will show whether the repartition change still pays for itself, or whether the helper should move into #26826.

@jayzhan211 jayzhan211 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rich-T-kid thanks for the update, the reuse test and the reservation both do their job. I'm still requesting changes, mainly for the miss path in hash_utils.rs (4x slower than main on one query, inline).

Following up on my note about #26703, I've now measured the two together by merging this head with main locally, and the overlap I expected is there: Q33 0.91x, Q34 0.95x and Q18 0.87x, against 0.94x for a Utf8 control, on a busy laptop. Summed repartition_time on main is already under 1 s for Q16, Q18, Q33 and Q34. The cache does still help a scan hashed on a dictionary key: 0.54 s to 0.45 s on a join over 12 files of 200K values each. You asked about going with both, and that works if the cache stays below #26703's bound and leaves larger dictionaries to it, which is what the inline change does.

Once you've rebased as I asked, could you apply these changes? I'll review that head first, and the clickbench_partitioned rerun can wait until then. It will give the description its numbers and settle whether the helper stays here or moves into #26826. Depends on #26817 can go then too.

downcast_dictionary_array! {
array => {
let values = array.values();
if !dictionary.as_ref().is_some_and(|(cached, _)| {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A cache miss hashes every value, which skips the per-row bound #26703 added to hash_dictionary. So with more than 64 values per row and a changing values Arc, this is slower than main: 1.60 s to 6.67 s (4.17x) on a LIMIT subquery that interleaves 3 files with 2M values each. Could you leave those misses to hash_dictionary, after rebasing? With this change that query takes 1.64 s, and the 0.83x win on a shared Arc below the bound stays. Shared values above the bound stop being cached, which also caps the retained buffer at 4 MiB per column for 8192-row batches.

-use crate::utils::compact_oversized_dictionary;
+use crate::utils::{MAX_DICTIONARY_VALUES_PER_ROW, compact_oversized_dictionary};
@@ CachingArrayHasher::hash_array
-                    if !dictionary.as_ref().is_some_and(|(cached, _)| {
+                    let cached = dictionary.as_ref().is_some_and(|(cached, _)| {
                         std::ptr::addr_eq(cached.as_ptr(), Arc::as_ptr(values))
-                    }) {
+                    });
+                    // Above the bound `hash_dictionary` only hashes the values
+                    // these rows reference, so a miss must not hash all of them.
+                    if !cached && values.len() > MAX_DICTIONARY_VALUES_PER_ROW * array.len()
+                    {
+                        hash_single_array(
+                            array,
+                            &self.random_state,
+                            hashes_buffer,
+                            rehash,
+                        )?;
+                        return Ok(());
+                    }
+                    if !cached {
Boundary test and the SQL repro
#[cfg(not(feature = "force_hash_collisions"))]
#[test]
fn caching_array_hasher_does_not_fill_above_values_per_row_bound() -> Result<()> {
    let random_state = RandomState::with_seed(0);
    let dictionary_of = |len: usize| -> ArrayRef {
        let values: ArrayRef = Arc::new(StringArray::from_iter_values(
            (0..len).map(|i| format!("{i}")),
        ));
        string_dictionary(vec![0], &values)
    };

    // One row may hash up to the bound of values: this fills the cache.
    let at_bound = vec![dictionary_of(MAX_DICTIONARY_VALUES_PER_ROW)];
    let mut hasher = caching_hasher(&at_bound, &random_state);
    assert_hashes_match(&mut hasher, &at_bound, &random_state)?;
    assert!(hasher.dictionary_hashes(0).is_some());

    // One value more is a miss that must not hash, or retain, all values.
    let above_bound = vec![dictionary_of(MAX_DICTIONARY_VALUES_PER_ROW + 1)];
    assert_hashes_match(&mut hasher, &above_bound, &random_state)?;
    let cached_len = hasher.dictionaries[0].as_ref().unwrap().1.len();
    assert_eq!(cached_len, MAX_DICTIONARY_VALUES_PER_ROW);
    Ok(())
}

Write this COPY three times, to b/f0.parquet, b/f1.parquet and b/f2.parquet:

COPY (SELECT 'value_' || CAST(floor(random()*2000000) AS BIGINT) AS k, value AS id
      FROM generate_series(1,8000000))
TO 'b/f0.parquet' STORED AS PARQUET OPTIONS(
  'format.dictionary_page_size_limit' '200000000',
  'format.max_row_group_size' '100000000',
  'format.dictionary_enabled' 'true',
  'format.compression' 'uncompressed');

SET datafusion.execution.parquet.enable_rle_to_dictionary = true;
SET datafusion.execution.target_partitions = 12;
SET datafusion.optimizer.hash_join_single_partition_threshold = 0;
SET datafusion.optimizer.hash_join_single_partition_threshold_rows = 0;
SET datafusion.optimizer.enable_join_dynamic_filter_pushdown = false;
CREATE EXTERNAL TABLE tb STORED AS PARQUET LOCATION 'b/';
SELECT COUNT(*) FROM (SELECT k FROM tb LIMIT 24000000) a
JOIN (SELECT DISTINCT k FROM tb WHERE id = 5) b ON a.k = b.k;

Min of 4 interleaved runs, same result (43) on all sides. Hash time alone per 8192-row batch, 8-byte values, main vs a miss on every batch: 65 values per row 78 vs 399 us, 512 per row 95 vs 3068 us.

);
}

#[test]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test panics under force_hash_collisions, because the cache is never filled there, so the merge queue's hash-collisions job would fail. That one's on me, since it came from my suggestion.

Suggested change
#[test]
#[cfg(not(feature = "force_hash_collisions"))]
#[test]

}
timer.done();
}
partitioner.reserve_hash_cache(&hash_cache_reservation);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing tests this call: I removed it and all 80 repartition tests still pass, so the cache could silently fall out of the memory pool again. Could you add this test in this PR? It fails with the call removed and passes otherwise.

End-to-end test that records the hash cache reservation
#[cfg(not(feature = "force_hash_collisions"))]
#[tokio::test]
async fn hash_repartition_reserves_dictionary_hash_cache() -> Result<()> {
    use datafusion_execution::memory_pool::{
        MemoryPool, MemoryReservation, UnboundedMemoryPool,
    };

    /// Records the largest reservation of the hash cache consumers.
    #[derive(Debug, Default)]
    struct CachePeakPool {
        inner: UnboundedMemoryPool,
        cache_peak: AtomicUsize,
    }
    impl CachePeakPool {
        fn record(&self, reservation: &MemoryReservation, additional: usize) {
            if reservation.consumer().name().contains("hash cache") {
                self.cache_peak.fetch_max(
                    reservation.size() + additional,
                    AtomicOrdering::Relaxed,
                );
            }
        }
    }
    impl Display for CachePeakPool {
        fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
            f.write_str("CachePeakPool")
        }
    }
    impl MemoryPool for CachePeakPool {
        fn name(&self) -> &str {
            "cache_peak"
        }
        fn grow(&self, reservation: &MemoryReservation, additional: usize) {
            self.record(reservation, additional);
            self.inner.grow(reservation, additional);
        }
        fn shrink(&self, reservation: &MemoryReservation, shrink: usize) {
            self.inner.shrink(reservation, shrink);
        }
        fn try_grow(
            &self,
            reservation: &MemoryReservation,
            additional: usize,
        ) -> Result<()> {
            self.record(reservation, additional);
            self.inner.try_grow(reservation, additional)
        }
        fn reserved(&self) -> usize {
            self.inner.reserved()
        }
    }

    let dictionary_type =
        DataType::Dictionary(Box::new(DataType::Int32), Box::new(DataType::Utf8));
    let schema = Arc::new(Schema::new(vec![Field::new("key", dictionary_type, true)]));
    let values: ArrayRef = Arc::new(StringArray::from(vec!["a", "bb", "ccc"]));
    let batch = RecordBatch::try_new(
        Arc::clone(&schema),
        vec![Arc::new(DictionaryArray::<Int32Type>::try_new(
            Int32Array::from(vec![0, 1, 2]),
            values,
        )?)],
    )?;

    let pool = Arc::new(CachePeakPool::default());
    let runtime = RuntimeEnvBuilder::new()
        .with_memory_pool(Arc::clone(&pool) as Arc<dyn MemoryPool>)
        .build_arc()?;
    let task_ctx = Arc::new(TaskContext::default().with_runtime(runtime));
    let exec = TestMemoryExec::try_new_exec(&[vec![batch]], Arc::clone(&schema), None)?;
    let exec = RepartitionExec::try_new(
        exec,
        Partitioning::Hash(vec![col("key", &schema)?], 1),
    )?;
    let output = crate::common::collect(exec.execute(0, task_ctx)?).await?;
    assert_eq!(output.iter().map(RecordBatch::num_rows).sum::<usize>(), 3);

    assert!(pool.cache_peak.load(AtomicOrdering::Relaxed) >= 3 * size_of::<u64>());
    Ok(())
}

let pool: Arc<dyn MemoryPool> = Arc::new(GreedyMemoryPool::new(8));
let reservation = MemoryConsumer::new("cache").register(&pool);
partitioner.reserve_hash_cache(&reservation);
assert!(cached(&partitioner).1.is_none());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional cleanup: this also checks that the reservation shrinks after the cache is dropped, which no test covers today. It fails if the reservation.resize call goes away.

Suggested change
assert!(cached(&partitioner).1.is_none());
assert!(cached(&partitioner).1.is_none());
assert_eq!(pool.reserved(), cached(&partitioner).0);

@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"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6709161025-4591-tvwmm 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 rich-T-kid/repartition-dictionary-hash-cache (401b3ee) to d38fde4 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"

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 rich-T-kid/repartition-dictionary-hash-cache (401b3ee) to d38fde4 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.18 ms │                                      1.12 ms │ +1.06x faster │
│ QQuery 1  │    10.97 ms │                                     11.14 ms │     no change │
│ QQuery 2  │    36.09 ms │                                     34.68 ms │     no change │
│ QQuery 3  │    30.46 ms │                                     30.64 ms │     no change │
│ QQuery 4  │   233.55 ms │                                    235.84 ms │     no change │
│ QQuery 5  │  1512.79 ms │                                   1057.42 ms │ +1.43x faster │
│ QQuery 6  │     1.20 ms │                                      1.16 ms │     no change │
│ QQuery 7  │    12.41 ms │                                     12.41 ms │     no change │
│ QQuery 8  │   329.65 ms │                                    339.69 ms │     no change │
│ QQuery 9  │   471.65 ms │                                    471.56 ms │     no change │
│ QQuery 10 │   199.91 ms │                                    202.53 ms │     no change │
│ QQuery 11 │   210.84 ms │                                    213.19 ms │     no change │
│ QQuery 12 │  1527.49 ms │                                   1124.01 ms │ +1.36x faster │
│ QQuery 13 │  2106.44 ms │                                   1566.85 ms │ +1.34x faster │
│ QQuery 14 │  1617.50 ms │                                   1183.02 ms │ +1.37x faster │
│ QQuery 15 │   289.76 ms │                                    289.98 ms │     no change │
│ QQuery 16 │  3504.82 ms │                                   2200.56 ms │ +1.59x faster │
│ QQuery 17 │  3678.82 ms │                                   2208.83 ms │ +1.67x faster │
│ QQuery 18 │  6519.51 ms │                                   3416.42 ms │ +1.91x faster │
│ QQuery 19 │    26.84 ms │                                     26.88 ms │     no change │
│ QQuery 20 │  1027.59 ms │                                   1063.71 ms │     no change │
│ QQuery 21 │  1343.91 ms │                                   1357.02 ms │     no change │
│ QQuery 22 │  3186.41 ms │                                   3236.64 ms │     no change │
│ QQuery 23 │  9193.19 ms │                                   9093.54 ms │     no change │
│ QQuery 24 │    93.85 ms │                                     94.68 ms │     no change │
│ QQuery 25 │   352.73 ms │                                    352.56 ms │     no change │
│ QQuery 26 │    95.60 ms │                                     96.02 ms │     no change │
│ QQuery 27 │  1127.66 ms │                                   1131.30 ms │     no change │
│ QQuery 28 │  2745.42 ms │                                   2533.39 ms │ +1.08x faster │
│ QQuery 29 │    38.05 ms │                                     37.50 ms │     no change │
│ QQuery 30 │   540.38 ms │                                    537.97 ms │     no change │
│ QQuery 31 │   547.24 ms │                                    536.53 ms │     no change │
│ QQuery 32 │   983.01 ms │                                    962.05 ms │     no change │
│ QQuery 33 │ 13555.33 ms │                                   7265.77 ms │ +1.87x faster │
│ QQuery 34 │ 14193.89 ms │                                   7427.02 ms │ +1.91x faster │
│ QQuery 35 │   296.86 ms │                                    290.44 ms │     no change │
│ QQuery 36 │   168.72 ms │                                    129.32 ms │ +1.30x faster │
│ QQuery 37 │    97.36 ms │                                     94.92 ms │     no change │
│ QQuery 38 │    80.34 ms │                                     82.72 ms │     no change │
│ QQuery 39 │   408.13 ms │                                    271.43 ms │ +1.50x faster │
│ QQuery 40 │    14.12 ms │                                     14.82 ms │     no change │
│ QQuery 41 │    13.40 ms │                                     13.34 ms │     no change │
│ QQuery 42 │    13.24 ms │                                     12.58 ms │ +1.05x faster │
└───────────┴─────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 72438.28ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 51263.19ms │
│ Average Time (HEAD)                                         │  1684.61ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1192.17ms │
│ Queries Faster                                              │         14 │
│ Queries Slower                                              │          0 │
│ Queries with No Change                                      │         29 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │               1.18 / 1.78 ±1.08 / 3.94 ms │                  1.12 / 1.73 ±1.14 / 4.01 ms │     no change │
│ QQuery 1  │            10.97 / 11.08 ±0.10 / 11.19 ms │               11.14 / 11.37 ±0.21 / 11.66 ms │     no change │
│ QQuery 2  │            36.09 / 36.39 ±0.23 / 36.74 ms │               34.68 / 35.18 ±0.38 / 35.71 ms │     no change │
│ QQuery 3  │            30.46 / 30.98 ±0.60 / 31.84 ms │               30.64 / 30.93 ±0.47 / 31.86 ms │     no change │
│ QQuery 4  │         233.55 / 234.78 ±1.28 / 236.44 ms │            235.84 / 242.36 ±4.52 / 249.48 ms │     no change │
│ QQuery 5  │     1512.79 / 1547.77 ±32.35 / 1591.79 ms │        1057.42 / 1095.30 ±28.92 / 1136.24 ms │ +1.41x faster │
│ QQuery 6  │               1.20 / 1.35 ±0.24 / 1.82 ms │                  1.16 / 1.32 ±0.25 / 1.81 ms │     no change │
│ QQuery 7  │            12.41 / 12.46 ±0.04 / 12.51 ms │               12.41 / 14.22 ±3.26 / 20.73 ms │  1.14x slower │
│ QQuery 8  │         329.65 / 339.49 ±5.74 / 347.35 ms │            339.69 / 344.57 ±2.92 / 347.55 ms │     no change │
│ QQuery 9  │        471.65 / 483.07 ±10.32 / 498.48 ms │           471.56 / 488.93 ±19.43 / 522.99 ms │     no change │
│ QQuery 10 │         199.91 / 205.93 ±6.18 / 216.90 ms │            202.53 / 203.81 ±0.85 / 205.08 ms │     no change │
│ QQuery 11 │         210.84 / 212.69 ±1.50 / 215.35 ms │            213.19 / 214.37 ±0.70 / 215.25 ms │     no change │
│ QQuery 12 │     1527.49 / 1568.91 ±38.13 / 1627.30 ms │        1124.01 / 1140.40 ±17.98 / 1171.94 ms │ +1.38x faster │
│ QQuery 13 │    2106.44 / 2412.22 ±282.31 / 2900.78 ms │        1566.85 / 1603.98 ±22.22 / 1634.85 ms │ +1.50x faster │
│ QQuery 14 │     1617.50 / 1644.77 ±19.77 / 1679.23 ms │        1183.02 / 1216.68 ±26.32 / 1252.37 ms │ +1.35x faster │
│ QQuery 15 │        289.76 / 302.72 ±11.55 / 318.68 ms │            289.98 / 300.34 ±7.57 / 310.09 ms │     no change │
│ QQuery 16 │    3504.82 / 3656.70 ±104.08 / 3812.82 ms │        2200.56 / 2222.86 ±29.12 / 2276.77 ms │ +1.65x faster │
│ QQuery 17 │     3678.82 / 3812.56 ±79.55 / 3927.67 ms │        2208.83 / 2262.40 ±45.69 / 2323.01 ms │ +1.69x faster │
│ QQuery 18 │    6519.51 / 6875.46 ±357.48 / 7536.16 ms │       3416.42 / 3556.47 ±143.15 / 3810.18 ms │ +1.93x faster │
│ QQuery 19 │           26.84 / 34.28 ±11.15 / 55.83 ms │               26.88 / 31.89 ±9.32 / 50.51 ms │ +1.08x faster │
│ QQuery 20 │     1027.59 / 1049.97 ±11.40 / 1057.50 ms │         1063.71 / 1071.43 ±8.25 / 1086.41 ms │     no change │
│ QQuery 21 │     1343.91 / 1367.23 ±12.03 / 1376.73 ms │        1357.02 / 1373.41 ±10.32 / 1386.75 ms │     no change │
│ QQuery 22 │     3186.41 / 3252.81 ±57.90 / 3333.90 ms │        3236.64 / 3257.28 ±35.32 / 3327.83 ms │     no change │
│ QQuery 23 │    9193.19 / 9382.49 ±115.43 / 9534.79 ms │       9093.54 / 9409.34 ±242.60 / 9803.09 ms │     no change │
│ QQuery 24 │         93.85 / 109.11 ±25.10 / 159.23 ms │            94.68 / 113.74 ±32.84 / 179.30 ms │     no change │
│ QQuery 25 │         352.73 / 355.51 ±2.93 / 361.19 ms │            352.56 / 355.05 ±1.82 / 358.08 ms │     no change │
│ QQuery 26 │           95.60 / 98.08 ±2.35 / 102.40 ms │               96.02 / 97.28 ±1.44 / 99.95 ms │     no change │
│ QQuery 27 │      1127.66 / 1135.09 ±9.05 / 1151.49 ms │         1131.30 / 1141.77 ±7.82 / 1153.07 ms │     no change │
│ QQuery 28 │     2745.42 / 2785.23 ±39.68 / 2857.82 ms │        2533.39 / 2572.02 ±24.35 / 2606.68 ms │ +1.08x faster │
│ QQuery 29 │            38.05 / 38.34 ±0.32 / 38.94 ms │              37.50 / 48.34 ±10.97 / 67.67 ms │  1.26x slower │
│ QQuery 30 │         540.38 / 546.91 ±7.93 / 562.23 ms │            537.97 / 549.12 ±8.45 / 559.70 ms │     no change │
│ QQuery 31 │         547.24 / 555.37 ±8.84 / 571.34 ms │           536.53 / 558.03 ±33.74 / 625.27 ms │     no change │
│ QQuery 32 │      983.01 / 1048.84 ±60.02 / 1136.98 ms │        962.05 / 1059.72 ±118.96 / 1280.74 ms │     no change │
│ QQuery 33 │ 13555.33 / 14371.47 ±493.61 / 14970.91 ms │       7265.77 / 7513.90 ±200.18 / 7782.48 ms │ +1.91x faster │
│ QQuery 34 │ 14193.89 / 14831.66 ±545.98 / 15786.81 ms │        7427.02 / 7481.67 ±39.99 / 7527.71 ms │ +1.98x faster │
│ QQuery 35 │        296.86 / 315.49 ±21.66 / 355.75 ms │           290.44 / 303.34 ±11.77 / 322.76 ms │     no change │
│ QQuery 36 │        168.72 / 188.07 ±12.15 / 203.10 ms │           129.32 / 144.53 ±12.00 / 165.29 ms │ +1.30x faster │
│ QQuery 37 │          97.36 / 101.15 ±3.16 / 105.28 ms │             94.92 / 103.32 ±6.69 / 110.07 ms │     no change │
│ QQuery 38 │            80.34 / 82.53 ±1.66 / 84.62 ms │               82.72 / 84.96 ±1.48 / 87.01 ms │     no change │
│ QQuery 39 │         408.13 / 412.65 ±3.22 / 416.57 ms │           271.43 / 294.18 ±16.71 / 321.80 ms │ +1.40x faster │
│ QQuery 40 │            14.12 / 19.37 ±6.92 / 32.81 ms │               14.82 / 19.67 ±5.90 / 28.88 ms │     no change │
│ QQuery 41 │            13.40 / 15.68 ±3.80 / 23.23 ms │               13.34 / 13.96 ±0.76 / 15.27 ms │ +1.12x faster │
│ QQuery 42 │            13.24 / 13.35 ±0.08 / 13.46 ms │               12.58 / 12.89 ±0.26 / 13.22 ms │     no change │
└───────────┴───────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 75501.79ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 52598.09ms │
│ Average Time (HEAD)                                         │  1755.86ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1223.21ms │
│ Queries Faster                                              │         14 │
│ Queries Slower                                              │          2 │
│ Queries with No Change                                      │         27 │
│ 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: d38fde4 (merge-base) | Changed: rich-T-kid/repartition-dictionary-hash-cache

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 843.7 MiB 830.4 MiB -1.6%
Query 5 1.4 GiB 1.8 GiB +30.7%
Query 6 0 B 0 B 0.0%
Query 7 40.3 MiB 50.3 MiB +25.0%
Query 8 939.5 MiB 956.2 MiB +1.8%
Query 9 594.0 MiB 594.0 MiB +0.0%
Query 10 71.6 MiB 73.0 MiB +2.0%
Query 11 76.8 MiB 75.2 MiB -2.0%
Query 12 1.6 GiB 1.9 GiB +18.5%
Query 13 1.9 GiB 1.7 GiB -9.0%
Query 14 1.9 GiB 2.1 GiB +11.9%
Query 15 1.2 GiB 1.2 GiB +2.1%
Query 16 3.4 GiB 3.6 GiB +7.5%
Query 17 3.3 GiB 3.5 GiB +6.6%
Query 18 7.6 GiB 7.5 GiB -0.8%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.6 MiB 1.5 MiB -5.2%
Query 22 2.5 MiB 2.4 MiB -6.9%
Query 23 12.7 MiB 12.6 MiB -1.1%
Query 24 6.4 MiB 6.8 MiB +5.9%
Query 25 8.1 MiB 8.1 MiB -0.0%
Query 26 7.3 MiB 8.3 MiB +13.4%
Query 27 2.5 MiB 2.5 MiB +0.0%
Query 28 2.1 GiB 2.0 GiB -4.8%
Query 29 624 B 624 B +0.0%
Query 30 720.7 MiB 633.0 MiB -12.2%
Query 31 1.5 GiB 1.5 GiB -0.0%
Query 32 7.2 GiB 7.1 GiB -0.2%
Query 33 12.7 GiB 14.8 GiB +16.4%
Query 34 12.7 GiB 12.4 GiB -2.5%
Query 35 668.7 MiB 664.7 MiB -0.6%
Query 36 474.1 MiB 475.4 MiB +0.3%
Query 37 8.1 MiB 8.4 MiB +3.9%
Query 38 4.8 MiB 4.8 MiB +1.6%
Query 39 460.4 MiB 912.9 MiB +98.3%
Query 40 2.8 MiB 2.3 MiB -16.5%
Query 41 3.3 MiB 3.3 MiB +0.0%
Query 42 1.7 MiB 1.8 MiB +5.8%

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 (d38fde4 (merge-base)) 12.7 GiB 12.9 GiB 142.1 MiB 1.0×
clickbench_partitioned changed (rich-T-kid/repartition-dictionary-hash-cache) 14.8 GiB 16.4 GiB 1.6 GiB 1.1×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 380.1s
Peak memory 12.9 GiB
Avg memory 6.0 GiB
CPU user 3274.4s
CPU sys 204.6s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 265.1s
Peak memory 16.4 GiB
Avg memory 6.4 GiB
CPU user 2090.8s
CPU sys 172.7s
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"

2 similar comments
@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"

@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"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6711110047-4599-4kt7b 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 rich-T-kid/repartition-dictionary-hash-cache (bee0600) to 9d15cf0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"

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-c6711108042-4597-p6jqg 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 rich-T-kid/repartition-dictionary-hash-cache (bee0600) to 9d15cf0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"

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-c6711109242-4598-psqc7 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 rich-T-kid/repartition-dictionary-hash-cache (bee0600) to 9d15cf0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"

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 rich-T-kid/repartition-dictionary-hash-cache (bee0600) to 9d15cf0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.15 ms │                                      1.11 ms │     no change │
│ QQuery 1  │   11.20 ms │                                     11.09 ms │     no change │
│ QQuery 2  │   34.50 ms │                                     34.41 ms │     no change │
│ QQuery 3  │   30.29 ms │                                     30.74 ms │     no change │
│ QQuery 4  │  238.44 ms │                                    237.69 ms │     no change │
│ QQuery 5  │  792.38 ms │                                    798.73 ms │     no change │
│ QQuery 6  │    1.16 ms │                                      1.15 ms │     no change │
│ QQuery 7  │   12.18 ms │                                     12.31 ms │     no change │
│ QQuery 8  │  328.18 ms │                                    336.15 ms │     no change │
│ QQuery 9  │  465.97 ms │                                    474.51 ms │     no change │
│ QQuery 10 │  198.64 ms │                                    199.97 ms │     no change │
│ QQuery 11 │  210.45 ms │                                    211.95 ms │     no change │
│ QQuery 12 │  791.60 ms │                                    816.50 ms │     no change │
│ QQuery 13 │ 1068.52 ms │                                   1096.28 ms │     no change │
│ QQuery 14 │  841.97 ms │                                    845.67 ms │     no change │
│ QQuery 15 │  284.55 ms │                                    288.29 ms │     no change │
│ QQuery 16 │ 1297.95 ms │                                   1337.56 ms │     no change │
│ QQuery 17 │ 1264.22 ms │                                   1268.85 ms │     no change │
│ QQuery 18 │ 2011.37 ms │                                   2041.89 ms │     no change │
│ QQuery 19 │   26.85 ms │                                     27.23 ms │     no change │
│ QQuery 20 │ 1049.07 ms │                                   1055.12 ms │     no change │
│ QQuery 21 │ 1369.60 ms │                                   1364.76 ms │     no change │
│ QQuery 22 │ 3222.24 ms │                                   3248.40 ms │     no change │
│ QQuery 23 │ 9286.76 ms │                                   9238.58 ms │     no change │
│ QQuery 24 │   96.16 ms │                                     96.78 ms │     no change │
│ QQuery 25 │  352.79 ms │                                    355.12 ms │     no change │
│ QQuery 26 │   96.28 ms │                                     96.59 ms │     no change │
│ QQuery 27 │ 1148.25 ms │                                   1141.08 ms │     no change │
│ QQuery 28 │ 2535.99 ms │                                   2552.95 ms │     no change │
│ QQuery 29 │   37.56 ms │                                     37.63 ms │     no change │
│ QQuery 30 │  546.37 ms │                                    554.11 ms │     no change │
│ QQuery 31 │  538.98 ms │                                    540.89 ms │     no change │
│ QQuery 32 │  990.76 ms │                                   1046.13 ms │  1.06x slower │
│ QQuery 33 │ 3633.08 ms │                                   3627.03 ms │     no change │
│ QQuery 34 │ 3718.06 ms │                                   3780.82 ms │     no change │
│ QQuery 35 │  304.89 ms │                                    299.11 ms │     no change │
│ QQuery 36 │  128.72 ms │                                    131.04 ms │     no change │
│ QQuery 37 │   96.40 ms │                                     97.24 ms │     no change │
│ QQuery 38 │   81.97 ms │                                     79.86 ms │     no change │
│ QQuery 39 │  302.05 ms │                                    278.49 ms │ +1.08x faster │
│ QQuery 40 │   14.19 ms │                                     13.93 ms │     no change │
│ QQuery 41 │   13.22 ms │                                     13.50 ms │     no change │
│ QQuery 42 │   12.85 ms │                                     13.01 ms │     no change │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 39487.81ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 39734.27ms │
│ Average Time (HEAD)                                         │   918.32ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   924.05ms │
│ 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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │            1.15 / 1.79 ±1.14 / 4.08 ms │                  1.11 / 1.71 ±1.08 / 3.87 ms │     no change │
│ QQuery 1  │         11.20 / 11.26 ±0.04 / 11.33 ms │               11.09 / 11.44 ±0.50 / 12.44 ms │     no change │
│ QQuery 2  │         34.50 / 34.89 ±0.26 / 35.22 ms │               34.41 / 34.84 ±0.26 / 35.16 ms │     no change │
│ QQuery 3  │         30.29 / 31.24 ±0.93 / 32.96 ms │               30.74 / 32.07 ±1.27 / 34.12 ms │     no change │
│ QQuery 4  │      238.44 / 240.58 ±2.00 / 244.24 ms │            237.69 / 242.42 ±3.10 / 246.69 ms │     no change │
│ QQuery 5  │     792.38 / 816.49 ±14.25 / 835.04 ms │            798.73 / 808.61 ±6.36 / 817.36 ms │     no change │
│ QQuery 6  │            1.16 / 1.32 ±0.23 / 1.77 ms │                  1.15 / 1.30 ±0.23 / 1.76 ms │     no change │
│ QQuery 7  │         12.18 / 12.28 ±0.10 / 12.42 ms │               12.31 / 12.47 ±0.11 / 12.59 ms │     no change │
│ QQuery 8  │      328.18 / 333.49 ±3.23 / 336.77 ms │            336.15 / 340.17 ±3.51 / 345.22 ms │     no change │
│ QQuery 9  │      465.97 / 474.23 ±8.64 / 488.36 ms │           474.51 / 489.18 ±12.29 / 510.59 ms │     no change │
│ QQuery 10 │      198.64 / 203.74 ±4.72 / 210.20 ms │            199.97 / 201.03 ±0.58 / 201.67 ms │     no change │
│ QQuery 11 │      210.45 / 211.27 ±0.69 / 212.22 ms │            211.95 / 212.80 ±1.12 / 214.96 ms │     no change │
│ QQuery 12 │     791.60 / 817.29 ±13.67 / 832.37 ms │            816.50 / 826.54 ±7.32 / 835.76 ms │     no change │
│ QQuery 13 │  1068.52 / 1105.03 ±24.71 / 1143.66 ms │        1096.28 / 1123.92 ±24.51 / 1169.28 ms │     no change │
│ QQuery 14 │      841.97 / 856.13 ±9.18 / 866.54 ms │           845.67 / 866.04 ±11.80 / 879.56 ms │     no change │
│ QQuery 15 │     284.55 / 302.69 ±12.71 / 318.54 ms │            288.29 / 298.14 ±5.50 / 303.02 ms │     no change │
│ QQuery 16 │   1297.95 / 1305.14 ±4.83 / 1311.26 ms │        1337.56 / 1353.10 ±16.06 / 1382.95 ms │     no change │
│ QQuery 17 │  1264.22 / 1287.24 ±27.97 / 1342.00 ms │        1268.85 / 1297.21 ±14.79 / 1310.53 ms │     no change │
│ QQuery 18 │  2011.37 / 2069.74 ±46.20 / 2143.21 ms │        2041.89 / 2072.54 ±32.22 / 2115.87 ms │     no change │
│ QQuery 19 │         26.85 / 29.57 ±5.06 / 39.67 ms │               27.23 / 31.31 ±5.27 / 41.67 ms │  1.06x slower │
│ QQuery 20 │  1049.07 / 1068.22 ±10.70 / 1080.60 ms │        1055.12 / 1074.19 ±12.57 / 1094.50 ms │     no change │
│ QQuery 21 │   1369.60 / 1375.91 ±7.01 / 1389.08 ms │         1364.76 / 1380.51 ±7.98 / 1386.17 ms │     no change │
│ QQuery 22 │  3222.24 / 3272.83 ±42.52 / 3351.60 ms │        3248.40 / 3321.69 ±67.41 / 3440.08 ms │     no change │
│ QQuery 23 │ 9286.76 / 9463.53 ±138.96 / 9666.94 ms │       9238.58 / 9410.65 ±118.80 / 9585.82 ms │     no change │
│ QQuery 24 │         96.16 / 98.09 ±1.33 / 99.76 ms │            96.78 / 149.66 ±73.19 / 293.27 ms │  1.53x slower │
│ QQuery 25 │      352.79 / 355.84 ±3.19 / 361.02 ms │            355.12 / 357.00 ±1.70 / 359.92 ms │     no change │
│ QQuery 26 │         96.28 / 97.85 ±1.27 / 99.63 ms │              96.59 / 99.07 ±1.86 / 101.42 ms │     no change │
│ QQuery 27 │   1148.25 / 1156.19 ±6.03 / 1164.20 ms │         1141.08 / 1152.03 ±8.95 / 1164.46 ms │     no change │
│ QQuery 28 │  2535.99 / 2575.02 ±25.56 / 2605.72 ms │        2552.95 / 2581.67 ±27.84 / 2634.62 ms │     no change │
│ QQuery 29 │         37.56 / 37.83 ±0.22 / 38.05 ms │               37.63 / 43.57 ±8.73 / 60.37 ms │  1.15x slower │
│ QQuery 30 │     546.37 / 557.30 ±16.22 / 589.48 ms │            554.11 / 560.11 ±3.48 / 564.86 ms │     no change │
│ QQuery 31 │      538.98 / 549.87 ±9.99 / 562.89 ms │            540.89 / 547.99 ±5.89 / 558.16 ms │     no change │
│ QQuery 32 │   990.76 / 1034.70 ±55.76 / 1141.69 ms │        1046.13 / 1114.37 ±36.84 / 1145.56 ms │  1.08x slower │
│ QQuery 33 │  3633.08 / 3769.24 ±78.51 / 3873.55 ms │       3627.03 / 3749.80 ±107.32 / 3903.78 ms │     no change │
│ QQuery 34 │  3718.06 / 3838.04 ±65.81 / 3913.15 ms │        3780.82 / 3899.69 ±88.82 / 3981.95 ms │     no change │
│ QQuery 35 │      304.89 / 314.88 ±9.92 / 333.78 ms │           299.11 / 325.34 ±24.62 / 363.95 ms │     no change │
│ QQuery 36 │      128.72 / 141.06 ±7.31 / 151.33 ms │           131.04 / 144.48 ±11.99 / 160.18 ms │     no change │
│ QQuery 37 │       96.40 / 105.23 ±6.60 / 112.76 ms │             97.24 / 103.00 ±3.38 / 106.82 ms │     no change │
│ QQuery 38 │         81.97 / 84.03 ±1.51 / 85.87 ms │               79.86 / 84.41 ±3.44 / 90.27 ms │     no change │
│ QQuery 39 │     302.05 / 316.85 ±10.72 / 329.74 ms │           278.49 / 301.19 ±12.67 / 316.19 ms │     no change │
│ QQuery 40 │         14.19 / 17.40 ±4.90 / 27.11 ms │               13.93 / 14.84 ±0.52 / 15.40 ms │ +1.17x faster │
│ QQuery 41 │         13.22 / 13.63 ±0.21 / 13.81 ms │               13.50 / 17.72 ±7.36 / 32.40 ms │  1.30x slower │
│ QQuery 42 │         12.85 / 14.76 ±3.62 / 22.00 ms │               13.01 / 13.42 ±0.36 / 13.97 ms │ +1.10x faster │
└───────────┴────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 40403.71ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 40703.21ms │
│ Average Time (HEAD)                                         │   939.62ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   946.59ms │
│ Queries Faster                                              │          2 │
│ Queries Slower                                              │          5 │
│ Queries with No Change                                      │         36 │
│ 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: 9d15cf0 (merge-base) | Changed: rich-T-kid/repartition-dictionary-hash-cache

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 831.7 MiB 827.4 MiB -0.5%
Query 5 1.5 GiB 1.4 GiB -1.7%
Query 6 0 B 0 B 0.0%
Query 7 60.0 MiB 50.3 MiB -16.1%
Query 8 953.8 MiB 899.5 MiB -5.7%
Query 9 552.0 MiB 552.2 MiB +0.0%
Query 10 72.4 MiB 72.6 MiB +0.3%
Query 11 75.5 MiB 74.8 MiB -1.0%
Query 12 1.6 GiB 1.6 GiB -0.3%
Query 13 1.7 GiB 1.6 GiB -7.0%
Query 14 1.6 GiB 1.6 GiB +1.9%
Query 15 1.2 GiB 1.2 GiB -3.5%
Query 16 3.2 GiB 3.3 GiB +3.1%
Query 17 3.3 GiB 3.2 GiB -1.6%
Query 18 7.2 GiB 7.2 GiB -0.2%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.4 MiB 1.6 MiB +13.3%
Query 22 2.4 MiB 2.4 MiB -1.3%
Query 23 12.5 MiB 12.6 MiB +1.2%
Query 24 6.9 MiB 6.9 MiB +0.1%
Query 25 7.3 MiB 6.9 MiB -4.6%
Query 26 7.9 MiB 7.9 MiB -0.7%
Query 27 2.2 MiB 2.5 MiB +9.7%
Query 28 1.8 GiB 2.0 GiB +11.8%
Query 29 624 B 624 B +0.0%
Query 30 648.6 MiB 631.9 MiB -2.6%
Query 31 1.5 GiB 1.5 GiB +1.6%
Query 32 7.1 GiB 7.1 GiB -0.3%
Query 33 9.9 GiB 10.2 GiB +3.1%
Query 34 11.0 GiB 10.5 GiB -4.7%
Query 35 659.6 MiB 664.8 MiB +0.8%
Query 36 105.4 MiB 104.3 MiB -1.0%
Query 37 8.1 MiB 8.4 MiB +3.9%
Query 38 5.3 MiB 5.3 MiB -1.4%
Query 39 213.9 MiB 213.6 MiB -0.1%
Query 40 2.6 MiB 2.6 MiB -0.0%
Query 41 3.3 MiB 3.3 MiB +0.0%
Query 42 1.7 MiB 1.7 MiB -0.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
clickbench_partitioned base (9d15cf0 (merge-base)) 11.0 GiB 12.9 GiB 1.9 GiB 1.2×
clickbench_partitioned changed (rich-T-kid/repartition-dictionary-hash-cache) 10.5 GiB 13.0 GiB 2.5 GiB 1.2×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 205.0s
Peak memory 12.9 GiB
Avg memory 5.4 GiB
CPU user 1967.4s
CPU sys 130.9s
Peak spill 187.0 MiB

clickbench_partitioned — branch

Metric Value
Wall time 205.0s
Peak memory 13.0 GiB
Avg memory 5.7 GiB
CPU user 1973.9s
CPU sys 143.1s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing rich-T-kid/repartition-dictionary-hash-cache (bee0600) to 9d15cf0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.13 ms │                                      1.18 ms │    no change │
│ QQuery 1  │   11.17 ms │                                     11.13 ms │    no change │
│ QQuery 2  │   34.60 ms │                                     35.05 ms │    no change │
│ QQuery 3  │   30.48 ms │                                     31.06 ms │    no change │
│ QQuery 4  │  239.77 ms │                                    233.71 ms │    no change │
│ QQuery 5  │  818.71 ms │                                    789.22 ms │    no change │
│ QQuery 6  │    1.16 ms │                                      1.20 ms │    no change │
│ QQuery 7  │   12.16 ms │                                     12.43 ms │    no change │
│ QQuery 8  │  333.99 ms │                                    327.76 ms │    no change │
│ QQuery 9  │  462.19 ms │                                    463.10 ms │    no change │
│ QQuery 10 │  198.92 ms │                                    200.14 ms │    no change │
│ QQuery 11 │  209.60 ms │                                    211.84 ms │    no change │
│ QQuery 12 │  790.43 ms │                                    811.87 ms │    no change │
│ QQuery 13 │ 1082.24 ms │                                   1092.30 ms │    no change │
│ QQuery 14 │  845.00 ms │                                    827.93 ms │    no change │
│ QQuery 15 │  295.87 ms │                                    287.35 ms │    no change │
│ QQuery 16 │ 1296.11 ms │                                   1285.21 ms │    no change │
│ QQuery 17 │ 1264.67 ms │                                   1257.28 ms │    no change │
│ QQuery 18 │ 2052.54 ms │                                   2002.44 ms │    no change │
│ QQuery 19 │   28.24 ms │                                     27.08 ms │    no change │
│ QQuery 20 │ 1072.67 ms │                                   1048.93 ms │    no change │
│ QQuery 21 │ 1382.11 ms │                                   1363.09 ms │    no change │
│ QQuery 22 │ 3269.58 ms │                                   3227.18 ms │    no change │
│ QQuery 23 │ 9226.72 ms │                                   9227.19 ms │    no change │
│ QQuery 24 │   97.41 ms │                                     96.22 ms │    no change │
│ QQuery 25 │  352.72 ms │                                    353.36 ms │    no change │
│ QQuery 26 │   96.80 ms │                                     97.16 ms │    no change │
│ QQuery 27 │ 1150.02 ms │                                   1145.86 ms │    no change │
│ QQuery 28 │ 2528.95 ms │                                   2536.21 ms │    no change │
│ QQuery 29 │   37.95 ms │                                     38.24 ms │    no change │
│ QQuery 30 │  552.82 ms │                                    544.02 ms │    no change │
│ QQuery 31 │  536.96 ms │                                    537.50 ms │    no change │
│ QQuery 32 │ 1058.25 ms │                                   1125.10 ms │ 1.06x slower │
│ QQuery 33 │ 3733.09 ms │                                   3896.16 ms │    no change │
│ QQuery 34 │ 3696.48 ms │                                   3869.05 ms │    no change │
│ QQuery 35 │  292.66 ms │                                    315.13 ms │ 1.08x slower │
│ QQuery 36 │  132.56 ms │                                    141.20 ms │ 1.07x slower │
│ QQuery 37 │   95.07 ms │                                     99.16 ms │    no change │
│ QQuery 38 │   80.91 ms │                                     81.60 ms │    no change │
│ QQuery 39 │  284.44 ms │                                    300.56 ms │ 1.06x slower │
│ QQuery 40 │   13.48 ms │                                     15.04 ms │ 1.12x slower │
│ QQuery 41 │   12.84 ms │                                     14.38 ms │ 1.12x slower │
│ QQuery 42 │   12.46 ms │                                     13.81 ms │ 1.11x slower │
└───────────┴────────────┴──────────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 39725.94ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 39995.44ms │
│ Average Time (HEAD)                                         │   923.86ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   930.13ms │
│ Queries Faster                                              │          0 │
│ Queries Slower                                              │          7 │
│ Queries with No Change                                      │         36 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │            1.13 / 1.73 ±1.12 / 3.98 ms │                  1.18 / 1.79 ±1.12 / 4.03 ms │     no change │
│ QQuery 1  │         11.17 / 11.27 ±0.10 / 11.43 ms │               11.13 / 11.32 ±0.12 / 11.44 ms │     no change │
│ QQuery 2  │         34.60 / 35.02 ±0.44 / 35.87 ms │               35.05 / 35.24 ±0.17 / 35.56 ms │     no change │
│ QQuery 3  │         30.48 / 31.22 ±0.80 / 32.72 ms │               31.06 / 31.23 ±0.12 / 31.41 ms │     no change │
│ QQuery 4  │      239.77 / 242.76 ±3.65 / 249.84 ms │            233.71 / 239.25 ±4.01 / 244.56 ms │     no change │
│ QQuery 5  │      818.71 / 824.05 ±4.63 / 830.79 ms │           789.22 / 810.50 ±12.36 / 827.56 ms │     no change │
│ QQuery 6  │            1.16 / 1.32 ±0.24 / 1.79 ms │                  1.20 / 1.35 ±0.24 / 1.81 ms │     no change │
│ QQuery 7  │         12.16 / 12.34 ±0.13 / 12.57 ms │               12.43 / 12.44 ±0.02 / 12.48 ms │     no change │
│ QQuery 8  │      333.99 / 336.24 ±1.57 / 338.50 ms │            327.76 / 333.79 ±6.13 / 345.51 ms │     no change │
│ QQuery 9  │      462.19 / 473.98 ±7.78 / 485.17 ms │           463.10 / 480.24 ±10.51 / 492.31 ms │     no change │
│ QQuery 10 │      198.92 / 200.67 ±1.32 / 202.95 ms │            200.14 / 201.88 ±1.46 / 204.29 ms │     no change │
│ QQuery 11 │      209.60 / 211.38 ±1.27 / 213.56 ms │            211.84 / 212.20 ±0.40 / 212.82 ms │     no change │
│ QQuery 12 │     790.43 / 823.17 ±19.97 / 853.13 ms │            811.87 / 820.94 ±4.89 / 825.81 ms │     no change │
│ QQuery 13 │  1082.24 / 1129.85 ±40.61 / 1205.03 ms │        1092.30 / 1106.79 ±25.54 / 1157.77 ms │     no change │
│ QQuery 14 │      845.00 / 855.57 ±9.06 / 870.55 ms │           827.93 / 858.59 ±19.97 / 885.13 ms │     no change │
│ QQuery 15 │      295.87 / 306.50 ±6.08 / 312.31 ms │           287.35 / 300.34 ±16.15 / 331.24 ms │     no change │
│ QQuery 16 │  1296.11 / 1327.25 ±35.58 / 1395.90 ms │        1285.21 / 1323.97 ±37.30 / 1374.62 ms │     no change │
│ QQuery 17 │  1264.67 / 1300.80 ±21.76 / 1321.32 ms │        1257.28 / 1286.49 ±18.39 / 1309.72 ms │     no change │
│ QQuery 18 │  2052.54 / 2113.86 ±37.34 / 2158.44 ms │        2002.44 / 2037.97 ±22.24 / 2069.10 ms │     no change │
│ QQuery 19 │         28.24 / 31.64 ±5.48 / 42.40 ms │              27.08 / 37.24 ±19.74 / 76.72 ms │  1.18x slower │
│ QQuery 20 │   1072.67 / 1076.07 ±3.68 / 1081.31 ms │         1048.93 / 1053.76 ±3.39 / 1058.16 ms │     no change │
│ QQuery 21 │   1382.11 / 1393.15 ±7.47 / 1405.46 ms │         1363.09 / 1374.69 ±9.53 / 1390.03 ms │     no change │
│ QQuery 22 │  3269.58 / 3302.91 ±24.76 / 3342.38 ms │        3227.18 / 3279.70 ±44.03 / 3333.23 ms │     no change │
│ QQuery 23 │ 9226.72 / 9424.73 ±144.83 / 9669.81 ms │       9227.19 / 9435.77 ±186.83 / 9699.78 ms │     no change │
│ QQuery 24 │      97.41 / 139.66 ±68.09 / 273.87 ms │              96.22 / 99.26 ±3.04 / 104.50 ms │ +1.41x faster │
│ QQuery 25 │      352.72 / 354.97 ±1.76 / 358.01 ms │            353.36 / 358.60 ±4.92 / 367.26 ms │     no change │
│ QQuery 26 │        96.80 / 99.42 ±1.57 / 101.06 ms │               97.16 / 98.73 ±1.04 / 99.92 ms │     no change │
│ QQuery 27 │  1150.02 / 1167.82 ±10.37 / 1181.27 ms │         1145.86 / 1158.65 ±9.60 / 1173.24 ms │     no change │
│ QQuery 28 │  2528.95 / 2577.57 ±30.96 / 2611.20 ms │        2536.21 / 2586.11 ±46.05 / 2661.53 ms │     no change │
│ QQuery 29 │        37.95 / 54.17 ±15.36 / 79.29 ms │              38.24 / 51.65 ±16.93 / 81.91 ms │     no change │
│ QQuery 30 │      552.82 / 560.16 ±5.79 / 565.28 ms │           544.02 / 561.03 ±18.47 / 596.57 ms │     no change │
│ QQuery 31 │     536.96 / 558.86 ±17.62 / 589.39 ms │           537.50 / 563.07 ±18.64 / 589.05 ms │     no change │
│ QQuery 32 │ 1058.25 / 1138.33 ±118.61 / 1371.17 ms │        1125.10 / 1193.46 ±83.13 / 1347.98 ms │     no change │
│ QQuery 33 │  3733.09 / 3848.39 ±70.25 / 3945.48 ms │        3896.16 / 3985.33 ±68.45 / 4100.46 ms │     no change │
│ QQuery 34 │  3696.48 / 3813.00 ±89.84 / 3946.76 ms │       3869.05 / 4014.06 ±159.01 / 4304.62 ms │  1.05x slower │
│ QQuery 35 │     292.66 / 340.85 ±40.64 / 395.72 ms │           315.13 / 330.22 ±22.50 / 374.80 ms │     no change │
│ QQuery 36 │      132.56 / 143.46 ±7.40 / 151.45 ms │           141.20 / 156.65 ±14.37 / 176.26 ms │  1.09x slower │
│ QQuery 37 │         95.07 / 96.45 ±1.11 / 98.18 ms │             99.16 / 105.60 ±7.13 / 117.99 ms │  1.09x slower │
│ QQuery 38 │         80.91 / 86.43 ±5.18 / 95.43 ms │               81.60 / 86.14 ±3.85 / 90.98 ms │     no change │
│ QQuery 39 │      284.44 / 298.19 ±6.92 / 302.92 ms │           300.56 / 319.76 ±13.78 / 339.56 ms │  1.07x slower │
│ QQuery 40 │         13.48 / 14.60 ±0.88 / 15.95 ms │               15.04 / 20.35 ±6.21 / 31.52 ms │  1.39x slower │
│ QQuery 41 │         12.84 / 14.86 ±3.79 / 22.44 ms │               14.38 / 14.85 ±0.55 / 15.87 ms │     no change │
│ QQuery 42 │         12.46 / 12.75 ±0.24 / 13.14 ms │               13.81 / 15.66 ±2.75 / 21.06 ms │  1.23x slower │
└───────────┴────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 40787.44ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 41006.65ms │
│ Average Time (HEAD)                                         │   948.55ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   953.64ms │
│ Queries Faster                                              │          1 │
│ Queries Slower                                              │          7 │
│ Queries with No Change                                      │         35 │
│ 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: 9d15cf0 (merge-base) | Changed: rich-T-kid/repartition-dictionary-hash-cache

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 827.8 MiB 826.7 MiB -0.1%
Query 5 1.4 GiB 1.4 GiB -2.1%
Query 6 0 B 0 B 0.0%
Query 7 40.3 MiB 50.3 MiB +24.8%
Query 8 966.4 MiB 945.3 MiB -2.2%
Query 9 594.0 MiB 593.9 MiB -0.0%
Query 10 74.4 MiB 74.2 MiB -0.3%
Query 11 76.7 MiB 75.5 MiB -1.5%
Query 12 1.6 GiB 1.6 GiB -1.5%
Query 13 1.6 GiB 1.6 GiB -0.1%
Query 14 1.6 GiB 1.6 GiB -0.8%
Query 15 1.2 GiB 1.2 GiB -1.8%
Query 16 3.1 GiB 3.3 GiB +5.7%
Query 17 3.2 GiB 3.4 GiB +5.1%
Query 18 7.4 GiB 7.2 GiB -2.9%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.6 MiB 1.3 MiB -14.0%
Query 22 2.4 MiB 2.2 MiB -7.8%
Query 23 12.8 MiB 11.1 MiB -13.3%
Query 24 5.6 MiB 6.3 MiB +11.3%
Query 25 6.9 MiB 8.1 MiB +17.6%
Query 26 8.1 MiB 7.2 MiB -10.9%
Query 27 2.2 MiB 2.5 MiB +9.7%
Query 28 1.9 GiB 1.8 GiB -4.7%
Query 29 624 B 624 B +0.0%
Query 30 661.0 MiB 644.6 MiB -2.5%
Query 31 1.5 GiB 1.5 GiB -1.5%
Query 32 7.1 GiB 7.1 GiB -0.1%
Query 33 9.7 GiB 9.9 GiB +1.9%
Query 34 10.2 GiB 10.2 GiB -0.2%
Query 35 661.7 MiB 664.8 MiB +0.5%
Query 36 105.4 MiB 105.4 MiB +0.1%
Query 37 8.4 MiB 8.2 MiB -2.1%
Query 38 5.5 MiB 5.3 MiB -3.4%
Query 39 213.4 MiB 214.1 MiB +0.3%
Query 40 2.5 MiB 2.2 MiB -12.3%
Query 41 3.3 MiB 3.3 MiB +0.0%
Query 42 1.7 MiB 1.7 MiB +0.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
clickbench_partitioned base (9d15cf0 (merge-base)) 10.2 GiB 13.5 GiB 3.2 GiB 1.3×
clickbench_partitioned changed (rich-T-kid/repartition-dictionary-hash-cache) 10.2 GiB 13.5 GiB 3.3 GiB 1.3×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 205.1s
Peak memory 13.5 GiB
Avg memory 5.7 GiB
CPU user 1984.2s
CPU sys 140.1s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 210.1s
Peak memory 13.5 GiB
Avg memory 5.7 GiB
CPU user 1986.3s
CPU sys 143.1s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing rich-T-kid/repartition-dictionary-hash-cache (bee0600) to 9d15cf0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
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_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.23 ms │                                      1.17 ms │     no change │
│ QQuery 1  │   11.78 ms │                                     11.52 ms │     no change │
│ QQuery 2  │   35.78 ms │                                     35.83 ms │     no change │
│ QQuery 3  │   32.85 ms │                                     32.05 ms │     no change │
│ QQuery 4  │  278.41 ms │                                    266.32 ms │     no change │
│ QQuery 5  │  897.07 ms │                                    896.17 ms │     no change │
│ QQuery 6  │    1.21 ms │                                      1.39 ms │  1.15x slower │
│ QQuery 7  │   13.22 ms │                                     13.37 ms │     no change │
│ QQuery 8  │  379.14 ms │                                    383.92 ms │     no change │
│ QQuery 9  │  543.54 ms │                                    545.28 ms │     no change │
│ QQuery 10 │  204.03 ms │                                    207.93 ms │     no change │
│ QQuery 11 │  217.86 ms │                                    219.50 ms │     no change │
│ QQuery 12 │  906.05 ms │                                    886.51 ms │     no change │
│ QQuery 13 │ 1207.39 ms │                                   1191.30 ms │     no change │
│ QQuery 14 │  933.80 ms │                                    915.22 ms │     no change │
│ QQuery 15 │  332.46 ms │                                    318.41 ms │     no change │
│ QQuery 16 │ 1411.21 ms │                                   1446.25 ms │     no change │
│ QQuery 17 │ 1392.07 ms │                                   1396.38 ms │     no change │
│ QQuery 18 │ 2172.74 ms │                                   2218.66 ms │     no change │
│ QQuery 19 │   28.53 ms │                                     28.63 ms │     no change │
│ QQuery 20 │ 1098.64 ms │                                   1096.40 ms │     no change │
│ QQuery 21 │ 1451.77 ms │                                   1420.03 ms │     no change │
│ QQuery 22 │ 3358.65 ms │                                   3384.37 ms │     no change │
│ QQuery 23 │ 9492.91 ms │                                   9564.06 ms │     no change │
│ QQuery 24 │   97.31 ms │                                     98.59 ms │     no change │
│ QQuery 25 │  360.27 ms │                                    364.92 ms │     no change │
│ QQuery 26 │  100.98 ms │                                    100.75 ms │     no change │
│ QQuery 27 │ 1194.74 ms │                                   1186.92 ms │     no change │
│ QQuery 28 │ 2655.22 ms │                                   2731.47 ms │     no change │
│ QQuery 29 │   38.99 ms │                                     39.36 ms │     no change │
│ QQuery 30 │  572.64 ms │                                    596.23 ms │     no change │
│ QQuery 31 │  551.50 ms │                                    574.29 ms │     no change │
│ QQuery 32 │ 1200.93 ms │                                   1089.16 ms │ +1.10x faster │
│ QQuery 33 │ 4159.61 ms │                                   4250.39 ms │     no change │
│ QQuery 34 │ 4175.99 ms │                                   4198.30 ms │     no change │
│ QQuery 35 │  341.72 ms │                                    367.06 ms │  1.07x slower │
│ QQuery 36 │  147.75 ms │                                    160.03 ms │  1.08x slower │
│ QQuery 37 │   99.96 ms │                                    101.76 ms │     no change │
│ QQuery 38 │   84.12 ms │                                     89.15 ms │  1.06x slower │
│ QQuery 39 │  354.37 ms │                                    324.92 ms │ +1.09x faster │
│ QQuery 40 │   15.27 ms │                                     16.19 ms │  1.06x slower │
│ QQuery 41 │   14.40 ms │                                     14.65 ms │     no change │
│ QQuery 42 │   14.04 ms │                                     14.27 ms │     no change │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 42582.16ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 42799.10ms │
│ Average Time (HEAD)                                         │   990.28ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   995.33ms │
│ Queries Faster                                              │          2 │
│ Queries Slower                                              │          5 │
│ Queries with No Change                                      │         36 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │            1.23 / 1.94 ±1.18 / 4.28 ms │                  1.17 / 1.83 ±1.17 / 4.16 ms │ +1.06x faster │
│ QQuery 1  │         11.78 / 11.99 ±0.15 / 12.17 ms │               11.52 / 11.63 ±0.08 / 11.76 ms │     no change │
│ QQuery 2  │         35.78 / 36.20 ±0.40 / 36.95 ms │               35.83 / 35.98 ±0.21 / 36.39 ms │     no change │
│ QQuery 3  │         32.85 / 34.00 ±1.33 / 36.43 ms │               32.05 / 32.37 ±0.35 / 32.99 ms │     no change │
│ QQuery 4  │      278.41 / 286.47 ±5.71 / 294.50 ms │            266.32 / 272.94 ±5.73 / 280.41 ms │     no change │
│ QQuery 5  │     897.07 / 920.44 ±14.31 / 940.14 ms │           896.17 / 913.86 ±11.85 / 928.06 ms │     no change │
│ QQuery 6  │            1.21 / 1.38 ±0.24 / 1.86 ms │                  1.39 / 1.56 ±0.22 / 1.98 ms │  1.13x slower │
│ QQuery 7  │         13.22 / 16.19 ±5.71 / 27.62 ms │               13.37 / 13.75 ±0.40 / 14.53 ms │ +1.18x faster │
│ QQuery 8  │      379.14 / 385.38 ±5.24 / 392.30 ms │           383.92 / 394.23 ±14.16 / 422.31 ms │     no change │
│ QQuery 9  │     543.54 / 556.47 ±15.74 / 587.28 ms │            545.28 / 550.95 ±3.56 / 556.24 ms │     no change │
│ QQuery 10 │      204.03 / 207.03 ±2.23 / 210.03 ms │           207.93 / 225.05 ±20.55 / 258.14 ms │  1.09x slower │
│ QQuery 11 │      217.86 / 218.54 ±0.64 / 219.63 ms │            219.50 / 220.97 ±1.75 / 224.07 ms │     no change │
│ QQuery 12 │     906.05 / 923.73 ±10.47 / 933.90 ms │           886.51 / 910.19 ±20.43 / 944.02 ms │     no change │
│ QQuery 13 │  1207.39 / 1239.98 ±20.60 / 1267.85 ms │        1191.30 / 1230.49 ±39.54 / 1305.37 ms │     no change │
│ QQuery 14 │    933.80 / 976.02 ±23.49 / 1006.39 ms │           915.22 / 933.87 ±17.78 / 967.04 ms │     no change │
│ QQuery 15 │      332.46 / 342.49 ±7.19 / 350.28 ms │           318.41 / 334.82 ±15.36 / 360.83 ms │     no change │
│ QQuery 16 │  1411.21 / 1455.40 ±35.28 / 1494.28 ms │        1446.25 / 1482.25 ±21.00 / 1512.00 ms │     no change │
│ QQuery 17 │  1392.07 / 1414.24 ±23.71 / 1459.98 ms │        1396.38 / 1420.19 ±17.44 / 1445.84 ms │     no change │
│ QQuery 18 │  2172.74 / 2271.08 ±52.60 / 2329.28 ms │        2218.66 / 2261.76 ±36.05 / 2305.28 ms │     no change │
│ QQuery 19 │         28.53 / 28.92 ±0.58 / 30.08 ms │               28.63 / 32.64 ±6.84 / 46.28 ms │  1.13x slower │
│ QQuery 20 │   1098.64 / 1110.48 ±6.91 / 1120.25 ms │        1096.40 / 1120.52 ±23.85 / 1150.43 ms │     no change │
│ QQuery 21 │   1451.77 / 1460.08 ±7.04 / 1472.89 ms │         1420.03 / 1438.34 ±9.72 / 1446.08 ms │     no change │
│ QQuery 22 │  3358.65 / 3413.54 ±42.02 / 3479.54 ms │        3384.37 / 3422.12 ±57.65 / 3534.68 ms │     no change │
│ QQuery 23 │  9492.91 / 9652.77 ±82.24 / 9718.15 ms │        9564.06 / 9702.81 ±97.80 / 9819.76 ms │     no change │
│ QQuery 24 │     97.31 / 166.18 ±130.70 / 427.55 ms │           98.59 / 154.75 ±109.23 / 373.20 ms │ +1.07x faster │
│ QQuery 25 │      360.27 / 365.97 ±5.98 / 376.98 ms │            364.92 / 367.91 ±2.43 / 371.59 ms │     no change │
│ QQuery 26 │      100.98 / 102.29 ±1.17 / 104.48 ms │            100.75 / 101.41 ±0.52 / 102.16 ms │     no change │
│ QQuery 27 │  1194.74 / 1211.09 ±16.61 / 1241.78 ms │        1186.92 / 1221.78 ±23.98 / 1252.13 ms │     no change │
│ QQuery 28 │  2655.22 / 2700.03 ±41.01 / 2773.05 ms │        2731.47 / 2745.87 ±15.48 / 2772.71 ms │     no change │
│ QQuery 29 │       38.99 / 63.72 ±31.21 / 114.41 ms │              39.36 / 50.75 ±14.43 / 76.99 ms │ +1.26x faster │
│ QQuery 30 │     572.64 / 585.38 ±17.06 / 618.41 ms │            596.23 / 602.56 ±6.57 / 615.20 ms │     no change │
│ QQuery 31 │     551.50 / 588.83 ±31.71 / 645.47 ms │            574.29 / 582.66 ±5.12 / 589.94 ms │     no change │
│ QQuery 32 │  1200.93 / 1255.88 ±43.20 / 1328.41 ms │        1089.16 / 1165.97 ±51.43 / 1226.05 ms │ +1.08x faster │
│ QQuery 33 │  4159.61 / 4190.08 ±33.19 / 4254.78 ms │        4250.39 / 4291.74 ±24.30 / 4315.96 ms │     no change │
│ QQuery 34 │ 4175.99 / 4302.71 ±107.06 / 4497.51 ms │       4198.30 / 4401.59 ±140.33 / 4604.59 ms │     no change │
│ QQuery 35 │     341.72 / 399.19 ±59.40 / 490.71 ms │           367.06 / 387.62 ±30.35 / 447.86 ms │     no change │
│ QQuery 36 │     147.75 / 166.29 ±15.47 / 194.54 ms │            160.03 / 166.99 ±6.07 / 175.57 ms │     no change │
│ QQuery 37 │       99.96 / 105.80 ±4.85 / 113.40 ms │           101.76 / 112.63 ±12.54 / 136.72 ms │  1.06x slower │
│ QQuery 38 │         84.12 / 88.93 ±4.12 / 96.14 ms │               89.15 / 90.82 ±1.71 / 93.24 ms │     no change │
│ QQuery 39 │      354.37 / 361.91 ±7.62 / 371.30 ms │           324.92 / 356.44 ±24.32 / 386.54 ms │     no change │
│ QQuery 40 │         15.27 / 15.76 ±0.60 / 16.85 ms │               16.19 / 18.59 ±2.11 / 21.16 ms │  1.18x slower │
│ QQuery 41 │         14.40 / 17.75 ±4.48 / 25.70 ms │               14.65 / 15.43 ±0.52 / 16.27 ms │ +1.15x faster │
│ QQuery 42 │         14.04 / 14.32 ±0.21 / 14.62 ms │               14.27 / 14.49 ±0.15 / 14.70 ms │     no change │
└───────────┴────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 43666.88ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 43815.14ms │
│ Average Time (HEAD)                                         │  1015.51ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  1018.96ms │
│ Queries Faster                                              │          6 │
│ Queries Slower                                              │          5 │
│ 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: 9d15cf0 (merge-base) | Changed: rich-T-kid/repartition-dictionary-hash-cache

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.7 MiB 850.8 MiB +2.5%
Query 5 1.4 GiB 1.4 GiB +0.3%
Query 6 0 B 0 B 0.0%
Query 7 70.2 MiB 50.3 MiB -28.4%
Query 8 967.2 MiB 971.8 MiB +0.5%
Query 9 594.1 MiB 594.0 MiB -0.0%
Query 10 71.9 MiB 71.3 MiB -0.9%
Query 11 77.8 MiB 76.0 MiB -2.4%
Query 12 1.6 GiB 1.6 GiB +2.3%
Query 13 1.6 GiB 1.6 GiB -0.4%
Query 14 1.7 GiB 1.6 GiB -3.5%
Query 15 1.2 GiB 1.2 GiB -0.8%
Query 16 3.2 GiB 3.2 GiB +1.0%
Query 17 3.2 GiB 3.4 GiB +5.4%
Query 18 6.9 GiB 7.4 GiB +6.5%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.4 MiB 1.5 MiB +9.5%
Query 22 2.4 MiB 2.4 MiB +0.9%
Query 23 12.8 MiB 12.5 MiB -2.6%
Query 24 6.4 MiB 6.8 MiB +6.7%
Query 25 6.9 MiB 8.1 MiB +17.6%
Query 26 7.5 MiB 7.4 MiB -2.0%
Query 27 2.2 MiB 2.5 MiB +11.3%
Query 28 1.9 GiB 2.0 GiB +8.3%
Query 29 624 B 624 B +0.0%
Query 30 630.4 MiB 673.5 MiB +6.8%
Query 31 1.5 GiB 1.5 GiB +1.5%
Query 32 7.1 GiB 7.1 GiB -0.1%
Query 33 9.9 GiB 9.7 GiB -2.5%
Query 34 9.9 GiB 9.7 GiB -2.3%
Query 35 674.4 MiB 664.8 MiB -1.4%
Query 36 105.4 MiB 105.4 MiB +0.1%
Query 37 8.1 MiB 8.3 MiB +3.0%
Query 38 4.8 MiB 5.1 MiB +7.9%
Query 39 213.9 MiB 213.5 MiB -0.2%
Query 40 2.5 MiB 2.5 MiB -0.6%
Query 41 3.3 MiB 3.3 MiB +0.0%
Query 42 1.8 MiB 1.8 MiB -0.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
clickbench_partitioned base (9d15cf0 (merge-base)) 9.9 GiB 12.6 GiB 2.6 GiB 1.3×
clickbench_partitioned changed (rich-T-kid/repartition-dictionary-hash-cache) 9.7 GiB 12.8 GiB 3.1 GiB 1.3×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 220.0s
Peak memory 12.6 GiB
Avg memory 5.5 GiB
CPU user 2100.5s
CPU sys 151.2s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 220.0s
Peak memory 12.8 GiB
Avg memory 5.4 GiB
CPU user 2106.5s
CPU sys 153.2s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark tpch tpcds clickbench_partitioned
env:
DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
ref: "9d15cf079fe9646a967196fd6688f35be1e36c6b"
env:
DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
ref: "bee06006b516e96df5ca17a4e7a1859fbf15b5a0"
env:
DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6711682308-4600-k7ltc 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 bee0600 (bee0600) to 9d15cf0 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "9d15cf079fe9646a967196fd6688f35be1e36c6b"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "bee06006b516e96df5ca17a4e7a1859fbf15b5a0"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6711682308-4601-7r8rh 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 bee0600 (bee0600) to 9d15cf0 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "9d15cf079fe9646a967196fd6688f35be1e36c6b"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "bee06006b516e96df5ca17a4e7a1859fbf15b5a0"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6711682308-4602-lpndh 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 bee0600 (bee0600) to 9d15cf0 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "9d15cf079fe9646a967196fd6688f35be1e36c6b"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "bee06006b516e96df5ca17a4e7a1859fbf15b5a0"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing bee0600 (bee0600) to 9d15cf0 diff

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 40.60 ms │                                     38.79 ms │     no change │
│ QQuery 2  │ 17.98 ms │                                     18.48 ms │     no change │
│ QQuery 3  │ 27.95 ms │                                     28.01 ms │     no change │
│ QQuery 4  │ 16.91 ms │                                     16.64 ms │     no change │
│ QQuery 5  │ 34.65 ms │                                     34.52 ms │     no change │
│ QQuery 6  │ 13.33 ms │                                     13.37 ms │     no change │
│ QQuery 7  │ 40.56 ms │                                     40.88 ms │     no change │
│ QQuery 8  │ 40.03 ms │                                     39.94 ms │     no change │
│ QQuery 9  │ 48.26 ms │                                     50.44 ms │     no change │
│ QQuery 10 │ 39.86 ms │                                     57.75 ms │  1.45x slower │
│ QQuery 11 │ 13.45 ms │                                     13.35 ms │     no change │
│ QQuery 12 │ 17.69 ms │                                     19.93 ms │  1.13x slower │
│ QQuery 13 │ 38.77 ms │                                     45.34 ms │  1.17x slower │
│ QQuery 14 │ 24.08 ms │                                     23.57 ms │     no change │
│ QQuery 15 │ 30.54 ms │                                     30.48 ms │     no change │
│ QQuery 16 │ 12.92 ms │                                     12.88 ms │     no change │
│ QQuery 17 │ 67.44 ms │                                     66.88 ms │     no change │
│ QQuery 18 │ 41.31 ms │                                     63.73 ms │  1.54x slower │
│ QQuery 19 │ 31.33 ms │                                     28.55 ms │ +1.10x faster │
│ QQuery 20 │ 31.49 ms │                                     33.21 ms │  1.05x slower │
│ QQuery 21 │ 54.84 ms │                                     51.75 ms │ +1.06x faster │
│ QQuery 22 │ 13.50 ms │                                     15.08 ms │  1.12x slower │
└───────────┴──────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 697.49ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 743.59ms │
│ Average Time (HEAD)                                         │  31.70ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  33.80ms │
│ Queries Faster                                              │        2 │
│ Queries Slower                                              │        6 │
│ Queries with No Change                                      │       14 │
│ Queries with Failure                                        │        0 │
└─────────────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 40.60 / 41.65 ±1.06 / 43.34 ms │               38.79 / 40.15 ±1.39 / 42.34 ms │     no change │
│ QQuery 2  │ 17.98 / 18.33 ±0.33 / 18.96 ms │               18.48 / 19.37 ±1.35 / 22.04 ms │  1.06x slower │
│ QQuery 3  │ 27.95 / 28.18 ±0.22 / 28.52 ms │               28.01 / 28.23 ±0.24 / 28.69 ms │     no change │
│ QQuery 4  │ 16.91 / 17.08 ±0.13 / 17.25 ms │               16.64 / 17.35 ±0.81 / 18.55 ms │     no change │
│ QQuery 5  │ 34.65 / 34.78 ±0.15 / 35.05 ms │               34.52 / 35.23 ±0.49 / 36.02 ms │     no change │
│ QQuery 6  │ 13.33 / 13.49 ±0.12 / 13.64 ms │               13.37 / 13.76 ±0.56 / 14.87 ms │     no change │
│ QQuery 7  │ 40.56 / 41.48 ±0.88 / 43.00 ms │               40.88 / 43.08 ±1.19 / 44.09 ms │     no change │
│ QQuery 8  │ 40.03 / 40.77 ±0.64 / 41.75 ms │               39.94 / 40.68 ±0.86 / 42.36 ms │     no change │
│ QQuery 9  │ 48.26 / 49.99 ±1.21 / 52.02 ms │               50.44 / 51.54 ±0.92 / 52.78 ms │     no change │
│ QQuery 10 │ 39.86 / 41.09 ±1.49 / 43.06 ms │               57.75 / 58.44 ±0.50 / 59.07 ms │  1.42x slower │
│ QQuery 11 │ 13.45 / 14.34 ±0.90 / 15.86 ms │               13.35 / 13.87 ±0.47 / 14.68 ms │     no change │
│ QQuery 12 │ 17.69 / 18.63 ±0.79 / 19.90 ms │               19.93 / 20.18 ±0.35 / 20.83 ms │  1.08x slower │
│ QQuery 13 │ 38.77 / 40.27 ±1.50 / 42.95 ms │               45.34 / 46.48 ±1.47 / 49.28 ms │  1.15x slower │
│ QQuery 14 │ 24.08 / 24.60 ±0.72 / 26.02 ms │               23.57 / 23.65 ±0.10 / 23.81 ms │     no change │
│ QQuery 15 │ 30.54 / 31.32 ±0.62 / 32.32 ms │               30.48 / 31.48 ±1.25 / 33.92 ms │     no change │
│ QQuery 16 │ 12.92 / 13.07 ±0.12 / 13.30 ms │               12.88 / 13.02 ±0.10 / 13.12 ms │     no change │
│ QQuery 17 │ 67.44 / 68.80 ±1.89 / 72.48 ms │               66.88 / 67.72 ±0.82 / 69.26 ms │     no change │
│ QQuery 18 │ 41.31 / 42.66 ±0.93 / 43.76 ms │               63.73 / 65.42 ±1.51 / 67.68 ms │  1.53x slower │
│ QQuery 19 │ 31.33 / 32.10 ±1.20 / 34.49 ms │               28.55 / 28.77 ±0.24 / 29.22 ms │ +1.12x faster │
│ QQuery 20 │ 31.49 / 31.85 ±0.36 / 32.37 ms │               33.21 / 33.68 ±0.38 / 34.33 ms │  1.06x slower │
│ QQuery 21 │ 54.84 / 55.78 ±0.71 / 56.96 ms │               51.75 / 52.37 ±0.48 / 52.88 ms │ +1.07x faster │
│ QQuery 22 │ 13.50 / 13.57 ±0.10 / 13.75 ms │               15.08 / 15.19 ±0.10 / 15.36 ms │  1.12x slower │
└───────────┴────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 713.83ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 759.65ms │
│ Average Time (HEAD)                                         │  32.45ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │  34.53ms │
│ Queries Faster                                              │        2 │
│ Queries Slower                                              │        7 │
│ Queries with No Change                                      │       13 │
│ 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: 9d15cf079fe9646a967196fd6688f35be1e36c6b | Changed: bee06006b516e96df5ca17a4e7a1859fbf15b5a0

tpch — tpch_sf1

Query Base Changed Change
Query 1 30.0 MiB 30.2 MiB +0.5%
Query 2 15.9 MiB 23.1 MiB +45.5%
Query 3 11.5 MiB 11.5 MiB +0.0%
Query 4 33.2 MiB 22.2 MiB -33.0%
Query 5 43.2 MiB 42.8 MiB -1.0%
Query 6 832 B 832 B +0.0%
Query 7 107.4 MiB 107.6 MiB +0.1%
Query 8 39.8 MiB 39.8 MiB -0.0%
Query 9 155.4 MiB 155.6 MiB +0.1%
Query 10 40.4 MiB 53.3 MiB +32.0%
Query 11 51.4 MiB 31.7 MiB -38.3%
Query 12 22.7 MiB 22.5 MiB -0.9%
Query 13 72.3 MiB 52.5 MiB -27.5%
Query 14 7.7 MiB 7.7 MiB +0.0%
Query 15 12.0 MiB 12.7 MiB +5.8%
Query 16 44.7 MiB 33.5 MiB -25.1%
Query 17 150.3 MiB 150.3 MiB +0.0%
Query 18 193.2 MiB 127.3 MiB -34.1%
Query 19 744.6 KiB 228.6 KiB -69.3%
Query 20 60.3 MiB 60.2 MiB -0.2%
Query 21 42.6 MiB 37.7 MiB -11.4%
Query 22 32.6 MiB 32.0 MiB -2.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
tpch base (9d15cf079fe9646a967196fd6688f35be1e36c6b) 193.2 MiB 1.2 GiB 1006.0 MiB 6.2×
tpch changed (bee06006b516e96df5ca17a4e7a1859fbf15b5a0) 155.6 MiB 1.1 GiB 1018.7 MiB 7.5×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 492.0 MiB
CPU user 19.0s
CPU sys 1.6s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.1 GiB
Avg memory 482.3 MiB
CPU user 19.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 bee0600 (bee0600) to 9d15cf0 diff

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.44 ms │                                      5.56 ms │     no change │
│ QQuery 2  │   79.71 ms │                                     77.07 ms │     no change │
│ QQuery 3  │   28.94 ms │                                     29.09 ms │     no change │
│ QQuery 4  │  463.70 ms │                                    616.63 ms │  1.33x slower │
│ QQuery 5  │   50.16 ms │                                     50.89 ms │     no change │
│ QQuery 6  │   35.17 ms │                                     33.93 ms │     no change │
│ QQuery 7  │   71.61 ms │                                     71.87 ms │     no change │
│ QQuery 8  │   36.13 ms │                                     38.25 ms │  1.06x slower │
│ QQuery 9  │   51.66 ms │                                     53.08 ms │     no change │
│ QQuery 10 │   60.29 ms │                                     59.28 ms │     no change │
│ QQuery 11 │  287.54 ms │                                    403.77 ms │  1.40x slower │
│ QQuery 12 │   29.17 ms │                                     26.62 ms │ +1.10x faster │
│ QQuery 13 │  113.16 ms │                                    112.67 ms │     no change │
│ QQuery 14 │  377.13 ms │                                    379.43 ms │     no change │
│ QQuery 15 │   55.07 ms │                                     53.27 ms │     no change │
│ QQuery 16 │    6.21 ms │                                      6.56 ms │  1.06x slower │
│ QQuery 17 │   75.76 ms │                                     79.15 ms │     no change │
│ QQuery 18 │  105.25 ms │                                    106.18 ms │     no change │
│ QQuery 19 │   41.05 ms │                                     41.72 ms │     no change │
│ QQuery 20 │   35.83 ms │                                     31.88 ms │ +1.12x faster │
│ QQuery 21 │   16.94 ms │                                     17.37 ms │     no change │
│ QQuery 22 │   64.91 ms │                                     74.09 ms │  1.14x slower │
│ QQuery 23 │  295.15 ms │                                    302.54 ms │     no change │
│ QQuery 24 │  197.32 ms │                                    197.69 ms │     no change │
│ QQuery 25 │  103.96 ms │                                    105.55 ms │     no change │
│ QQuery 26 │   45.53 ms │                                     45.43 ms │     no change │
│ QQuery 27 │    5.96 ms │                                      6.33 ms │  1.06x slower │
│ QQuery 28 │   56.25 ms │                                     60.73 ms │  1.08x slower │
│ QQuery 29 │   92.01 ms │                                     94.44 ms │     no change │
│ QQuery 30 │   32.49 ms │                                     36.46 ms │  1.12x slower │
│ QQuery 31 │  109.15 ms │                                    110.62 ms │     no change │
│ QQuery 32 │   20.47 ms │                                     20.35 ms │     no change │
│ QQuery 33 │   36.58 ms │                                     36.94 ms │     no change │
│ QQuery 34 │   10.16 ms │                                      9.50 ms │ +1.07x faster │
│ QQuery 35 │   73.39 ms │                                     70.48 ms │     no change │
│ QQuery 36 │    5.59 ms │                                      5.84 ms │     no change │
│ QQuery 37 │    6.80 ms │                                      7.54 ms │  1.11x slower │
│ QQuery 38 │   61.70 ms │                                     65.22 ms │  1.06x slower │
│ QQuery 39 │   73.23 ms │                                     73.60 ms │     no change │
│ QQuery 40 │   23.82 ms │                                     23.48 ms │     no change │
│ QQuery 41 │   12.49 ms │                                     14.15 ms │  1.13x slower │
│ QQuery 42 │   24.11 ms │                                     24.24 ms │     no change │
│ QQuery 43 │    4.59 ms │                                      5.21 ms │  1.14x slower │
│ QQuery 44 │    8.65 ms │                                      9.13 ms │  1.06x slower │
│ QQuery 45 │   38.15 ms │                                     36.31 ms │     no change │
│ QQuery 46 │   11.63 ms │                                     11.78 ms │     no change │
│ QQuery 47 │  232.97 ms │                                    210.07 ms │ +1.11x faster │
│ QQuery 48 │   91.85 ms │                                     91.04 ms │     no change │
│ QQuery 49 │   69.78 ms │                                     70.67 ms │     no change │
│ QQuery 50 │   56.80 ms │                                     57.77 ms │     no change │
│ QQuery 51 │   92.86 ms │                                     94.57 ms │     no change │
│ QQuery 52 │   24.35 ms │                                     24.57 ms │     no change │
│ QQuery 53 │   29.39 ms │                                     29.88 ms │     no change │
│ QQuery 54 │   53.73 ms │                                     54.38 ms │     no change │
│ QQuery 55 │   24.08 ms │                                     24.17 ms │     no change │
│ QQuery 56 │   38.28 ms │                                     39.19 ms │     no change │
│ QQuery 57 │  168.01 ms │                                    156.05 ms │ +1.08x faster │
│ QQuery 58 │  106.94 ms │                                    103.90 ms │     no change │
│ QQuery 59 │  114.77 ms │                                    107.80 ms │ +1.06x faster │
│ QQuery 60 │   38.26 ms │                                     39.03 ms │     no change │
│ QQuery 61 │   10.48 ms │                                     10.80 ms │     no change │
│ QQuery 62 │   43.24 ms │                                     39.29 ms │ +1.10x faster │
│ QQuery 63 │   29.24 ms │                                     29.57 ms │     no change │
│ QQuery 64 │  351.03 ms │                                    364.43 ms │     no change │
│ QQuery 65 │   75.42 ms │                                     77.76 ms │     no change │
│ QQuery 66 │   72.95 ms │                                     72.36 ms │     no change │
│ QQuery 67 │  260.21 ms │                                    242.06 ms │ +1.07x faster │
│ QQuery 68 │   11.80 ms │                                     11.94 ms │     no change │
│ QQuery 69 │   55.81 ms │                                     54.76 ms │     no change │
│ QQuery 70 │  103.74 ms │                                     98.93 ms │     no change │
│ QQuery 71 │   34.74 ms │                                     35.55 ms │     no change │
│ QQuery 72 │ 1632.77 ms │                                   1611.03 ms │     no change │
│ QQuery 73 │    9.85 ms │                                      9.45 ms │     no change │
│ QQuery 74 │  197.64 ms │                                    254.36 ms │  1.29x slower │
│ QQuery 75 │  138.58 ms │                                    140.38 ms │     no change │
│ QQuery 76 │   34.66 ms │                                     34.90 ms │     no change │
│ QQuery 77 │   60.03 ms │                                     60.28 ms │     no change │
│ QQuery 78 │  269.28 ms │                                    272.92 ms │     no change │
│ QQuery 79 │   67.26 ms │                                     68.10 ms │     no change │
│ QQuery 80 │   96.29 ms │                                     95.47 ms │     no change │
│ QQuery 81 │   25.85 ms │                                     28.93 ms │  1.12x slower │
│ QQuery 82 │   16.60 ms │                                     17.53 ms │  1.06x slower │
│ QQuery 83 │   32.51 ms │                                     33.04 ms │     no change │
│ QQuery 84 │   29.55 ms │                                     31.05 ms │  1.05x slower │
│ QQuery 85 │   97.43 ms │                                     96.64 ms │     no change │
│ QQuery 86 │   25.44 ms │                                     25.24 ms │     no change │
│ QQuery 87 │   61.96 ms │                                     66.37 ms │  1.07x slower │
│ QQuery 88 │   59.28 ms │                                     58.87 ms │     no change │
│ QQuery 89 │   35.00 ms │                                     36.31 ms │     no change │
│ QQuery 90 │   16.45 ms │                                     16.68 ms │     no change │
│ QQuery 91 │   40.69 ms │                                     40.30 ms │     no change │
│ QQuery 92 │   29.66 ms │                                     30.01 ms │     no change │
│ QQuery 93 │   49.57 ms │                                     50.02 ms │     no change │
│ QQuery 94 │   38.14 ms │                                     39.18 ms │     no change │
│ QQuery 95 │   80.20 ms │                                     81.98 ms │     no change │
│ QQuery 96 │   23.80 ms │                                     24.19 ms │     no change │
│ QQuery 97 │   50.77 ms │                                     51.19 ms │     no change │
│ QQuery 98 │   42.88 ms │                                     38.77 ms │ +1.11x faster │
│ QQuery 99 │   64.16 ms │                                     57.35 ms │ +1.12x faster │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 8957.03ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9253.02ms │
│ Average Time (HEAD)                                         │   90.48ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   93.46ms │
│ Queries Faster                                              │        10 │
│ Queries Slower                                              │        18 │
│ Queries with No Change                                      │        71 │
│ Queries with Failure                                        │         0 │
└─────────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.44 / 6.07 ±1.01 / 8.08 ms │                  5.56 / 6.16 ±1.10 / 8.36 ms │     no change │
│ QQuery 2  │        79.71 / 79.95 ±0.15 / 80.10 ms │               77.07 / 77.38 ±0.25 / 77.75 ms │     no change │
│ QQuery 3  │        28.94 / 29.14 ±0.13 / 29.30 ms │               29.09 / 29.38 ±0.21 / 29.69 ms │     no change │
│ QQuery 4  │     463.70 / 473.29 ±6.77 / 484.75 ms │            616.63 / 622.17 ±4.02 / 628.07 ms │  1.31x slower │
│ QQuery 5  │        50.16 / 50.94 ±0.64 / 51.74 ms │               50.89 / 51.48 ±0.46 / 52.09 ms │     no change │
│ QQuery 6  │        35.17 / 35.70 ±0.53 / 36.70 ms │               33.93 / 36.57 ±4.67 / 45.90 ms │     no change │
│ QQuery 7  │        71.61 / 72.61 ±0.77 / 73.49 ms │               71.87 / 72.24 ±0.57 / 73.38 ms │     no change │
│ QQuery 8  │        36.13 / 36.40 ±0.30 / 36.96 ms │               38.25 / 38.68 ±0.44 / 39.48 ms │  1.06x slower │
│ QQuery 9  │        51.66 / 53.27 ±0.86 / 53.93 ms │               53.08 / 54.34 ±1.24 / 56.51 ms │     no change │
│ QQuery 10 │        60.29 / 60.68 ±0.33 / 61.19 ms │               59.28 / 61.15 ±2.91 / 66.93 ms │     no change │
│ QQuery 11 │     287.54 / 292.32 ±3.08 / 295.94 ms │            403.77 / 409.50 ±3.96 / 414.89 ms │  1.40x slower │
│ QQuery 12 │        29.17 / 30.61 ±1.85 / 34.23 ms │               26.62 / 26.86 ±0.22 / 27.27 ms │ +1.14x faster │
│ QQuery 13 │     113.16 / 113.72 ±0.55 / 114.75 ms │            112.67 / 113.00 ±0.22 / 113.24 ms │     no change │
│ QQuery 14 │     377.13 / 381.98 ±3.22 / 386.58 ms │            379.43 / 384.90 ±4.34 / 392.27 ms │     no change │
│ QQuery 15 │        55.07 / 56.11 ±0.73 / 57.23 ms │               53.27 / 53.93 ±0.54 / 54.74 ms │     no change │
│ QQuery 16 │           6.21 / 6.43 ±0.17 / 6.71 ms │                  6.56 / 6.64 ±0.08 / 6.78 ms │     no change │
│ QQuery 17 │        75.76 / 77.08 ±1.19 / 79.13 ms │               79.15 / 80.94 ±1.86 / 83.57 ms │  1.05x slower │
│ QQuery 18 │     105.25 / 106.47 ±0.88 / 107.82 ms │            106.18 / 108.17 ±2.22 / 112.42 ms │     no change │
│ QQuery 19 │        41.05 / 42.01 ±1.17 / 44.17 ms │               41.72 / 42.17 ±0.28 / 42.57 ms │     no change │
│ QQuery 20 │        35.83 / 36.82 ±0.82 / 37.93 ms │               31.88 / 32.33 ±0.50 / 33.26 ms │ +1.14x faster │
│ QQuery 21 │        16.94 / 17.17 ±0.14 / 17.32 ms │               17.37 / 17.72 ±0.37 / 18.42 ms │     no change │
│ QQuery 22 │        64.91 / 65.67 ±0.68 / 66.79 ms │               74.09 / 74.54 ±0.42 / 75.11 ms │  1.14x slower │
│ QQuery 23 │     295.15 / 301.00 ±3.56 / 305.97 ms │            302.54 / 304.08 ±1.11 / 305.57 ms │     no change │
│ QQuery 24 │     197.32 / 200.21 ±3.28 / 206.21 ms │            197.69 / 198.99 ±0.93 / 200.46 ms │     no change │
│ QQuery 25 │     103.96 / 108.20 ±5.42 / 118.77 ms │            105.55 / 107.99 ±2.09 / 111.61 ms │     no change │
│ QQuery 26 │        45.53 / 46.07 ±0.37 / 46.44 ms │               45.43 / 45.66 ±0.31 / 46.27 ms │     no change │
│ QQuery 27 │           5.96 / 6.06 ±0.12 / 6.29 ms │                  6.33 / 6.41 ±0.06 / 6.49 ms │  1.06x slower │
│ QQuery 28 │        56.25 / 59.59 ±2.52 / 62.99 ms │               60.73 / 61.36 ±0.39 / 61.78 ms │     no change │
│ QQuery 29 │       92.01 / 95.69 ±3.74 / 101.52 ms │               94.44 / 96.21 ±0.96 / 97.31 ms │     no change │
│ QQuery 30 │        32.49 / 33.29 ±0.82 / 34.53 ms │               36.46 / 36.75 ±0.30 / 37.31 ms │  1.10x slower │
│ QQuery 31 │     109.15 / 109.59 ±0.51 / 110.47 ms │            110.62 / 112.17 ±1.99 / 116.08 ms │     no change │
│ QQuery 32 │        20.47 / 20.58 ±0.08 / 20.71 ms │               20.35 / 20.55 ±0.14 / 20.77 ms │     no change │
│ QQuery 33 │        36.58 / 38.94 ±3.52 / 45.94 ms │               36.94 / 37.76 ±1.02 / 39.74 ms │     no change │
│ QQuery 34 │        10.16 / 10.40 ±0.20 / 10.63 ms │                 9.50 / 9.75 ±0.20 / 10.08 ms │ +1.07x faster │
│ QQuery 35 │        73.39 / 74.26 ±0.71 / 75.53 ms │               70.48 / 71.23 ±0.40 / 71.66 ms │     no change │
│ QQuery 36 │           5.59 / 5.76 ±0.19 / 6.13 ms │                  5.84 / 6.02 ±0.25 / 6.51 ms │     no change │
│ QQuery 37 │           6.80 / 6.94 ±0.08 / 7.02 ms │                  7.54 / 7.91 ±0.35 / 8.45 ms │  1.14x slower │
│ QQuery 38 │        61.70 / 62.24 ±0.28 / 62.51 ms │               65.22 / 65.66 ±0.33 / 66.03 ms │  1.06x slower │
│ QQuery 39 │        73.23 / 76.38 ±4.33 / 84.92 ms │               73.60 / 74.75 ±1.13 / 76.77 ms │     no change │
│ QQuery 40 │        23.82 / 24.29 ±0.47 / 25.20 ms │               23.48 / 24.33 ±0.52 / 25.03 ms │     no change │
│ QQuery 41 │        12.49 / 12.86 ±0.45 / 13.74 ms │               14.15 / 14.34 ±0.12 / 14.49 ms │  1.12x slower │
│ QQuery 42 │        24.11 / 24.47 ±0.32 / 25.07 ms │               24.24 / 24.64 ±0.32 / 25.23 ms │     no change │
│ QQuery 43 │           4.59 / 4.74 ±0.22 / 5.17 ms │                  5.21 / 5.34 ±0.12 / 5.54 ms │  1.13x slower │
│ QQuery 44 │           8.65 / 8.78 ±0.12 / 8.94 ms │                  9.13 / 9.31 ±0.14 / 9.48 ms │  1.06x slower │
│ QQuery 45 │        38.15 / 38.54 ±0.41 / 39.31 ms │               36.31 / 37.09 ±0.65 / 38.21 ms │     no change │
│ QQuery 46 │        11.63 / 11.74 ±0.11 / 11.93 ms │               11.78 / 11.86 ±0.05 / 11.91 ms │     no change │
│ QQuery 47 │     232.97 / 237.31 ±4.03 / 244.62 ms │            210.07 / 212.74 ±1.75 / 214.92 ms │ +1.12x faster │
│ QQuery 48 │        91.85 / 92.31 ±0.29 / 92.61 ms │               91.04 / 92.05 ±0.86 / 93.34 ms │     no change │
│ QQuery 49 │        69.78 / 70.41 ±0.83 / 72.03 ms │               70.67 / 72.22 ±2.00 / 76.16 ms │     no change │
│ QQuery 50 │        56.80 / 59.13 ±2.97 / 64.89 ms │               57.77 / 59.03 ±1.35 / 61.62 ms │     no change │
│ QQuery 51 │        92.86 / 96.41 ±2.03 / 99.10 ms │              94.57 / 99.00 ±4.85 / 108.31 ms │     no change │
│ QQuery 52 │        24.35 / 24.52 ±0.18 / 24.85 ms │               24.57 / 24.84 ±0.27 / 25.18 ms │     no change │
│ QQuery 53 │        29.39 / 29.58 ±0.15 / 29.81 ms │               29.88 / 29.97 ±0.12 / 30.20 ms │     no change │
│ QQuery 54 │        53.73 / 56.57 ±3.35 / 63.10 ms │               54.38 / 55.63 ±1.20 / 57.75 ms │     no change │
│ QQuery 55 │        24.08 / 24.37 ±0.21 / 24.69 ms │               24.17 / 24.42 ±0.15 / 24.66 ms │     no change │
│ QQuery 56 │        38.28 / 38.73 ±0.73 / 40.16 ms │               39.19 / 39.59 ±0.28 / 39.88 ms │     no change │
│ QQuery 57 │     168.01 / 169.92 ±1.74 / 172.52 ms │            156.05 / 158.37 ±2.67 / 163.56 ms │ +1.07x faster │
│ QQuery 58 │     106.94 / 107.37 ±0.33 / 107.86 ms │            103.90 / 107.35 ±2.26 / 111.03 ms │     no change │
│ QQuery 59 │     114.77 / 116.27 ±1.47 / 119.07 ms │            107.80 / 108.91 ±0.96 / 110.63 ms │ +1.07x faster │
│ QQuery 60 │        38.26 / 38.83 ±0.72 / 40.22 ms │               39.03 / 39.35 ±0.17 / 39.52 ms │     no change │
│ QQuery 61 │        10.48 / 10.57 ±0.09 / 10.72 ms │               10.80 / 11.73 ±1.52 / 14.76 ms │  1.11x slower │
│ QQuery 62 │        43.24 / 43.65 ±0.39 / 44.28 ms │               39.29 / 39.36 ±0.06 / 39.47 ms │ +1.11x faster │
│ QQuery 63 │        29.24 / 30.75 ±2.60 / 35.95 ms │               29.57 / 29.96 ±0.48 / 30.78 ms │     no change │
│ QQuery 64 │     351.03 / 355.29 ±3.65 / 360.92 ms │            364.43 / 368.37 ±2.11 / 370.52 ms │     no change │
│ QQuery 65 │        75.42 / 76.76 ±1.36 / 79.14 ms │               77.76 / 78.80 ±0.63 / 79.56 ms │     no change │
│ QQuery 66 │        72.95 / 73.70 ±1.26 / 76.20 ms │               72.36 / 73.20 ±0.50 / 73.66 ms │     no change │
│ QQuery 67 │     260.21 / 263.54 ±3.14 / 268.72 ms │            242.06 / 249.75 ±8.73 / 266.54 ms │ +1.06x faster │
│ QQuery 68 │        11.80 / 11.91 ±0.07 / 11.99 ms │               11.94 / 12.11 ±0.16 / 12.32 ms │     no change │
│ QQuery 69 │        55.81 / 57.19 ±2.33 / 61.84 ms │               54.76 / 55.76 ±1.83 / 59.42 ms │     no change │
│ QQuery 70 │     103.74 / 105.08 ±1.63 / 108.08 ms │             98.93 / 102.22 ±5.34 / 112.82 ms │     no change │
│ QQuery 71 │        34.74 / 35.29 ±0.31 / 35.61 ms │               35.55 / 35.86 ±0.33 / 36.46 ms │     no change │
│ QQuery 72 │ 1632.77 / 1676.99 ±35.76 / 1722.28 ms │        1611.03 / 1663.83 ±35.50 / 1720.08 ms │     no change │
│ QQuery 73 │         9.85 / 10.07 ±0.19 / 10.39 ms │                 9.45 / 9.77 ±0.24 / 10.03 ms │     no change │
│ QQuery 74 │     197.64 / 202.18 ±4.45 / 209.93 ms │            254.36 / 259.02 ±3.73 / 264.74 ms │  1.28x slower │
│ QQuery 75 │     138.58 / 140.97 ±3.45 / 147.79 ms │            140.38 / 141.10 ±0.73 / 142.50 ms │     no change │
│ QQuery 76 │        34.66 / 35.18 ±0.37 / 35.54 ms │               34.90 / 35.14 ±0.20 / 35.47 ms │     no change │
│ QQuery 77 │        60.03 / 60.58 ±0.51 / 61.38 ms │               60.28 / 61.00 ±0.80 / 62.17 ms │     no change │
│ QQuery 78 │    269.28 / 284.95 ±10.82 / 299.14 ms │            272.92 / 281.52 ±8.22 / 295.75 ms │     no change │
│ QQuery 79 │        67.26 / 69.73 ±2.61 / 74.42 ms │               68.10 / 69.22 ±1.69 / 72.58 ms │     no change │
│ QQuery 80 │       96.29 / 97.85 ±2.34 / 102.50 ms │              95.47 / 98.89 ±2.76 / 103.56 ms │     no change │
│ QQuery 81 │        25.85 / 26.15 ±0.35 / 26.78 ms │               28.93 / 29.07 ±0.11 / 29.18 ms │  1.11x slower │
│ QQuery 82 │        16.60 / 18.77 ±3.54 / 25.80 ms │               17.53 / 18.85 ±1.55 / 21.36 ms │     no change │
│ QQuery 83 │        32.51 / 32.87 ±0.30 / 33.26 ms │               33.04 / 33.43 ±0.27 / 33.85 ms │     no change │
│ QQuery 84 │        29.55 / 30.37 ±1.00 / 32.34 ms │               31.05 / 31.25 ±0.20 / 31.56 ms │     no change │
│ QQuery 85 │        97.43 / 98.26 ±0.49 / 98.79 ms │              96.64 / 98.80 ±2.73 / 104.10 ms │     no change │
│ QQuery 86 │        25.44 / 25.63 ±0.11 / 25.76 ms │               25.24 / 26.09 ±1.53 / 29.15 ms │     no change │
│ QQuery 87 │        61.96 / 64.83 ±3.26 / 71.09 ms │               66.37 / 66.80 ±0.37 / 67.47 ms │     no change │
│ QQuery 88 │        59.28 / 60.08 ±0.97 / 61.99 ms │               58.87 / 62.28 ±4.21 / 70.57 ms │     no change │
│ QQuery 89 │        35.00 / 35.66 ±0.50 / 36.46 ms │               36.31 / 36.56 ±0.23 / 37.00 ms │     no change │
│ QQuery 90 │        16.45 / 16.49 ±0.03 / 16.53 ms │               16.68 / 16.86 ±0.10 / 16.95 ms │     no change │
│ QQuery 91 │        40.69 / 42.04 ±1.90 / 45.79 ms │               40.30 / 41.06 ±1.15 / 43.34 ms │     no change │
│ QQuery 92 │        29.66 / 30.62 ±0.59 / 31.47 ms │               30.01 / 30.43 ±0.31 / 30.87 ms │     no change │
│ QQuery 93 │        49.57 / 50.14 ±0.46 / 50.82 ms │               50.02 / 50.92 ±0.68 / 52.11 ms │     no change │
│ QQuery 94 │        38.14 / 38.41 ±0.25 / 38.86 ms │               39.18 / 40.46 ±1.58 / 43.35 ms │  1.05x slower │
│ QQuery 95 │        80.20 / 82.02 ±3.04 / 88.08 ms │               81.98 / 82.80 ±1.02 / 84.79 ms │     no change │
│ QQuery 96 │        23.80 / 24.14 ±0.22 / 24.37 ms │               24.19 / 24.32 ±0.08 / 24.40 ms │     no change │
│ QQuery 97 │        50.77 / 52.49 ±1.88 / 55.86 ms │               51.19 / 52.14 ±1.27 / 54.64 ms │     no change │
│ QQuery 98 │        42.88 / 43.70 ±0.53 / 44.37 ms │               38.77 / 40.60 ±2.35 / 45.08 ms │ +1.08x faster │
│ QQuery 99 │        64.16 / 64.87 ±0.49 / 65.61 ms │               57.35 / 57.72 ±0.21 / 57.95 ms │ +1.12x faster │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9146.55ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 9430.93ms │
│ Average Time (HEAD)                                         │   92.39ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   95.26ms │
│ Queries Faster                                              │        10 │
│ Queries Slower                                              │        16 │
│ Queries with No Change                                      │        73 │
│ 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: 9d15cf079fe9646a967196fd6688f35be1e36c6b | Changed: bee06006b516e96df5ca17a4e7a1859fbf15b5a0

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 135.4 KiB 197.5 KiB +45.8%
Query 2 81.5 MiB 89.0 MiB +9.2%
Query 3 3.5 MiB 1.7 MiB -51.7%
Query 4 120.5 MiB 87.8 MiB -27.2%
Query 5 14.7 MiB 13.0 MiB -11.6%
Query 6 7.6 MiB 4.7 MiB -38.6%
Query 7 9.6 MiB 3.7 MiB -61.6%
Query 8 3.6 MiB 1.7 MiB -52.5%
Query 9 32.1 KiB 32.1 KiB +0.0%
Query 10 3.1 MiB 2.0 MiB -34.2%
Query 11 83.7 MiB 58.9 MiB -29.7%
Query 12 131.1 MiB 114.4 MiB -12.8%
Query 13 17.6 MiB 13.7 MiB -22.1%
Query 14 170.9 MiB 170.9 MiB +0.0%
Query 15 6.8 MiB 4.1 MiB -40.0%
Query 16 161.7 KiB 118.6 KiB -26.6%
Query 17 40.5 MiB 42.4 MiB +4.9%
Query 18 21.0 MiB 21.2 MiB +1.2%
Query 19 4.6 MiB 2.1 MiB -53.0%
Query 20 131.3 MiB 114.6 MiB -12.7%
Query 21 4.6 MiB 3.3 MiB -27.0%
Query 22 93.4 MiB 61.8 MiB -33.9%
Query 23 215.6 MiB 212.3 MiB -1.5%
Query 24 48.1 MiB 38.7 MiB -19.6%
Query 25 99.1 MiB 99.9 MiB +0.8%
Query 26 10.2 MiB 3.5 MiB -65.5%
Query 27 1.7 MiB 1.6 MiB -10.1%
Query 28 1.3 MiB 1.3 MiB +0.0%
Query 29 104.4 MiB 104.7 MiB +0.3%
Query 30 6.7 MiB 3.8 MiB -42.9%
Query 31 18.0 MiB 13.4 MiB -25.5%
Query 32 2.7 MiB 2.7 MiB +0.0%
Query 33 4.0 MiB 5.4 MiB +34.8%
Query 34 14.3 MiB 6.0 MiB -58.4%
Query 35 25.5 MiB 16.6 MiB -34.7%
Query 36 10.6 MiB 10.3 MiB -2.4%
Query 37 3.8 MiB 3.3 MiB -12.9%
Query 38 20.2 MiB 10.4 MiB -48.2%
Query 39 34.2 MiB 72.9 MiB +113.2%
Query 40 13.9 MiB 12.2 MiB -12.2%
Query 41 2.1 MiB 2.1 MiB -3.4%
Query 42 2.0 MiB 1.5 MiB -23.2%
Query 43 192.4 KiB 275.0 KiB +42.9%
Query 44 233.2 KiB 233.2 KiB +0.0%
Query 45 8.0 MiB 4.5 MiB -43.3%
Query 46 10.1 MiB 6.2 MiB -39.2%
Query 47 157.3 MiB 132.6 MiB -15.7%
Query 48 16.7 MiB 11.4 MiB -31.9%
Query 49 72.4 MiB 61.1 MiB -15.5%
Query 50 15.9 MiB 16.9 MiB +6.3%
Query 51 178.0 MiB 177.7 MiB -0.2%
Query 52 3.3 MiB 1.8 MiB -47.1%
Query 53 30.6 MiB 30.6 MiB +0.0%
Query 54 4.5 MiB 2.2 MiB -50.9%
Query 55 3.3 MiB 1.7 MiB -47.3%
Query 56 5.2 MiB 2.9 MiB -43.4%
Query 57 141.9 MiB 127.8 MiB -9.9%
Query 58 6.3 MiB 4.2 MiB -33.3%
Query 59 15.0 MiB 11.7 MiB -21.8%
Query 60 7.0 MiB 5.4 MiB -22.3%
Query 61 1.2 MiB 1.0 MiB -10.2%
Query 62 7.7 MiB 3.6 MiB -52.7%
Query 63 20.6 MiB 30.6 MiB +48.6%
Query 64 118.0 MiB 104.4 MiB -11.5%
Query 65 29.4 MiB 29.7 MiB +1.1%
Query 66 12.3 MiB 14.9 MiB +21.9%
Query 67 515.1 MiB 141.7 MiB -72.5%
Query 68 10.1 MiB 6.2 MiB -39.2%
Query 69 46.7 MiB 4.1 MiB -91.3%
Query 70 68.7 MiB 44.0 MiB -35.9%
Query 71 60.4 MiB 40.4 MiB -33.1%
Query 72 97.1 MiB 97.2 MiB +0.1%
Query 73 14.3 MiB 6.0 MiB -58.4%
Query 74 48.9 MiB 36.0 MiB -26.4%
Query 75 22.2 MiB 23.6 MiB +6.1%
Query 76 4.9 MiB 4.3 MiB -12.4%
Query 77 4.1 MiB 4.1 MiB +0.0%
Query 78 335.7 MiB 335.7 MiB +0.0%
Query 79 12.4 MiB 8.7 MiB -29.8%
Query 80 43.2 MiB 41.6 MiB -3.7%
Query 81 11.4 MiB 4.0 MiB -64.7%
Query 82 3.8 MiB 4.9 MiB +30.2%
Query 83 11.9 MiB 9.0 MiB -24.0%
Query 84 12.0 MiB 11.9 MiB -0.9%
Query 85 21.9 MiB 17.0 MiB -22.3%
Query 86 105.2 MiB 91.9 MiB -12.7%
Query 87 20.6 MiB 12.9 MiB -37.4%
Query 88 2.0 MiB 1.6 MiB -22.6%
Query 89 129.1 MiB 112.2 MiB -13.1%
Query 90 351.7 KiB 348.6 KiB -0.9%
Query 91 22.9 MiB 31.3 MiB +37.0%
Query 92 2.7 MiB 2.7 MiB +0.0%
Query 93 15.1 MiB 15.2 MiB +0.2%
Query 94 3.7 MiB 3.4 MiB -7.6%
Query 95 24.4 MiB 24.0 MiB -1.9%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB +0.2%
Query 98 130.7 MiB 114.7 MiB -12.2%
Query 99 7.1 MiB 1.7 MiB -76.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
tpcds base (9d15cf079fe9646a967196fd6688f35be1e36c6b) 515.1 MiB 2.1 GiB 1.6 GiB 4.2×
tpcds changed (bee06006b516e96df5ca17a4e7a1859fbf15b5a0) 335.7 MiB 2.0 GiB 1.7 GiB 6.2×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 50.0s
Peak memory 2.1 GiB
Avg memory 1.4 GiB
CPU user 190.8s
CPU sys 5.8s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 50.0s
Peak memory 2.0 GiB
Avg memory 1.3 GiB
CPU user 196.0s
CPU sys 5.7s
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 bee0600 (bee0600) to 9d15cf0 diff

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.22 ms │                                      1.13 ms │ +1.08x faster │
│ QQuery 1  │   11.72 ms │                                     11.29 ms │     no change │
│ QQuery 2  │   35.26 ms │                                     34.96 ms │     no change │
│ QQuery 3  │   31.63 ms │                                     30.91 ms │     no change │
│ QQuery 4  │  255.69 ms │                                    242.52 ms │ +1.05x faster │
│ QQuery 5  │  284.17 ms │                                    807.42 ms │  2.84x slower │
│ QQuery 6  │    1.23 ms │                                      1.17 ms │     no change │
│ QQuery 7  │   13.32 ms │                                     12.65 ms │ +1.05x faster │
│ QQuery 8  │  353.32 ms │                                    339.68 ms │     no change │
│ QQuery 9  │  503.87 ms │                                    477.73 ms │ +1.05x faster │
│ QQuery 10 │   66.70 ms │                                    202.08 ms │  3.03x slower │
│ QQuery 11 │   77.17 ms │                                    216.31 ms │  2.80x slower │
│ QQuery 12 │  266.18 ms │                                    865.92 ms │  3.25x slower │
│ QQuery 13 │  393.83 ms │                                   1098.58 ms │  2.79x slower │
│ QQuery 14 │  304.29 ms │                                    863.15 ms │  2.84x slower │
│ QQuery 15 │  322.01 ms │                                    290.46 ms │ +1.11x faster │
│ QQuery 16 │  660.95 ms │                                   1306.12 ms │  1.98x slower │
│ QQuery 17 │  637.74 ms │                                   1279.98 ms │  2.01x slower │
│ QQuery 18 │ 1229.15 ms │                                   2124.31 ms │  1.73x slower │
│ QQuery 19 │   29.35 ms │                                     28.18 ms │     no change │
│ QQuery 20 │  528.57 ms │                                   1076.16 ms │  2.04x slower │
│ QQuery 21 │  513.70 ms │                                   1407.23 ms │  2.74x slower │
│ QQuery 22 │  986.05 ms │                                   3287.12 ms │  3.33x slower │
│ QQuery 23 │ 3073.84 ms │                                   9221.62 ms │  3.00x slower │
│ QQuery 24 │   40.25 ms │                                     98.95 ms │  2.46x slower │
│ QQuery 25 │  105.22 ms │                                    356.68 ms │  3.39x slower │
│ QQuery 26 │   41.25 ms │                                     98.08 ms │  2.38x slower │
│ QQuery 27 │  511.49 ms │                                   1142.01 ms │  2.23x slower │
│ QQuery 28 │ 2926.79 ms │                                   2560.02 ms │ +1.14x faster │
│ QQuery 29 │   38.46 ms │                                     37.94 ms │     no change │
│ QQuery 30 │  305.56 ms │                                    558.32 ms │  1.83x slower │
│ QQuery 31 │  280.89 ms │                                    543.84 ms │  1.94x slower │
│ QQuery 32 │  946.07 ms │                                   1045.07 ms │  1.10x slower │
│ QQuery 33 │ 1478.48 ms │                                   3769.93 ms │  2.55x slower │
│ QQuery 34 │ 1523.15 ms │                                   3708.57 ms │  2.43x slower │
│ QQuery 35 │  300.89 ms │                                    309.57 ms │     no change │
│ QQuery 36 │   68.27 ms │                                    153.03 ms │  2.24x slower │
│ QQuery 37 │   35.85 ms │                                     98.52 ms │  2.75x slower │
│ QQuery 38 │   40.15 ms │                                     83.33 ms │  2.08x slower │
│ QQuery 39 │  148.93 ms │                                    303.41 ms │  2.04x slower │
│ QQuery 40 │   14.67 ms │                                     14.25 ms │     no change │
│ QQuery 41 │   13.92 ms │                                     13.53 ms │     no change │
│ QQuery 42 │   13.34 ms │                                     13.33 ms │     no change │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 19414.58ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 40135.06ms │
│ Average Time (HEAD)                                         │   451.50ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   933.37ms │
│ Queries Faster                                              │          6 │
│ Queries Slower                                              │         26 │
│ Queries with No Change                                      │         11 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_repartition-dictionary-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_repartition-dictionary-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           1.22 / 1.86 ±1.16 / 4.18 ms │                  1.13 / 1.75 ±1.13 / 4.01 ms │ +1.07x faster │
│ QQuery 1  │        11.72 / 11.98 ±0.19 / 12.28 ms │               11.29 / 11.41 ±0.09 / 11.52 ms │     no change │
│ QQuery 2  │        35.26 / 35.58 ±0.24 / 35.94 ms │               34.96 / 35.09 ±0.11 / 35.29 ms │     no change │
│ QQuery 3  │        31.63 / 32.31 ±0.62 / 33.42 ms │               30.91 / 31.24 ±0.37 / 31.95 ms │     no change │
│ QQuery 4  │     255.69 / 260.05 ±3.35 / 264.73 ms │            242.52 / 246.81 ±2.52 / 249.54 ms │ +1.05x faster │
│ QQuery 5  │     284.17 / 291.90 ±5.49 / 299.74 ms │            807.42 / 820.43 ±8.99 / 835.17 ms │  2.81x slower │
│ QQuery 6  │           1.23 / 1.38 ±0.25 / 1.88 ms │                  1.17 / 1.33 ±0.24 / 1.80 ms │     no change │
│ QQuery 7  │        13.32 / 13.63 ±0.21 / 13.86 ms │               12.65 / 12.79 ±0.12 / 12.95 ms │ +1.07x faster │
│ QQuery 8  │     353.32 / 358.70 ±4.22 / 365.54 ms │            339.68 / 345.00 ±6.20 / 356.73 ms │     no change │
│ QQuery 9  │     503.87 / 507.09 ±3.49 / 513.36 ms │            477.73 / 486.22 ±7.69 / 498.74 ms │     no change │
│ QQuery 10 │        66.70 / 67.36 ±0.49 / 68.00 ms │            202.08 / 206.95 ±6.67 / 220.11 ms │  3.07x slower │
│ QQuery 11 │       77.17 / 83.67 ±9.79 / 103.04 ms │            216.31 / 217.46 ±0.76 / 218.64 ms │  2.60x slower │
│ QQuery 12 │    266.18 / 287.44 ±15.33 / 306.68 ms │           865.92 / 880.58 ±17.73 / 913.48 ms │  3.06x slower │
│ QQuery 13 │    393.83 / 413.16 ±11.68 / 426.54 ms │        1098.58 / 1143.51 ±33.48 / 1193.51 ms │  2.77x slower │
│ QQuery 14 │     304.29 / 311.22 ±4.53 / 317.65 ms │           863.15 / 883.92 ±20.16 / 916.08 ms │  2.84x slower │
│ QQuery 15 │     322.01 / 329.88 ±5.82 / 337.61 ms │           290.46 / 309.42 ±15.88 / 332.89 ms │ +1.07x faster │
│ QQuery 16 │    660.95 / 688.58 ±16.42 / 708.20 ms │        1306.12 / 1321.52 ±17.93 / 1356.09 ms │  1.92x slower │
│ QQuery 17 │    637.74 / 650.17 ±11.66 / 667.30 ms │        1279.98 / 1324.67 ±53.04 / 1393.65 ms │  2.04x slower │
│ QQuery 18 │ 1229.15 / 1275.84 ±35.72 / 1336.65 ms │        2124.31 / 2146.97 ±17.88 / 2178.39 ms │  1.68x slower │
│ QQuery 19 │       29.35 / 38.99 ±13.16 / 63.08 ms │               28.18 / 29.25 ±0.82 / 30.14 ms │ +1.33x faster │
│ QQuery 20 │    528.57 / 543.70 ±13.69 / 566.46 ms │         1076.16 / 1083.07 ±8.38 / 1099.53 ms │  1.99x slower │
│ QQuery 21 │     513.70 / 521.08 ±4.48 / 527.71 ms │         1407.23 / 1411.86 ±5.85 / 1423.41 ms │  2.71x slower │
│ QQuery 22 │    986.05 / 994.39 ±5.23 / 1000.36 ms │        3287.12 / 3323.20 ±26.68 / 3354.55 ms │  3.34x slower │
│ QQuery 23 │ 3073.84 / 3125.76 ±36.38 / 3184.24 ms │       9221.62 / 9456.85 ±168.22 / 9638.10 ms │  3.03x slower │
│ QQuery 24 │        40.25 / 40.96 ±0.53 / 41.86 ms │            98.95 / 138.27 ±35.64 / 196.38 ms │  3.38x slower │
│ QQuery 25 │     105.22 / 107.28 ±1.88 / 110.80 ms │            356.68 / 357.98 ±1.16 / 359.45 ms │  3.34x slower │
│ QQuery 26 │        41.25 / 41.89 ±0.66 / 43.05 ms │              98.08 / 99.67 ±1.48 / 102.46 ms │  2.38x slower │
│ QQuery 27 │     511.49 / 522.44 ±9.91 / 536.86 ms │        1142.01 / 1159.35 ±12.01 / 1174.99 ms │  2.22x slower │
│ QQuery 28 │ 2926.79 / 2938.28 ±10.58 / 2957.05 ms │        2560.02 / 2575.73 ±17.47 / 2609.37 ms │ +1.14x faster │
│ QQuery 29 │        38.46 / 41.85 ±5.65 / 53.04 ms │               37.94 / 40.96 ±5.63 / 52.20 ms │     no change │
│ QQuery 30 │    305.56 / 320.47 ±16.35 / 351.35 ms │            558.32 / 561.54 ±3.34 / 567.41 ms │  1.75x slower │
│ QQuery 31 │     280.89 / 288.32 ±4.80 / 294.42 ms │            543.84 / 557.54 ±8.77 / 570.60 ms │  1.93x slower │
│ QQuery 32 │   946.07 / 977.20 ±28.18 / 1024.76 ms │        1045.07 / 1097.39 ±32.92 / 1144.31 ms │  1.12x slower │
│ QQuery 33 │ 1478.48 / 1493.86 ±17.29 / 1523.80 ms │        3769.93 / 3829.68 ±74.07 / 3972.34 ms │  2.56x slower │
│ QQuery 34 │ 1523.15 / 1561.33 ±30.79 / 1596.40 ms │        3708.57 / 3795.27 ±63.06 / 3896.86 ms │  2.43x slower │
│ QQuery 35 │    300.89 / 339.98 ±40.20 / 404.22 ms │           309.57 / 353.35 ±34.76 / 412.64 ms │     no change │
│ QQuery 36 │        68.27 / 74.10 ±4.26 / 79.90 ms │           153.03 / 165.36 ±14.11 / 189.36 ms │  2.23x slower │
│ QQuery 37 │        35.85 / 37.06 ±1.47 / 39.95 ms │             98.52 / 100.31 ±1.43 / 102.79 ms │  2.71x slower │
│ QQuery 38 │        40.15 / 46.39 ±3.54 / 50.40 ms │               83.33 / 90.34 ±3.71 / 93.29 ms │  1.95x slower │
│ QQuery 39 │     148.93 / 156.92 ±9.08 / 174.38 ms │           303.41 / 322.70 ±14.39 / 339.83 ms │  2.06x slower │
│ QQuery 40 │        14.67 / 16.93 ±4.12 / 25.15 ms │               14.25 / 17.13 ±4.41 / 25.89 ms │     no change │
│ QQuery 41 │        13.92 / 17.19 ±5.63 / 28.38 ms │               13.53 / 14.24 ±0.42 / 14.69 ms │ +1.21x faster │
│ QQuery 42 │        13.34 / 18.32 ±5.63 / 25.55 ms │               13.33 / 17.65 ±7.05 / 31.70 ms │     no change │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 19886.49ms │
│ Total Time (rich-T-kid_repartition-dictionary-hash-cache)   │ 41025.78ms │
│ Average Time (HEAD)                                         │   462.48ms │
│ Average Time (rich-T-kid_repartition-dictionary-hash-cache) │   954.09ms │
│ Queries Faster                                              │          7 │
│ Queries Slower                                              │         26 │
│ Queries with No Change                                      │         10 │
│ 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: 9d15cf079fe9646a967196fd6688f35be1e36c6b | Changed: bee06006b516e96df5ca17a4e7a1859fbf15b5a0

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 846.9 MiB 828.3 MiB -2.2%
Query 5 1.2 GiB 1.4 GiB +18.9%
Query 6 0 B 0 B 0.0%
Query 7 50.3 MiB 60.1 MiB +19.4%
Query 8 968.2 MiB 942.6 MiB -2.6%
Query 9 594.0 MiB 593.9 MiB -0.0%
Query 10 113.7 MiB 73.1 MiB -35.7%
Query 11 115.5 MiB 78.5 MiB -32.0%
Query 12 1.3 GiB 1.6 GiB +18.1%
Query 13 1.6 GiB 1.6 GiB +4.8%
Query 14 1.3 GiB 1.6 GiB +26.8%
Query 15 1.2 GiB 1.2 GiB +0.1%
Query 16 3.4 GiB 3.2 GiB -6.0%
Query 17 3.4 GiB 3.3 GiB -2.9%
Query 18 8.4 GiB 7.4 GiB -12.0%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 4.0 MiB 1.5 MiB -61.5%
Query 22 3.4 MiB 2.4 MiB -30.1%
Query 23 28.7 MiB 11.1 MiB -61.1%
Query 24 60.1 MiB 6.5 MiB -89.3%
Query 25 167.5 MiB 8.1 MiB -95.1%
Query 26 62.5 MiB 7.8 MiB -87.5%
Query 27 2.5 MiB 2.2 MiB -8.9%
Query 28 1.8 GiB 1.9 GiB +7.0%
Query 29 624 B 624 B +0.0%
Query 30 733.7 MiB 653.1 MiB -11.0%
Query 31 1.5 GiB 1.5 GiB -1.5%
Query 32 7.1 GiB 7.1 GiB -0.0%
Query 33 8.1 GiB 10.0 GiB +23.4%
Query 34 7.9 GiB 9.7 GiB +22.7%
Query 35 659.1 MiB 678.7 MiB +3.0%
Query 36 119.4 MiB 105.4 MiB -11.7%
Query 37 7.1 MiB 8.4 MiB +19.1%
Query 38 5.7 MiB 5.6 MiB -0.3%
Query 39 308.7 MiB 213.5 MiB -30.8%
Query 40 2.3 MiB 2.1 MiB -7.3%
Query 41 3.1 MiB 3.3 MiB +9.1%
Query 42 1.9 MiB 1.8 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 (9d15cf079fe9646a967196fd6688f35be1e36c6b) 8.4 GiB 11.1 GiB 2.8 GiB 1.3×
clickbench_partitioned changed (bee06006b516e96df5ca17a4e7a1859fbf15b5a0) 10.0 GiB 13.2 GiB 3.2 GiB 1.3×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 11.1 GiB
Avg memory 4.2 GiB
CPU user 1013.9s
CPU sys 73.8s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 210.0s
Peak memory 13.2 GiB
Avg memory 5.7 GiB
CPU user 2005.6s
CPU sys 132.9s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

This is good progress compared with the original paired RLE off/on run. ClickBench went from 71.16s vs 19.00s (3.75x slower, with Q33/Q34 9.20x/8.93x slower) to 40.14s vs 19.41s here (2.07x overall, with Q33/Q34 2.55x/2.43x slower). TPC-H also improved from ~11% slower to 6.6%, and TPC-DS from ~4% to 3.3%. There is still a gap, and this spans other changes since #24227, but we are moving in the right direction.

@Rich-T-kid Rich-T-kid closed this Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cache dictionary value hashes in RepartitionExec

4 participants