Skip to content

feat(optimizer): preserve profitable Parquet dictionaries for aggregation - #26789

Draft
Rich-T-kid wants to merge 13 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/wip-cost-based-parquet-dictionary
Draft

Rich-T-kid wants to merge 13 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/wip-cost-based-parquet-dictionary

Conversation

@Rich-T-kid

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

Copy link
Copy Markdown
Contributor

Part of #24117.

This adds a default-off physical optimizer rule that preserves profitable Parquet string dictionaries through aggregation:

SET datafusion.optimizer.enable_dictionary_aggregation = true;

Before:

Parquet dictionary pages
        |
        v
scan: Utf8View
        |
        v
repartition / aggregate: Utf8View
        |
        v
output: Utf8View

After, when the cost and safety checks pass:

Parquet dictionary pages
        |
        v
scan: Dictionary<Int32, Utf8>
        |
        v
repartition / aggregate: Dictionary<Int32, Utf8>
        |
        v
cast after the final aggregate
        |
        v
output: Utf8View

The rule fails closed. It requires Parquet footer metadata proving that every data page is dictionary encoded, native Utf8 dictionary values, at least 16 decoded value bytes per row, a decoded-to-Parquet byte ratio of at least 4:1, and at least 8 MiB of estimated string work at the aggregate. It traces group-key payloads through projections and safe inner equijoins, and skips filtered, limited, ranged, schema-overridden, or otherwise unsupported scan paths. SQL-visible schemas do not change.

Physical encoding metadata is collected only while the option is enabled and cached with the normal file statistics. This draft temporarily pins Arrow to apache/arrow-rs#12161, which lets the Parquet reader emit the requested Dictionary<Int32, Utf8> directly instead of repairing the value type with a per-batch cast.

Benchmarks

Release build, Arrow PR head eff59bb9, flag off vs on. Full TPC-H, TPC-DS, and partitioned ClickBench screens used alternating ABBA + BAAB processes and discarded the first iteration in each process. Every apparent regression above 2% was rerun as an isolated query with longer alternating runs.

Workload Flag off Flag on Change
TPC-DS Q47 128.22 ms 116.70 ms -8.98%
TPC-DS Q57 96.27 ms 88.58 ms -7.99%

No isolated regression remained above 2%:

  • Partitioned ClickBench: four screen flags; worst isolated result was Q4 at +0.43%. Q14 was +0.16% over 312 warm samples per side.
  • TPC-DS: eight screen flags; worst confirmed result was Q61 at +0.35% over 1,592 warm samples per side.
  • Parquet TPC-H: four screen flags; worst confirmed result was Q13 at +0.14% over 792 warm samples per side.

Validation

  • End-to-end Parquet regression verifies that an unannotated binary column requested as Dictionary<Int32, Utf8> is returned directly with that type.
  • Coverage includes mixed dictionary/plain pages, cache backfill and reuse, data filters, scan limits, partition-only filters, unsafe joins, projections, and output-schema restoration.
  • Full workspace all-targets clippy with avro,integration-tests,extended_tests, formatting, typos, catalog-listing tests, and focused Parquet/optimizer tests pass.

@github-actions github-actions Bot added documentation Improvements or additions to documentation optimizer Optimizer rules core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) catalog Related to the catalog crate common Related to common crate execution Related to the execution crate proto Related to proto crate datasource Changes to the datasource crate auto detected api change Auto detected API change labels Oct 27, 2026
@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/wip-cost-based-parquet-dictionary branch from 53391c9 to f63f7dd Compare October 27, 2026 04:30
@github-actions github-actions Bot removed the proto Related to proto crate label Oct 27, 2026
@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/wip-cost-based-parquet-dictionary branch from f63f7dd to 3a1dc8e Compare October 27, 2026 05:33
@github-actions github-actions Bot removed documentation Improvements or additions to documentation core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) catalog Related to the catalog crate common Related to common crate execution Related to the execution crate datasource Changes to the datasource crate labels Oct 27, 2026
@Rich-T-kid Rich-T-kid changed the title WIP: feat(parquet): choose dictionary encoding from plan usage and cost WIP: feat(optimizer): decode unprofitable dictionary group keys Oct 27, 2026
@github-actions github-actions Bot removed the auto detected api change Auto detected API change label Oct 27, 2026
@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-c6443420962-3923-sbrpw 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/wip-cost-based-parquet-dictionary (3a1dc8e) to c18e5d9 (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

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

show benchmark queue

@adriangbot

Copy link
Copy Markdown

Hi @Rich-T-kid, you asked to view the benchmark queue (#26789 (comment)).

Comment Repo PR User Benchmarks Status
#6443420962 apache/datafusion #26789 Rich-T-kid ["clickbench_partitioned"] running

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/wip-cost-based-parquet-dictionary (3a1dc8e) to c18e5d9 (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_wip-cost-based-parquet-dictionary
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │     1.14 ms │                                      1.15 ms │     no change │
│ QQuery 1  │    11.53 ms │                                     11.13 ms │     no change │
│ QQuery 2  │    36.39 ms │                                     35.60 ms │     no change │
│ QQuery 3  │    31.60 ms │                                     30.71 ms │     no change │
│ QQuery 4  │   233.88 ms │                                    232.76 ms │     no change │
│ QQuery 5  │  1485.47 ms │                                    579.28 ms │ +2.56x faster │
│ QQuery 6  │     1.19 ms │                                      1.21 ms │     no change │
│ QQuery 7  │    12.64 ms │                                     12.24 ms │     no change │
│ QQuery 8  │   338.93 ms │                                    330.01 ms │     no change │
│ QQuery 9  │   480.34 ms │                                    464.63 ms │     no change │
│ QQuery 10 │   199.59 ms │                                    204.41 ms │     no change │
│ QQuery 11 │   209.91 ms │                                    215.26 ms │     no change │
│ QQuery 12 │  1529.28 ms │                                    536.81 ms │ +2.85x faster │
│ QQuery 13 │  2739.29 ms │                                    727.81 ms │ +3.76x faster │
│ QQuery 14 │  1641.04 ms │                                    569.94 ms │ +2.88x faster │
│ QQuery 15 │   294.45 ms │                                    285.12 ms │     no change │
│ QQuery 16 │  3505.95 ms │                                   1010.94 ms │ +3.47x faster │
│ QQuery 17 │  3685.17 ms │                                    939.19 ms │ +3.92x faster │
│ QQuery 18 │  7170.24 ms │                                   1670.62 ms │ +4.29x faster │
│ QQuery 19 │    27.03 ms │                                     26.48 ms │     no change │
│ QQuery 20 │  1047.17 ms │                                   1033.10 ms │     no change │
│ QQuery 21 │  1357.54 ms │                                   1346.44 ms │     no change │
│ QQuery 22 │  3187.66 ms │                                   3182.12 ms │     no change │
│ QQuery 23 │  9246.83 ms │                                   9038.19 ms │     no change │
│ QQuery 24 │    96.18 ms │                                     94.10 ms │     no change │
│ QQuery 25 │   352.27 ms │                                    349.14 ms │     no change │
│ QQuery 26 │    96.82 ms │                                     95.13 ms │     no change │
│ QQuery 27 │  1125.73 ms │                                   1120.75 ms │     no change │
│ QQuery 28 │  2770.39 ms │                                   2728.31 ms │     no change │
│ QQuery 29 │    39.03 ms │                                     38.85 ms │     no change │
│ QQuery 30 │   541.88 ms │                                    539.98 ms │     no change │
│ QQuery 31 │   526.53 ms │                                    534.51 ms │     no change │
│ QQuery 32 │   974.75 ms │                                    979.65 ms │     no change │
│ QQuery 33 │ 13281.24 ms │                                   2460.95 ms │ +5.40x faster │
│ QQuery 34 │ 13054.69 ms │                                   2535.92 ms │ +5.15x faster │
│ QQuery 35 │   294.65 ms │                                    294.07 ms │     no change │
│ QQuery 36 │   166.22 ms │                                    108.22 ms │ +1.54x faster │
│ QQuery 37 │    95.92 ms │                                     95.87 ms │     no change │
│ QQuery 38 │    80.39 ms │                                     76.87 ms │     no change │
│ QQuery 39 │   379.20 ms │                                    293.01 ms │ +1.29x faster │
│ QQuery 40 │    13.50 ms │                                     14.35 ms │  1.06x slower │
│ QQuery 41 │    13.14 ms │                                     13.11 ms │     no change │
│ QQuery 42 │    12.77 ms │                                     12.85 ms │     no change │
└───────────┴─────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 72389.54ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 34870.79ms │
│ Average Time (HEAD)                                         │  1683.48ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   810.95ms │
│ Queries Faster                                              │         11 │
│ Queries Slower                                              │          1 │
│ Queries with No Change                                      │         31 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │              1.14 / 4.20 ±5.98 / 16.15 ms │                 1.15 / 4.13 ±5.88 / 15.88 ms │     no change │
│ QQuery 1  │            11.53 / 11.67 ±0.08 / 11.77 ms │               11.13 / 11.40 ±0.22 / 11.69 ms │     no change │
│ QQuery 2  │            36.39 / 37.15 ±0.75 / 38.43 ms │               35.60 / 35.98 ±0.36 / 36.66 ms │     no change │
│ QQuery 3  │            31.60 / 32.39 ±1.03 / 34.41 ms │               30.71 / 31.08 ±0.24 / 31.37 ms │     no change │
│ QQuery 4  │         233.88 / 239.62 ±3.89 / 244.88 ms │            232.76 / 236.27 ±2.54 / 239.43 ms │     no change │
│ QQuery 5  │     1485.47 / 1520.39 ±34.87 / 1587.18 ms │            579.28 / 583.89 ±3.35 / 588.26 ms │ +2.60x faster │
│ QQuery 6  │               1.19 / 1.34 ±0.22 / 1.78 ms │                  1.21 / 1.37 ±0.24 / 1.85 ms │     no change │
│ QQuery 7  │            12.64 / 15.41 ±5.10 / 25.60 ms │               12.24 / 12.31 ±0.07 / 12.43 ms │ +1.25x faster │
│ QQuery 8  │         338.93 / 344.12 ±7.03 / 357.52 ms │            330.01 / 338.08 ±8.53 / 353.93 ms │     no change │
│ QQuery 9  │        480.34 / 493.52 ±11.72 / 511.13 ms │            464.63 / 472.11 ±8.67 / 488.34 ms │     no change │
│ QQuery 10 │         199.59 / 200.76 ±0.82 / 201.94 ms │            204.41 / 208.76 ±4.60 / 214.59 ms │     no change │
│ QQuery 11 │         209.91 / 211.34 ±1.25 / 213.54 ms │            215.26 / 216.11 ±0.82 / 217.55 ms │     no change │
│ QQuery 12 │     1529.28 / 1575.98 ±56.36 / 1681.65 ms │            536.81 / 541.62 ±5.43 / 551.17 ms │ +2.91x faster │
│ QQuery 13 │    2739.29 / 2906.60 ±142.18 / 3131.28 ms │           727.81 / 745.83 ±15.67 / 770.98 ms │ +3.90x faster │
│ QQuery 14 │     1641.04 / 1686.46 ±40.20 / 1742.03 ms │            569.94 / 576.99 ±5.43 / 584.30 ms │ +2.92x faster │
│ QQuery 15 │         294.45 / 299.53 ±4.81 / 307.78 ms │           285.12 / 297.69 ±11.80 / 312.15 ms │     no change │
│ QQuery 16 │    3505.95 / 3708.23 ±107.97 / 3806.75 ms │         1010.94 / 1026.17 ±8.88 / 1035.50 ms │ +3.61x faster │
│ QQuery 17 │     3685.17 / 3768.10 ±69.60 / 3845.28 ms │          939.19 / 962.67 ±27.33 / 1015.81 ms │ +3.91x faster │
│ QQuery 18 │     7170.24 / 7204.64 ±27.59 / 7252.38 ms │        1670.62 / 1700.41 ±18.14 / 1724.53 ms │ +4.24x faster │
│ QQuery 19 │            27.03 / 27.43 ±0.36 / 28.08 ms │               26.48 / 27.63 ±0.97 / 29.15 ms │     no change │
│ QQuery 20 │      1047.17 / 1052.66 ±9.07 / 1070.74 ms │         1033.10 / 1043.89 ±8.49 / 1054.49 ms │     no change │
│ QQuery 21 │     1357.54 / 1368.17 ±12.79 / 1391.95 ms │         1346.44 / 1355.65 ±9.06 / 1372.32 ms │     no change │
│ QQuery 22 │     3187.66 / 3216.44 ±25.10 / 3260.69 ms │        3182.12 / 3214.31 ±25.79 / 3254.74 ms │     no change │
│ QQuery 23 │    9246.83 / 9375.51 ±133.10 / 9539.24 ms │       9038.19 / 9255.05 ±124.96 / 9423.96 ms │     no change │
│ QQuery 24 │           96.18 / 97.99 ±2.31 / 102.51 ms │            94.10 / 113.42 ±23.09 / 149.65 ms │  1.16x slower │
│ QQuery 25 │         352.27 / 356.56 ±3.18 / 361.83 ms │           349.14 / 371.37 ±40.12 / 451.55 ms │     no change │
│ QQuery 26 │           96.82 / 98.79 ±3.19 / 105.15 ms │               95.13 / 96.32 ±0.77 / 97.22 ms │     no change │
│ QQuery 27 │     1125.73 / 1143.53 ±12.55 / 1159.05 ms │        1120.75 / 1140.33 ±13.32 / 1158.41 ms │     no change │
│ QQuery 28 │     2770.39 / 2798.88 ±19.80 / 2829.41 ms │        2728.31 / 2788.69 ±30.44 / 2807.89 ms │     no change │
│ QQuery 29 │           39.03 / 47.60 ±16.12 / 79.83 ms │              38.85 / 44.13 ±10.04 / 64.21 ms │ +1.08x faster │
│ QQuery 30 │         541.88 / 549.23 ±7.96 / 562.63 ms │            539.98 / 547.54 ±4.32 / 552.03 ms │     no change │
│ QQuery 31 │        526.53 / 550.50 ±20.65 / 576.22 ms │            534.51 / 540.86 ±8.50 / 557.43 ms │     no change │
│ QQuery 32 │      974.75 / 1026.10 ±57.69 / 1135.23 ms │         979.65 / 1030.82 ±30.75 / 1065.58 ms │     no change │
│ QQuery 33 │ 13281.24 / 14067.76 ±425.28 / 14569.70 ms │        2460.95 / 2559.26 ±85.44 / 2680.15 ms │ +5.50x faster │
│ QQuery 34 │ 13054.69 / 13990.48 ±499.91 / 14506.04 ms │        2535.92 / 2614.25 ±49.08 / 2678.33 ms │ +5.35x faster │
│ QQuery 35 │        294.65 / 340.86 ±55.39 / 426.69 ms │           294.07 / 320.74 ±41.89 / 403.85 ms │ +1.06x faster │
│ QQuery 36 │        166.22 / 180.54 ±10.57 / 193.12 ms │           108.22 / 126.49 ±11.63 / 144.36 ms │ +1.43x faster │
│ QQuery 37 │           95.92 / 99.12 ±2.72 / 103.21 ms │            95.87 / 107.89 ±11.91 / 129.88 ms │  1.09x slower │
│ QQuery 38 │            80.39 / 82.37 ±2.49 / 86.84 ms │               76.87 / 79.38 ±2.03 / 82.71 ms │     no change │
│ QQuery 39 │        379.20 / 402.24 ±11.84 / 411.99 ms │            293.01 / 308.75 ±9.65 / 318.39 ms │ +1.30x faster │
│ QQuery 40 │            13.50 / 14.05 ±0.64 / 15.26 ms │               14.35 / 16.76 ±2.91 / 21.74 ms │  1.19x slower │
│ QQuery 41 │            13.14 / 13.45 ±0.22 / 13.68 ms │               13.11 / 13.32 ±0.21 / 13.73 ms │     no change │
│ QQuery 42 │            12.77 / 13.68 ±1.60 / 16.88 ms │               12.85 / 13.20 ±0.29 / 13.68 ms │     no change │
└───────────┴───────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 75175.37ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 35732.90ms │
│ Average Time (HEAD)                                         │  1748.26ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   831.00ms │
│ Queries Faster                                              │         14 │
│ Queries Slower                                              │          3 │
│ 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: c18e5d9 (merge-base) | Changed: rich-T-kid/wip-cost-based-parquet-dictionary

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.2 MiB 811.1 MiB -1.9%
Query 5 1.4 GiB 1.2 GiB -14.7%
Query 6 0 B 0 B 0.0%
Query 7 50.3 MiB 50.3 MiB +0.2%
Query 8 990.7 MiB 946.8 MiB -4.4%
Query 9 593.9 MiB 594.0 MiB +0.0%
Query 10 74.5 MiB 73.8 MiB -0.9%
Query 11 74.2 MiB 76.6 MiB +3.3%
Query 12 1.6 GiB 1.5 GiB -6.2%
Query 13 2.0 GiB 1.6 GiB -19.1%
Query 14 1.9 GiB 1.5 GiB -21.8%
Query 15 1.2 GiB 1.2 GiB +0.9%
Query 16 3.5 GiB 3.2 GiB -8.1%
Query 17 3.4 GiB 3.2 GiB -6.1%
Query 18 7.1 GiB 6.9 GiB -4.0%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 1.4 MiB 1.8 MiB +26.2%
Query 22 2.2 MiB 2.1 MiB -3.9%
Query 23 12.8 MiB 12.8 MiB +0.1%
Query 24 5.9 MiB 6.7 MiB +13.4%
Query 25 7.6 MiB 7.6 MiB -0.3%
Query 26 8.0 MiB 8.0 MiB +0.1%
Query 27 2.7 MiB 2.5 MiB -6.9%
Query 28 2.0 GiB 1.9 GiB -5.3%
Query 29 624 B 624 B +0.0%
Query 30 677.6 MiB 673.4 MiB -0.6%
Query 31 1.5 GiB 1.5 GiB -0.0%
Query 32 7.1 GiB 7.2 GiB +0.4%
Query 33 12.7 GiB 9.3 GiB -26.9%
Query 34 12.4 GiB 9.9 GiB -20.1%
Query 35 669.9 MiB 670.6 MiB +0.1%
Query 36 474.1 MiB 91.2 MiB -80.8%
Query 37 8.1 MiB 6.4 MiB -20.5%
Query 38 5.3 MiB 6.2 MiB +18.1%
Query 39 450.8 MiB 315.3 MiB -30.1%
Query 40 2.5 MiB 2.5 MiB +0.7%
Query 41 3.1 MiB 3.1 MiB -0.0%
Query 42 1.7 MiB 1.7 MiB +0.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
clickbench_partitioned base (c18e5d9 (merge-base)) 12.7 GiB 12.7 GiB −68.3 MiB 1.0×
clickbench_partitioned changed (rich-T-kid/wip-cost-based-parquet-dictionary) 9.9 GiB 12.8 GiB 2.9 GiB 1.3×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 380.1s
Peak memory 12.7 GiB
Avg memory 5.8 GiB
CPU user 3287.9s
CPU sys 193.9s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 180.1s
Peak memory 12.8 GiB
Avg memory 5.1 GiB
CPU user 1842.2s
CPU sys 115.5s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark tpch tpcds wide_schema

env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

show benchmark queue

@adriangbot

Copy link
Copy Markdown

Hi @Rich-T-kid, you asked to view the benchmark queue (#26789 (comment)).

Comment Repo PR User Benchmarks Status
#6444070385 apache/datafusion #26789 Rich-T-kid ["tpch"] running
#6444070385 apache/datafusion #26789 Rich-T-kid ["tpcds"] running
#6444070385 apache/datafusion #26789 Rich-T-kid ["wide_schema"] running

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

show benchmark queue

@adriangbot

Copy link
Copy Markdown

Hi @Rich-T-kid, you asked to view the benchmark queue (#26789 (comment)).

Comment Repo PR User Benchmarks Resources Status
#6862975958 apache/arrow-rs #11973 Rich-T-kid ["zip_kernels"] default running
#6862982499 apache/arrow-rs #11973 Rich-T-kid ["merge_kernels"] default running
#6863196892 apache/arrow-rs #11973 Rich-T-kid ["zip_kernels"] default running
#6863196091 apache/arrow-rs #11973 Rich-T-kid ["filter_kernels"] default running
#6863197705 apache/arrow-rs #11973 Rich-T-kid ["merge_kernels"] default running
#6863683497 apache/arrow-rs #11973 Rich-T-kid ["mutable_array"] default pending
#6863756779 apache/datafusion #26789 Rich-T-kid ["tpch"] 12 CPU, 65Gi, arm64 pending
#6863756779 apache/datafusion #26789 Rich-T-kid ["tpcds"] 12 CPU, 65Gi, arm64 pending
#6863756779 apache/datafusion #26789 Rich-T-kid ["clickbench_partitioned"] 12 CPU, 65Gi, arm64 pending
#6863871215 apache/arrow-rs #11973 Rich-T-kid ["concatenate_kernel"] default pending
#6864634857 apache/arrow-rs #11973 Rich-T-kid ["mutable_array"] default pending
#6864635663 apache/arrow-rs #11973 Rich-T-kid ["concatenate_kernel"] default pending
#6864637368 apache/arrow-rs #11973 Rich-T-kid ["take_kernels"] default pending
#6864636533 apache/arrow-rs #11973 Rich-T-kid ["interleave_kernels"] default pending
#6864639545 apache/arrow-rs #11973 Rich-T-kid ["merge_kernels"] default pending
#6864638814 apache/arrow-rs #11973 Rich-T-kid ["zip_kernels"] default pending
#6864638093 apache/arrow-rs #11973 Rich-T-kid ["filter_kernels"] default pending
#6864690518 apache/arrow-rs #12058 mbutrovich ["arithmetic_kernels"] default running
#6864691948 apache/arrow-rs #12058 mbutrovich ["arithmetic_kernels"] default running
#6864693605 apache/arrow-rs #12058 mbutrovich ["arithmetic_kernels"] amd64 running
#6864695620 apache/arrow-rs #12058 mbutrovich ["arithmetic_kernels"] amd64 running
#6864697000 apache/arrow-rs #12058 mbutrovich ["arithmetic_kernels"] amd64 running
#6864699158 apache/arrow-rs #12058 mbutrovich ["arithmetic_kernels"] amd64 pending
#6864709006 apache/arrow-rs #12062 mbutrovich ["arithmetic_kernels"] default pending
#6864710340 apache/arrow-rs #12062 mbutrovich ["arithmetic_kernels"] default pending
#6864713381 apache/arrow-rs #12062 mbutrovich ["arithmetic_kernels"] amd64 pending
#6864715626 apache/arrow-rs #12062 mbutrovich ["arithmetic_kernels"] amd64 pending
#6864718429 apache/arrow-rs #12062 mbutrovich ["arithmetic_kernels"] amd64 pending
#6864720043 apache/arrow-rs #12062 mbutrovich ["arithmetic_kernels"] amd64 pending

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-c6863756779-5042-qsn5t 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 c37a2aa (c37a2aa) to c37a2aa diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_SCHEMA_FORCE_VIEW_TYPES: "true"
  DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"

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-c6863756779-5043-8pxnx 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 c37a2aa (c37a2aa) to c37a2aa diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_SCHEMA_FORCE_VIEW_TYPES: "true"
  DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"

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-c6863756779-5041-v59zp 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 c37a2aa (c37a2aa) to c37a2aa diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_SCHEMA_FORCE_VIEW_TYPES: "true"
  DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"

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 c37a2aa (c37a2aa) to c37a2aa diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_SCHEMA_FORCE_VIEW_TYPES: "true"
  DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"
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_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 40.32 ms │                                     38.99 ms │     no change │
│ QQuery 2  │ 18.11 ms │                                     19.06 ms │  1.05x slower │
│ QQuery 3  │ 27.84 ms │                                     28.02 ms │     no change │
│ QQuery 4  │ 17.15 ms │                                     17.04 ms │     no change │
│ QQuery 5  │ 34.83 ms │                                     34.96 ms │     no change │
│ QQuery 6  │ 13.45 ms │                                     13.33 ms │     no change │
│ QQuery 7  │ 42.16 ms │                                     40.97 ms │     no change │
│ QQuery 8  │ 39.79 ms │                                     39.99 ms │     no change │
│ QQuery 9  │ 47.37 ms │                                     49.68 ms │     no change │
│ QQuery 10 │ 39.78 ms │                                     52.83 ms │  1.33x slower │
│ QQuery 11 │ 13.37 ms │                                     13.69 ms │     no change │
│ QQuery 12 │ 17.42 ms │                                     21.51 ms │  1.23x slower │
│ QQuery 13 │ 39.00 ms │                                     46.52 ms │  1.19x slower │
│ QQuery 14 │ 23.67 ms │                                     23.47 ms │     no change │
│ QQuery 15 │ 30.54 ms │                                     30.72 ms │     no change │
│ QQuery 16 │ 13.51 ms │                                     14.19 ms │  1.05x slower │
│ QQuery 17 │ 66.86 ms │                                     66.90 ms │     no change │
│ QQuery 18 │ 40.06 ms │                                     48.16 ms │  1.20x slower │
│ QQuery 19 │ 31.57 ms │                                     28.82 ms │ +1.10x faster │
│ QQuery 20 │ 31.17 ms │                                     33.50 ms │  1.07x slower │
│ QQuery 21 │ 54.68 ms │                                     52.22 ms │     no change │
│ QQuery 22 │ 13.48 ms │                                     15.71 ms │  1.17x slower │
└───────────┴──────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 696.13ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 730.29ms │
│ Average Time (HEAD)                                         │  31.64ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │  33.19ms │
│ Queries Faster                                              │        1 │
│ Queries Slower                                              │        8 │
│ Queries with No Change                                      │       13 │
│ Queries with Failure                                        │        0 │
└─────────────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 40.32 / 42.23 ±1.63 / 45.04 ms │               38.99 / 40.21 ±1.43 / 42.20 ms │     no change │
│ QQuery 2  │ 18.11 / 18.93 ±0.57 / 19.62 ms │               19.06 / 19.56 ±0.76 / 21.07 ms │     no change │
│ QQuery 3  │ 27.84 / 28.77 ±0.90 / 30.45 ms │               28.02 / 28.15 ±0.16 / 28.45 ms │     no change │
│ QQuery 4  │ 17.15 / 17.53 ±0.51 / 18.52 ms │               17.04 / 17.25 ±0.12 / 17.37 ms │     no change │
│ QQuery 5  │ 34.83 / 35.85 ±0.75 / 37.09 ms │               34.96 / 35.27 ±0.32 / 35.89 ms │     no change │
│ QQuery 6  │ 13.45 / 14.24 ±0.61 / 15.30 ms │               13.33 / 13.41 ±0.10 / 13.61 ms │ +1.06x faster │
│ QQuery 7  │ 42.16 / 43.23 ±0.56 / 43.67 ms │               40.97 / 42.53 ±1.39 / 44.82 ms │     no change │
│ QQuery 8  │ 39.79 / 40.38 ±0.54 / 41.11 ms │               39.99 / 41.00 ±1.74 / 44.46 ms │     no change │
│ QQuery 9  │ 47.37 / 49.26 ±1.35 / 51.49 ms │               49.68 / 50.81 ±1.20 / 52.64 ms │     no change │
│ QQuery 10 │ 39.78 / 40.20 ±0.70 / 41.59 ms │               52.83 / 54.91 ±1.79 / 56.94 ms │  1.37x slower │
│ QQuery 11 │ 13.37 / 13.51 ±0.12 / 13.73 ms │               13.69 / 14.75 ±1.10 / 16.62 ms │  1.09x slower │
│ QQuery 12 │ 17.42 / 18.16 ±0.66 / 19.18 ms │               21.51 / 21.63 ±0.12 / 21.79 ms │  1.19x slower │
│ QQuery 13 │ 39.00 / 40.04 ±0.91 / 41.72 ms │               46.52 / 47.04 ±0.78 / 48.58 ms │  1.17x slower │
│ QQuery 14 │ 23.67 / 23.84 ±0.16 / 24.09 ms │               23.47 / 23.62 ±0.15 / 23.90 ms │     no change │
│ QQuery 15 │ 30.54 / 31.25 ±0.67 / 32.35 ms │               30.72 / 31.36 ±0.51 / 31.91 ms │     no change │
│ QQuery 16 │ 13.51 / 13.82 ±0.20 / 14.08 ms │               14.19 / 14.30 ±0.09 / 14.45 ms │     no change │
│ QQuery 17 │ 66.86 / 67.60 ±0.64 / 68.69 ms │               66.90 / 68.01 ±0.72 / 69.14 ms │     no change │
│ QQuery 18 │ 40.06 / 40.66 ±0.52 / 41.31 ms │               48.16 / 50.92 ±1.53 / 52.59 ms │  1.25x slower │
│ QQuery 19 │ 31.57 / 33.16 ±1.00 / 34.30 ms │               28.82 / 29.10 ±0.28 / 29.62 ms │ +1.14x faster │
│ QQuery 20 │ 31.17 / 31.55 ±0.27 / 31.88 ms │               33.50 / 33.69 ±0.23 / 34.14 ms │  1.07x slower │
│ QQuery 21 │ 54.68 / 55.61 ±0.76 / 56.94 ms │               52.22 / 52.75 ±0.38 / 53.38 ms │ +1.05x faster │
│ QQuery 22 │ 13.48 / 14.08 ±1.03 / 16.13 ms │               15.71 / 15.78 ±0.05 / 15.86 ms │  1.12x slower │
└───────────┴────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 713.92ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 746.04ms │
│ Average Time (HEAD)                                         │  32.45ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │  33.91ms │
│ Queries Faster                                              │        3 │
│ Queries Slower                                              │        7 │
│ Queries with No Change                                      │       12 │
│ 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: c37a2aada6b21adc699c3fd6d1ddb648c130ec84 | Changed: c37a2aada6b21adc699c3fd6d1ddb648c130ec84

tpch — tpch_sf1

Query Base Changed Change
Query 1 31.4 MiB 30.1 MiB -4.0%
Query 2 15.9 MiB 23.1 MiB +45.5%
Query 3 10.6 MiB 10.6 MiB +0.0%
Query 4 23.4 MiB 22.2 MiB -5.2%
Query 5 62.8 MiB 42.8 MiB -31.9%
Query 6 832 B 832 B +0.0%
Query 7 103.5 MiB 106.5 MiB +2.9%
Query 8 39.8 MiB 39.8 MiB +0.0%
Query 9 141.4 MiB 142.5 MiB +0.8%
Query 10 38.6 MiB 53.3 MiB +38.1%
Query 11 41.7 MiB 41.4 MiB -0.9%
Query 12 22.6 MiB 22.5 MiB -0.5%
Query 13 52.6 MiB 62.3 MiB +18.5%
Query 14 6.7 MiB 6.7 MiB +0.0%
Query 15 11.9 MiB 13.3 MiB +11.7%
Query 16 55.0 MiB 43.8 MiB -20.3%
Query 17 150.3 MiB 150.3 MiB +0.0%
Query 18 167.1 MiB 106.6 MiB -36.2%
Query 19 725.7 KiB 212.1 KiB -70.8%
Query 20 58.1 MiB 59.0 MiB +1.6%
Query 21 42.2 MiB 35.7 MiB -15.4%
Query 22 33.0 MiB 31.8 MiB -3.6%

Pool accounting vs. process RSS

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

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpch base (c37a2aada6b21adc699c3fd6d1ddb648c130ec84) 167.1 MiB 1.2 GiB 1.0 GiB 7.4×
tpch changed (c37a2aada6b21adc699c3fd6d1ddb648c130ec84) 150.3 MiB 1.1 GiB 1022.0 MiB 7.8×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 495.6 MiB
CPU user 19.2s
CPU sys 1.4s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.1 GiB
Avg memory 488.0 MiB
CPU user 19.6s
CPU sys 1.4s
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 c37a2aa (c37a2aa) to c37a2aa diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_SCHEMA_FORCE_VIEW_TYPES: "true"
  DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"
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_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.34 ms │                                      5.79 ms │  1.08x slower │
│ QQuery 2  │   80.36 ms │                                     77.41 ms │     no change │
│ QQuery 3  │   29.13 ms │                                     29.22 ms │     no change │
│ QQuery 4  │  457.56 ms │                                    550.97 ms │  1.20x slower │
│ QQuery 5  │   50.26 ms │                                     50.66 ms │     no change │
│ QQuery 6  │   36.07 ms │                                     33.68 ms │ +1.07x faster │
│ QQuery 7  │   72.36 ms │                                     71.70 ms │     no change │
│ QQuery 8  │   36.81 ms │                                     39.39 ms │  1.07x slower │
│ QQuery 9  │   52.61 ms │                                     51.87 ms │     no change │
│ QQuery 10 │   60.41 ms │                                     59.12 ms │     no change │
│ QQuery 11 │  288.76 ms │                                    351.86 ms │  1.22x slower │
│ QQuery 12 │   29.25 ms │                                     27.10 ms │ +1.08x faster │
│ QQuery 13 │  113.56 ms │                                    113.51 ms │     no change │
│ QQuery 14 │  379.22 ms │                                    378.76 ms │     no change │
│ QQuery 15 │   55.35 ms │                                     53.22 ms │     no change │
│ QQuery 16 │    6.09 ms │                                      6.24 ms │     no change │
│ QQuery 17 │   76.08 ms │                                     77.56 ms │     no change │
│ QQuery 18 │  104.56 ms │                                    104.54 ms │     no change │
│ QQuery 19 │   40.98 ms │                                     41.63 ms │     no change │
│ QQuery 20 │   36.11 ms │                                     32.37 ms │ +1.12x faster │
│ QQuery 21 │   17.16 ms │                                     16.94 ms │     no change │
│ QQuery 22 │   63.90 ms │                                     66.45 ms │     no change │
│ QQuery 23 │  295.55 ms │                                    294.17 ms │     no change │
│ QQuery 24 │  196.45 ms │                                    196.77 ms │     no change │
│ QQuery 25 │  104.33 ms │                                    105.19 ms │     no change │
│ QQuery 26 │   45.79 ms │                                     45.05 ms │     no change │
│ QQuery 27 │    5.10 ms │                                      5.34 ms │     no change │
│ QQuery 28 │   57.65 ms │                                     57.31 ms │     no change │
│ QQuery 29 │   91.72 ms │                                     93.65 ms │     no change │
│ QQuery 30 │   32.80 ms │                                     35.95 ms │  1.10x slower │
│ QQuery 31 │  108.48 ms │                                    108.63 ms │     no change │
│ QQuery 32 │   20.30 ms │                                     20.06 ms │     no change │
│ QQuery 33 │   37.22 ms │                                     37.16 ms │     no change │
│ QQuery 34 │    5.62 ms │                                      5.74 ms │     no change │
│ QQuery 35 │   72.36 ms │                                     70.01 ms │     no change │
│ QQuery 36 │    5.54 ms │                                      6.20 ms │  1.12x slower │
│ QQuery 37 │    6.96 ms │                                      7.85 ms │  1.13x slower │
│ QQuery 38 │   61.60 ms │                                     62.80 ms │     no change │
│ QQuery 39 │   73.89 ms │                                     71.98 ms │     no change │
│ QQuery 40 │   23.98 ms │                                     22.89 ms │     no change │
│ QQuery 41 │   13.05 ms │                                     14.60 ms │  1.12x slower │
│ QQuery 42 │   24.13 ms │                                     23.91 ms │     no change │
│ QQuery 43 │    4.61 ms │                                      4.75 ms │     no change │
│ QQuery 44 │    5.60 ms │                                      5.45 ms │     no change │
│ QQuery 45 │   37.74 ms │                                     35.76 ms │ +1.06x faster │
│ QQuery 46 │   11.97 ms │                                     11.48 ms │     no change │
│ QQuery 47 │  227.86 ms │                                    201.81 ms │ +1.13x faster │
│ QQuery 48 │   91.06 ms │                                     91.66 ms │     no change │
│ QQuery 49 │   69.76 ms │                                     69.88 ms │     no change │
│ QQuery 50 │   56.13 ms │                                     57.06 ms │     no change │
│ QQuery 51 │   92.57 ms │                                     94.79 ms │     no change │
│ QQuery 52 │   24.51 ms │                                     24.84 ms │     no change │
│ QQuery 53 │   29.44 ms │                                     30.77 ms │     no change │
│ QQuery 54 │   54.19 ms │                                     54.92 ms │     no change │
│ QQuery 55 │   23.97 ms │                                     24.16 ms │     no change │
│ QQuery 56 │   38.54 ms │                                     38.97 ms │     no change │
│ QQuery 57 │  168.25 ms │                                    153.18 ms │ +1.10x faster │
│ QQuery 58 │  108.02 ms │                                    105.27 ms │     no change │
│ QQuery 59 │  115.88 ms │                                    109.13 ms │ +1.06x faster │
│ QQuery 60 │   38.94 ms │                                     39.01 ms │     no change │
│ QQuery 61 │    9.18 ms │                                      9.55 ms │     no change │
│ QQuery 62 │   43.88 ms │                                     38.76 ms │ +1.13x faster │
│ QQuery 63 │   29.51 ms │                                     29.75 ms │     no change │
│ QQuery 64 │  353.97 ms │                                    370.74 ms │     no change │
│ QQuery 65 │   68.66 ms │                                     72.23 ms │  1.05x slower │
│ QQuery 66 │   75.31 ms │                                     74.48 ms │     no change │
│ QQuery 67 │  257.29 ms │                                    222.21 ms │ +1.16x faster │
│ QQuery 68 │    6.66 ms │                                      6.73 ms │     no change │
│ QQuery 69 │   56.09 ms │                                     54.49 ms │     no change │
│ QQuery 70 │  104.31 ms │                                     98.68 ms │ +1.06x faster │
│ QQuery 71 │   35.01 ms │                                     35.39 ms │     no change │
│ QQuery 72 │ 1615.86 ms │                                   1612.36 ms │     no change │
│ QQuery 73 │    5.37 ms │                                      5.41 ms │     no change │
│ QQuery 74 │  203.19 ms │                                    225.86 ms │  1.11x slower │
│ QQuery 75 │  139.91 ms │                                    139.02 ms │     no change │
│ QQuery 76 │   34.71 ms │                                     34.95 ms │     no change │
│ QQuery 77 │   60.14 ms │                                     59.85 ms │     no change │
│ QQuery 78 │  277.83 ms │                                    265.02 ms │     no change │
│ QQuery 79 │   67.11 ms │                                     67.40 ms │     no change │
│ QQuery 80 │   95.14 ms │                                     94.66 ms │     no change │
│ QQuery 81 │   26.46 ms │                                     28.40 ms │  1.07x slower │
│ QQuery 82 │   16.84 ms │                                     17.43 ms │     no change │
│ QQuery 83 │   33.07 ms │                                     33.20 ms │     no change │
│ QQuery 84 │   29.86 ms │                                     30.96 ms │     no change │
│ QQuery 85 │   97.66 ms │                                    100.32 ms │     no change │
│ QQuery 86 │   25.41 ms │                                     24.19 ms │     no change │
│ QQuery 87 │   62.80 ms │                                     63.62 ms │     no change │
│ QQuery 88 │   60.45 ms │                                     60.71 ms │     no change │
│ QQuery 89 │   35.16 ms │                                     35.73 ms │     no change │
│ QQuery 90 │   16.62 ms │                                     16.37 ms │     no change │
│ QQuery 91 │   40.99 ms │                                     39.94 ms │     no change │
│ QQuery 92 │   29.58 ms │                                     29.78 ms │     no change │
│ QQuery 93 │   49.97 ms │                                     49.13 ms │     no change │
│ QQuery 94 │   38.47 ms │                                     38.45 ms │     no change │
│ QQuery 95 │   79.01 ms │                                     78.36 ms │     no change │
│ QQuery 96 │   23.85 ms │                                     23.72 ms │     no change │
│ QQuery 97 │   50.55 ms │                                     50.28 ms │     no change │
│ QQuery 98 │   43.20 ms │                                     38.88 ms │ +1.11x faster │
│ QQuery 99 │   65.43 ms │                                     56.74 ms │ +1.15x faster │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 8937.98ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 9011.90ms │
│ Average Time (HEAD)                                         │   90.28ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   91.03ms │
│ Queries Faster                                              │        12 │
│ Queries Slower                                              │        11 │
│ Queries with No Change                                      │        76 │
│ Queries with Failure                                        │         0 │
└─────────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.34 / 6.03 ±1.00 / 8.00 ms │                  5.79 / 6.41 ±1.10 / 8.60 ms │  1.06x slower │
│ QQuery 2  │        80.36 / 80.71 ±0.23 / 80.98 ms │               77.41 / 77.80 ±0.29 / 78.22 ms │     no change │
│ QQuery 3  │        29.13 / 29.25 ±0.13 / 29.46 ms │               29.22 / 29.33 ±0.09 / 29.43 ms │     no change │
│ QQuery 4  │     457.56 / 462.97 ±3.28 / 466.94 ms │            550.97 / 558.75 ±6.38 / 566.66 ms │  1.21x slower │
│ QQuery 5  │        50.26 / 53.75 ±5.24 / 64.15 ms │               50.66 / 50.99 ±0.36 / 51.53 ms │ +1.05x faster │
│ QQuery 6  │        36.07 / 36.29 ±0.17 / 36.56 ms │               33.68 / 34.59 ±0.80 / 35.85 ms │     no change │
│ QQuery 7  │        72.36 / 72.77 ±0.29 / 73.19 ms │               71.70 / 73.85 ±2.65 / 78.74 ms │     no change │
│ QQuery 8  │        36.81 / 37.14 ±0.22 / 37.47 ms │               39.39 / 39.55 ±0.12 / 39.70 ms │  1.07x slower │
│ QQuery 9  │        52.61 / 56.72 ±4.29 / 64.76 ms │               51.87 / 53.98 ±1.84 / 56.91 ms │     no change │
│ QQuery 10 │        60.41 / 61.24 ±0.73 / 62.57 ms │               59.12 / 59.42 ±0.25 / 59.84 ms │     no change │
│ QQuery 11 │     288.76 / 292.63 ±3.69 / 298.92 ms │            351.86 / 356.86 ±5.33 / 365.43 ms │  1.22x slower │
│ QQuery 12 │        29.25 / 30.73 ±2.47 / 35.64 ms │               27.10 / 27.20 ±0.08 / 27.30 ms │ +1.13x faster │
│ QQuery 13 │     113.56 / 114.10 ±0.83 / 115.74 ms │            113.51 / 115.45 ±2.59 / 120.58 ms │     no change │
│ QQuery 14 │     379.22 / 384.52 ±3.97 / 388.82 ms │            378.76 / 381.68 ±2.23 / 385.36 ms │     no change │
│ QQuery 15 │        55.35 / 56.07 ±0.46 / 56.68 ms │               53.22 / 54.03 ±0.53 / 54.74 ms │     no change │
│ QQuery 16 │           6.09 / 6.27 ±0.15 / 6.54 ms │                  6.24 / 6.32 ±0.08 / 6.46 ms │     no change │
│ QQuery 17 │        76.08 / 77.47 ±1.39 / 79.86 ms │               77.56 / 78.93 ±1.55 / 80.95 ms │     no change │
│ QQuery 18 │     104.56 / 104.91 ±0.32 / 105.32 ms │            104.54 / 105.76 ±0.79 / 107.02 ms │     no change │
│ QQuery 19 │        40.98 / 41.39 ±0.30 / 41.90 ms │               41.63 / 41.96 ±0.28 / 42.34 ms │     no change │
│ QQuery 20 │        36.11 / 36.99 ±0.81 / 38.23 ms │               32.37 / 32.58 ±0.19 / 32.83 ms │ +1.14x faster │
│ QQuery 21 │        17.16 / 17.55 ±0.48 / 18.47 ms │               16.94 / 17.30 ±0.20 / 17.57 ms │     no change │
│ QQuery 22 │        63.90 / 64.92 ±0.82 / 66.11 ms │               66.45 / 66.85 ±0.24 / 67.12 ms │     no change │
│ QQuery 23 │     295.55 / 297.69 ±1.41 / 299.86 ms │            294.17 / 300.54 ±4.57 / 305.69 ms │     no change │
│ QQuery 24 │     196.45 / 201.12 ±5.21 / 210.74 ms │            196.77 / 198.96 ±2.06 / 201.95 ms │     no change │
│ QQuery 25 │     104.33 / 106.35 ±1.73 / 109.14 ms │            105.19 / 107.24 ±2.30 / 111.40 ms │     no change │
│ QQuery 26 │        45.79 / 46.39 ±0.32 / 46.74 ms │               45.05 / 45.40 ±0.20 / 45.61 ms │     no change │
│ QQuery 27 │           5.10 / 5.26 ±0.13 / 5.47 ms │                  5.34 / 5.54 ±0.18 / 5.85 ms │  1.05x slower │
│ QQuery 28 │        57.65 / 60.96 ±2.18 / 64.02 ms │               57.31 / 60.65 ±1.71 / 61.85 ms │     no change │
│ QQuery 29 │       91.72 / 94.45 ±3.00 / 100.26 ms │              93.65 / 98.51 ±5.80 / 109.34 ms │     no change │
│ QQuery 30 │        32.80 / 33.44 ±0.62 / 34.47 ms │               35.95 / 36.40 ±0.29 / 36.83 ms │  1.09x slower │
│ QQuery 31 │     108.48 / 109.23 ±0.97 / 111.11 ms │            108.63 / 110.61 ±1.78 / 113.76 ms │     no change │
│ QQuery 32 │        20.30 / 20.42 ±0.10 / 20.57 ms │               20.06 / 20.36 ±0.24 / 20.64 ms │     no change │
│ QQuery 33 │        37.22 / 37.66 ±0.36 / 38.18 ms │               37.16 / 37.37 ±0.11 / 37.50 ms │     no change │
│ QQuery 34 │           5.62 / 5.78 ±0.15 / 6.06 ms │                  5.74 / 5.92 ±0.21 / 6.33 ms │     no change │
│ QQuery 35 │        72.36 / 72.77 ±0.41 / 73.38 ms │               70.01 / 70.80 ±0.71 / 72.13 ms │     no change │
│ QQuery 36 │           5.54 / 5.70 ±0.22 / 6.14 ms │                  6.20 / 6.37 ±0.19 / 6.73 ms │  1.12x slower │
│ QQuery 37 │           6.96 / 7.12 ±0.10 / 7.27 ms │                  7.85 / 7.96 ±0.09 / 8.11 ms │  1.12x slower │
│ QQuery 38 │        61.60 / 62.00 ±0.36 / 62.50 ms │               62.80 / 65.40 ±2.06 / 68.55 ms │  1.05x slower │
│ QQuery 39 │        73.89 / 76.34 ±4.17 / 84.66 ms │               71.98 / 72.84 ±0.85 / 74.21 ms │     no change │
│ QQuery 40 │        23.98 / 24.93 ±0.65 / 25.61 ms │               22.89 / 23.43 ±0.40 / 23.93 ms │ +1.06x faster │
│ QQuery 41 │        13.05 / 13.26 ±0.17 / 13.47 ms │               14.60 / 14.76 ±0.12 / 14.94 ms │  1.11x slower │
│ QQuery 42 │        24.13 / 25.19 ±0.97 / 26.97 ms │               23.91 / 24.22 ±0.32 / 24.80 ms │     no change │
│ QQuery 43 │           4.61 / 4.75 ±0.22 / 5.18 ms │                  4.75 / 4.85 ±0.18 / 5.21 ms │     no change │
│ QQuery 44 │           5.60 / 5.68 ±0.07 / 5.78 ms │                 5.45 / 6.54 ±2.01 / 10.57 ms │  1.15x slower │
│ QQuery 45 │        37.74 / 38.58 ±0.72 / 39.89 ms │               35.76 / 37.26 ±1.85 / 40.90 ms │     no change │
│ QQuery 46 │        11.97 / 12.28 ±0.20 / 12.55 ms │               11.48 / 11.85 ±0.26 / 12.16 ms │     no change │
│ QQuery 47 │     227.86 / 231.13 ±2.83 / 235.76 ms │            201.81 / 208.04 ±4.43 / 214.19 ms │ +1.11x faster │
│ QQuery 48 │        91.06 / 92.27 ±0.79 / 93.49 ms │               91.66 / 92.06 ±0.28 / 92.37 ms │     no change │
│ QQuery 49 │        69.76 / 70.59 ±0.78 / 71.77 ms │               69.88 / 71.64 ±2.57 / 76.70 ms │     no change │
│ QQuery 50 │        56.13 / 58.76 ±4.26 / 67.26 ms │               57.06 / 57.50 ±0.41 / 58.21 ms │     no change │
│ QQuery 51 │        92.57 / 95.87 ±2.26 / 98.19 ms │               94.79 / 95.49 ±0.43 / 96.03 ms │     no change │
│ QQuery 52 │        24.51 / 24.74 ±0.34 / 25.41 ms │               24.84 / 26.67 ±3.54 / 33.74 ms │  1.08x slower │
│ QQuery 53 │        29.44 / 29.79 ±0.20 / 30.04 ms │               30.77 / 31.58 ±1.24 / 34.02 ms │  1.06x slower │
│ QQuery 54 │        54.19 / 56.13 ±3.41 / 62.94 ms │               54.92 / 55.80 ±0.47 / 56.30 ms │     no change │
│ QQuery 55 │        23.97 / 24.29 ±0.28 / 24.78 ms │               24.16 / 24.59 ±0.27 / 24.91 ms │     no change │
│ QQuery 56 │        38.54 / 38.85 ±0.30 / 39.39 ms │               38.97 / 39.67 ±0.48 / 40.47 ms │     no change │
│ QQuery 57 │     168.25 / 170.18 ±1.86 / 173.27 ms │            153.18 / 155.47 ±2.67 / 160.27 ms │ +1.09x faster │
│ QQuery 58 │     108.02 / 108.75 ±0.70 / 109.72 ms │            105.27 / 107.12 ±1.88 / 110.62 ms │     no change │
│ QQuery 59 │     115.88 / 116.44 ±0.51 / 117.32 ms │            109.13 / 110.43 ±1.18 / 112.14 ms │ +1.05x faster │
│ QQuery 60 │        38.94 / 39.58 ±0.52 / 40.12 ms │               39.01 / 39.45 ±0.35 / 40.07 ms │     no change │
│ QQuery 61 │           9.18 / 9.27 ±0.10 / 9.45 ms │                  9.55 / 9.63 ±0.08 / 9.76 ms │     no change │
│ QQuery 62 │        43.88 / 44.22 ±0.21 / 44.44 ms │               38.76 / 39.99 ±1.82 / 43.55 ms │ +1.11x faster │
│ QQuery 63 │        29.51 / 29.77 ±0.17 / 29.98 ms │               29.75 / 30.33 ±0.53 / 30.98 ms │     no change │
│ QQuery 64 │     353.97 / 359.75 ±5.08 / 367.70 ms │            370.74 / 377.77 ±4.69 / 384.63 ms │  1.05x slower │
│ QQuery 65 │        68.66 / 70.03 ±1.20 / 71.67 ms │               72.23 / 73.80 ±1.36 / 75.44 ms │  1.05x slower │
│ QQuery 66 │        75.31 / 75.68 ±0.25 / 75.95 ms │               74.48 / 75.03 ±0.66 / 76.12 ms │     no change │
│ QQuery 67 │     257.29 / 262.65 ±4.05 / 267.29 ms │            222.21 / 227.56 ±4.56 / 235.44 ms │ +1.15x faster │
│ QQuery 68 │           6.66 / 6.79 ±0.11 / 6.96 ms │                  6.73 / 6.89 ±0.18 / 7.24 ms │     no change │
│ QQuery 69 │        56.09 / 58.89 ±4.43 / 67.72 ms │               54.49 / 58.03 ±4.55 / 66.51 ms │     no change │
│ QQuery 70 │     104.31 / 105.24 ±1.05 / 107.28 ms │             98.68 / 100.35 ±1.34 / 102.33 ms │     no change │
│ QQuery 71 │        35.01 / 35.46 ±0.45 / 36.26 ms │               35.39 / 35.71 ±0.22 / 36.00 ms │     no change │
│ QQuery 72 │ 1615.86 / 1651.98 ±27.13 / 1693.12 ms │        1612.36 / 1649.41 ±25.14 / 1679.96 ms │     no change │
│ QQuery 73 │           5.37 / 5.52 ±0.14 / 5.75 ms │                  5.41 / 5.53 ±0.21 / 5.95 ms │     no change │
│ QQuery 74 │     203.19 / 205.02 ±1.67 / 207.80 ms │            225.86 / 230.06 ±3.65 / 236.49 ms │  1.12x slower │
│ QQuery 75 │     139.91 / 140.24 ±0.28 / 140.59 ms │            139.02 / 142.22 ±5.44 / 153.06 ms │     no change │
│ QQuery 76 │        34.71 / 34.90 ±0.11 / 35.03 ms │               34.95 / 35.59 ±0.42 / 36.20 ms │     no change │
│ QQuery 77 │        60.14 / 63.61 ±5.68 / 74.91 ms │               59.85 / 60.45 ±0.37 / 60.97 ms │     no change │
│ QQuery 78 │     277.83 / 287.16 ±7.74 / 299.34 ms │            265.02 / 273.55 ±6.27 / 281.14 ms │     no change │
│ QQuery 79 │        67.11 / 70.91 ±6.68 / 84.27 ms │               67.40 / 70.60 ±4.48 / 79.48 ms │     no change │
│ QQuery 80 │       95.14 / 96.83 ±1.78 / 100.26 ms │               94.66 / 95.96 ±1.18 / 98.16 ms │     no change │
│ QQuery 81 │        26.46 / 26.76 ±0.19 / 26.96 ms │               28.40 / 28.60 ±0.11 / 28.70 ms │  1.07x slower │
│ QQuery 82 │        16.84 / 17.14 ±0.29 / 17.66 ms │               17.43 / 18.03 ±0.66 / 19.14 ms │  1.05x slower │
│ QQuery 83 │        33.07 / 33.47 ±0.26 / 33.88 ms │               33.20 / 36.62 ±4.72 / 45.60 ms │  1.09x slower │
│ QQuery 84 │        29.86 / 32.67 ±4.87 / 42.40 ms │               30.96 / 31.19 ±0.28 / 31.73 ms │     no change │
│ QQuery 85 │        97.66 / 98.64 ±0.65 / 99.53 ms │            100.32 / 101.96 ±1.12 / 103.47 ms │     no change │
│ QQuery 86 │        25.41 / 25.82 ±0.22 / 26.04 ms │               24.19 / 24.46 ±0.17 / 24.71 ms │ +1.06x faster │
│ QQuery 87 │        62.80 / 63.22 ±0.47 / 63.99 ms │               63.62 / 65.02 ±2.48 / 69.97 ms │     no change │
│ QQuery 88 │        60.45 / 61.16 ±1.28 / 63.72 ms │               60.71 / 61.12 ±0.31 / 61.60 ms │     no change │
│ QQuery 89 │        35.16 / 35.55 ±0.46 / 36.38 ms │               35.73 / 36.04 ±0.35 / 36.66 ms │     no change │
│ QQuery 90 │        16.62 / 16.70 ±0.13 / 16.96 ms │               16.37 / 16.49 ±0.06 / 16.54 ms │     no change │
│ QQuery 91 │        40.99 / 41.16 ±0.17 / 41.38 ms │               39.94 / 40.18 ±0.18 / 40.42 ms │     no change │
│ QQuery 92 │        29.58 / 29.73 ±0.11 / 29.86 ms │               29.78 / 31.66 ±1.79 / 33.88 ms │  1.06x slower │
│ QQuery 93 │        49.97 / 50.56 ±0.45 / 51.07 ms │               49.13 / 50.04 ±0.71 / 51.29 ms │     no change │
│ QQuery 94 │        38.47 / 39.24 ±0.70 / 40.31 ms │               38.45 / 38.86 ±0.42 / 39.65 ms │     no change │
│ QQuery 95 │        79.01 / 80.01 ±0.68 / 81.02 ms │               78.36 / 79.16 ±0.56 / 79.88 ms │     no change │
│ QQuery 96 │        23.85 / 24.00 ±0.11 / 24.14 ms │               23.72 / 25.78 ±3.42 / 32.60 ms │  1.07x slower │
│ QQuery 97 │        50.55 / 52.27 ±1.46 / 54.43 ms │               50.28 / 51.48 ±1.59 / 54.54 ms │     no change │
│ QQuery 98 │        43.20 / 44.05 ±0.53 / 44.67 ms │               38.88 / 39.33 ±0.41 / 40.08 ms │ +1.12x faster │
│ QQuery 99 │        65.43 / 65.58 ±0.18 / 65.91 ms │               56.74 / 57.37 ±0.47 / 58.07 ms │ +1.14x faster │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 9100.77ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 9190.71ms │
│ Average Time (HEAD)                                         │   91.93ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   92.84ms │
│ Queries Faster                                              │        12 │
│ Queries Slower                                              │        21 │
│ Queries with No Change                                      │        66 │
│ 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: c37a2aada6b21adc699c3fd6d1ddb648c130ec84 | Changed: c37a2aada6b21adc699c3fd6d1ddb648c130ec84

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 135.4 KiB 135.4 KiB +0.0%
Query 2 90.5 MiB 72.7 MiB -19.7%
Query 3 3.5 MiB 1.7 MiB -51.9%
Query 4 119.5 MiB 85.5 MiB -28.5%
Query 5 14.7 MiB 13.0 MiB -11.8%
Query 6 7.8 MiB 4.7 MiB -40.1%
Query 7 9.6 MiB 3.8 MiB -60.4%
Query 8 3.6 MiB 2.1 MiB -41.8%
Query 9 32.1 KiB 32.1 KiB +0.0%
Query 10 3.1 MiB 2.0 MiB -34.7%
Query 11 84.0 MiB 58.1 MiB -30.8%
Query 12 131.1 MiB 114.4 MiB -12.8%
Query 13 17.6 MiB 13.0 MiB -26.1%
Query 14 170.9 MiB 170.9 MiB +0.0%
Query 15 7.1 MiB 4.2 MiB -41.1%
Query 16 161.5 KiB 118.6 KiB -26.6%
Query 17 39.7 MiB 39.6 MiB -0.4%
Query 18 21.0 MiB 21.2 MiB +1.2%
Query 19 5.9 MiB 2.2 MiB -63.6%
Query 20 131.3 MiB 114.6 MiB -12.7%
Query 21 4.5 MiB 4.0 MiB -11.2%
Query 22 93.4 MiB 61.8 MiB -33.9%
Query 23 217.1 MiB 212.0 MiB -2.3%
Query 24 45.9 MiB 36.4 MiB -20.6%
Query 25 84.3 MiB 85.6 MiB +1.6%
Query 26 10.2 MiB 5.8 MiB -43.0%
Query 27 987.6 KiB 929.3 KiB -5.9%
Query 28 1.5 MiB 1.3 MiB -9.1%
Query 29 96.9 MiB 97.2 MiB +0.3%
Query 30 7.2 MiB 3.8 MiB -47.3%
Query 31 18.0 MiB 13.4 MiB -25.5%
Query 32 2.7 MiB 2.7 MiB +0.0%
Query 33 5.9 MiB 4.0 MiB -31.6%
Query 34 96.3 KiB 96.3 KiB +0.0%
Query 35 25.5 MiB 13.8 MiB -45.7%
Query 36 10.6 MiB 10.3 MiB -2.4%
Query 37 3.8 MiB 3.3 MiB -12.9%
Query 38 19.4 MiB 10.4 MiB -46.1%
Query 39 41.5 MiB 42.9 MiB +3.2%
Query 40 13.9 MiB 11.2 MiB -19.6%
Query 41 2.1 MiB 2.1 MiB -3.8%
Query 42 1.7 MiB 1.3 MiB -23.0%
Query 43 192.4 KiB 275.0 KiB +42.9%
Query 44 192.4 KiB 97.6 KiB -49.3%
Query 45 8.0 MiB 4.7 MiB -41.2%
Query 46 9.4 MiB 5.4 MiB -42.4%
Query 47 157.3 MiB 141.4 MiB -10.1%
Query 48 15.6 MiB 11.7 MiB -24.9%
Query 49 71.1 MiB 52.8 MiB -25.8%
Query 50 14.9 MiB 16.5 MiB +10.6%
Query 51 177.9 MiB 177.7 MiB -0.1%
Query 52 3.3 MiB 2.0 MiB -40.8%
Query 53 20.4 MiB 30.6 MiB +49.7%
Query 54 4.1 MiB 2.0 MiB -52.3%
Query 55 3.0 MiB 1.7 MiB -42.1%
Query 56 5.0 MiB 2.9 MiB -40.5%
Query 57 141.0 MiB 132.3 MiB -6.1%
Query 58 6.3 MiB 3.9 MiB -38.3%
Query 59 14.9 MiB 11.6 MiB -21.9%
Query 60 7.0 MiB 5.7 MiB -18.8%
Query 61 2.3 KiB 2.4 KiB +3.4%
Query 62 7.0 MiB 3.0 MiB -57.6%
Query 63 30.4 MiB 20.4 MiB -32.9%
Query 64 130.3 MiB 115.3 MiB -11.6%
Query 65 29.4 MiB 29.7 MiB +1.1%
Query 66 16.0 MiB 11.9 MiB -25.8%
Query 67 517.2 MiB 138.1 MiB -73.3%
Query 68 96.4 KiB 218.2 KiB +126.5%
Query 69 46.7 MiB 4.0 MiB -91.4%
Query 70 53.7 MiB 41.7 MiB -22.4%
Query 71 70.5 MiB 60.6 MiB -14.0%
Query 72 91.1 MiB 91.2 MiB +0.1%
Query 73 96.3 KiB 96.3 KiB +0.0%
Query 74 48.9 MiB 35.5 MiB -27.5%
Query 75 22.5 MiB 23.1 MiB +2.6%
Query 76 6.3 MiB 4.4 MiB -30.4%
Query 77 3.9 MiB 4.4 MiB +13.3%
Query 78 316.9 MiB 316.9 MiB +0.0%
Query 79 11.6 MiB 9.3 MiB -19.5%
Query 80 42.8 MiB 42.8 MiB +0.1%
Query 81 11.4 MiB 4.1 MiB -63.8%
Query 82 3.8 MiB 4.9 MiB +30.2%
Query 83 11.7 MiB 8.1 MiB -30.6%
Query 84 12.0 MiB 11.7 MiB -3.0%
Query 85 21.9 MiB 17.0 MiB -22.3%
Query 86 104.8 MiB 91.9 MiB -12.3%
Query 87 20.6 MiB 12.9 MiB -37.4%
Query 88 1.6 MiB 1.5 MiB -10.4%
Query 89 129.1 MiB 112.2 MiB -13.1%
Query 90 348.6 KiB 348.6 KiB +0.0%
Query 91 22.9 MiB 31.2 MiB +36.6%
Query 92 2.7 MiB 2.7 MiB +0.0%
Query 93 15.1 MiB 15.4 MiB +1.7%
Query 94 3.4 MiB 3.4 MiB -0.0%
Query 95 19.4 MiB 19.4 MiB +0.0%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB -0.2%
Query 98 131.5 MiB 124.4 MiB -5.4%
Query 99 7.1 MiB 1.9 MiB -73.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 (c37a2aada6b21adc699c3fd6d1ddb648c130ec84) 517.2 MiB 2.1 GiB 1.6 GiB 4.1×
tpcds changed (c37a2aada6b21adc699c3fd6d1ddb648c130ec84) 316.9 MiB 2.1 GiB 1.8 GiB 6.7×
Resource Usage

tpcds — base (merge-base)

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

tpcds — branch

Metric Value
Wall time 50.0s
Peak memory 2.1 GiB
Avg memory 1.4 GiB
CPU user 187.6s
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 c37a2aa (c37a2aa) to c37a2aa diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_SCHEMA_FORCE_VIEW_TYPES: "true"
  DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
changed:
  ref: "c37a2aada6b21adc699c3fd6d1ddb648c130ec84"
  env:
    DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"
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_wip-cost-based-parquet-dictionary
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.15 ms │                                      1.08 ms │ +1.07x faster │
│ QQuery 1  │   11.57 ms │                                     11.07 ms │     no change │
│ QQuery 2  │   34.79 ms │                                     34.49 ms │     no change │
│ QQuery 3  │   31.19 ms │                                     30.52 ms │     no change │
│ QQuery 4  │  234.04 ms │                                    233.86 ms │     no change │
│ QQuery 5  │  270.52 ms │                                    658.41 ms │  2.43x slower │
│ QQuery 6  │    1.21 ms │                                      1.13 ms │ +1.07x faster │
│ QQuery 7  │   12.92 ms │                                     12.41 ms │     no change │
│ QQuery 8  │  324.80 ms │                                    326.52 ms │     no change │
│ QQuery 9  │  457.36 ms │                                    458.57 ms │     no change │
│ QQuery 10 │   64.07 ms │                                    199.91 ms │  3.12x slower │
│ QQuery 11 │   75.44 ms │                                    211.20 ms │  2.80x slower │
│ QQuery 12 │  258.48 ms │                                    675.16 ms │  2.61x slower │
│ QQuery 13 │  352.34 ms │                                    915.27 ms │  2.60x slower │
│ QQuery 14 │  278.41 ms │                                    718.05 ms │  2.58x slower │
│ QQuery 15 │  280.30 ms │                                    280.77 ms │     no change │
│ QQuery 16 │  602.24 ms │                                   1207.02 ms │  2.00x slower │
│ QQuery 17 │  608.95 ms │                                   1162.30 ms │  1.91x slower │
│ QQuery 18 │ 1193.98 ms │                                   1888.86 ms │  1.58x slower │
│ QQuery 19 │   27.66 ms │                                     26.83 ms │     no change │
│ QQuery 20 │  516.70 ms │                                   1047.72 ms │  2.03x slower │
│ QQuery 21 │  509.09 ms │                                   1367.79 ms │  2.69x slower │
│ QQuery 22 │  981.28 ms │                                   3239.62 ms │  3.30x slower │
│ QQuery 23 │ 3029.78 ms │                                   9347.46 ms │  3.09x slower │
│ QQuery 24 │   41.07 ms │                                     97.69 ms │  2.38x slower │
│ QQuery 25 │  104.63 ms │                                    353.23 ms │  3.38x slower │
│ QQuery 26 │   41.25 ms │                                     97.20 ms │  2.36x slower │
│ QQuery 27 │  510.26 ms │                                   1124.99 ms │  2.20x slower │
│ QQuery 28 │ 2783.65 ms │                                   2498.26 ms │ +1.11x faster │
│ QQuery 29 │   37.53 ms │                                     37.84 ms │     no change │
│ QQuery 30 │  305.65 ms │                                    541.89 ms │  1.77x slower │
│ QQuery 31 │  282.06 ms │                                    526.38 ms │  1.87x slower │
│ QQuery 32 │  921.01 ms │                                   1057.48 ms │  1.15x slower │
│ QQuery 33 │ 1419.57 ms │                                   2944.10 ms │  2.07x slower │
│ QQuery 34 │ 1454.93 ms │                                   3080.22 ms │  2.12x slower │
│ QQuery 35 │  288.19 ms │                                    299.79 ms │     no change │
│ QQuery 36 │   63.70 ms │                                    120.29 ms │  1.89x slower │
│ QQuery 37 │   33.52 ms │                                     94.05 ms │  2.81x slower │
│ QQuery 38 │   39.96 ms │                                     77.82 ms │  1.95x slower │
│ QQuery 39 │  138.64 ms │                                    269.36 ms │  1.94x slower │
│ QQuery 40 │   13.15 ms │                                     13.54 ms │     no change │
│ QQuery 41 │   12.34 ms │                                     12.88 ms │     no change │
│ QQuery 42 │   11.89 ms │                                     12.91 ms │  1.09x slower │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 18661.25ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 37315.95ms │
│ Average Time (HEAD)                                         │   433.98ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   867.81ms │
│ Queries Faster                                              │          3 │
│ Queries Slower                                              │         27 │
│ Queries with No Change                                      │         13 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           1.15 / 1.76 ±1.12 / 4.00 ms │                  1.08 / 1.66 ±1.08 / 3.82 ms │ +1.06x faster │
│ QQuery 1  │        11.57 / 11.75 ±0.12 / 11.89 ms │               11.07 / 11.27 ±0.15 / 11.50 ms │     no change │
│ QQuery 2  │        34.79 / 35.31 ±0.36 / 35.86 ms │               34.49 / 34.84 ±0.38 / 35.32 ms │     no change │
│ QQuery 3  │        31.19 / 32.05 ±0.74 / 33.04 ms │               30.52 / 31.99 ±1.09 / 33.39 ms │     no change │
│ QQuery 4  │     234.04 / 236.19 ±1.45 / 238.43 ms │            233.86 / 238.51 ±4.58 / 244.61 ms │     no change │
│ QQuery 5  │     270.52 / 273.68 ±2.99 / 278.86 ms │            658.41 / 670.41 ±6.39 / 676.41 ms │  2.45x slower │
│ QQuery 6  │           1.21 / 1.36 ±0.25 / 1.85 ms │                  1.13 / 1.29 ±0.24 / 1.76 ms │ +1.06x faster │
│ QQuery 7  │        12.92 / 13.30 ±0.21 / 13.58 ms │               12.41 / 12.53 ±0.07 / 12.59 ms │ +1.06x faster │
│ QQuery 8  │     324.80 / 328.90 ±4.05 / 334.97 ms │            326.52 / 330.79 ±4.62 / 338.78 ms │     no change │
│ QQuery 9  │     457.36 / 467.28 ±8.97 / 481.23 ms │            458.57 / 468.40 ±7.59 / 477.08 ms │     no change │
│ QQuery 10 │        64.07 / 65.26 ±1.06 / 66.64 ms │            199.91 / 201.30 ±1.14 / 202.78 ms │  3.08x slower │
│ QQuery 11 │        75.44 / 77.61 ±2.57 / 82.61 ms │            211.20 / 212.00 ±0.96 / 213.84 ms │  2.73x slower │
│ QQuery 12 │     258.48 / 263.07 ±2.77 / 266.17 ms │           675.16 / 686.52 ±10.91 / 700.57 ms │  2.61x slower │
│ QQuery 13 │     352.34 / 365.23 ±9.37 / 375.63 ms │           915.27 / 939.39 ±16.93 / 965.54 ms │  2.57x slower │
│ QQuery 14 │     278.41 / 285.30 ±7.56 / 296.68 ms │           718.05 / 735.39 ±17.14 / 764.89 ms │  2.58x slower │
│ QQuery 15 │    280.30 / 299.04 ±18.54 / 333.82 ms │           280.77 / 289.75 ±10.39 / 308.78 ms │     no change │
│ QQuery 16 │     602.24 / 614.78 ±6.32 / 619.40 ms │        1207.02 / 1226.96 ±14.99 / 1253.43 ms │  2.00x slower │
│ QQuery 17 │     608.95 / 618.17 ±5.00 / 623.83 ms │        1162.30 / 1178.00 ±16.55 / 1198.36 ms │  1.91x slower │
│ QQuery 18 │ 1193.98 / 1217.35 ±17.61 / 1239.24 ms │        1888.86 / 1913.45 ±21.87 / 1954.15 ms │  1.57x slower │
│ QQuery 19 │        27.66 / 35.13 ±8.45 / 49.11 ms │               26.83 / 31.33 ±7.70 / 46.70 ms │ +1.12x faster │
│ QQuery 20 │     516.70 / 531.79 ±9.05 / 542.06 ms │         1047.72 / 1059.99 ±7.16 / 1068.15 ms │  1.99x slower │
│ QQuery 21 │    509.09 / 524.31 ±16.02 / 550.21 ms │         1367.79 / 1372.72 ±4.95 / 1380.98 ms │  2.62x slower │
│ QQuery 22 │    981.28 / 991.15 ±6.58 / 1000.28 ms │        3239.62 / 3288.40 ±41.01 / 3339.22 ms │  3.32x slower │
│ QQuery 23 │ 3029.78 / 3077.86 ±29.77 / 3123.33 ms │       9347.46 / 9496.87 ±106.23 / 9655.94 ms │  3.09x slower │
│ QQuery 24 │        41.07 / 42.94 ±2.51 / 47.72 ms │            97.69 / 106.84 ±15.04 / 136.80 ms │  2.49x slower │
│ QQuery 25 │     104.63 / 106.06 ±0.94 / 107.11 ms │            353.23 / 356.65 ±4.66 / 365.78 ms │  3.36x slower │
│ QQuery 26 │        41.25 / 41.75 ±0.51 / 42.64 ms │             97.20 / 100.45 ±3.04 / 105.96 ms │  2.41x slower │
│ QQuery 27 │     510.26 / 518.97 ±4.49 / 522.47 ms │         1124.99 / 1134.44 ±7.53 / 1141.74 ms │  2.19x slower │
│ QQuery 28 │ 2783.65 / 2807.37 ±17.00 / 2826.92 ms │        2498.26 / 2522.69 ±13.34 / 2536.66 ms │ +1.11x faster │
│ QQuery 29 │        37.53 / 38.12 ±0.65 / 39.35 ms │               37.84 / 39.51 ±2.46 / 44.34 ms │     no change │
│ QQuery 30 │    305.65 / 320.35 ±14.15 / 343.69 ms │            541.89 / 549.52 ±6.76 / 561.29 ms │  1.72x slower │
│ QQuery 31 │    282.06 / 293.18 ±11.01 / 312.68 ms │            526.38 / 540.20 ±8.75 / 552.70 ms │  1.84x slower │
│ QQuery 32 │   921.01 / 957.51 ±30.00 / 1012.41 ms │        1057.48 / 1109.53 ±44.57 / 1178.94 ms │  1.16x slower │
│ QQuery 33 │ 1419.57 / 1448.73 ±21.39 / 1483.82 ms │       2944.10 / 3065.39 ±126.88 / 3298.43 ms │  2.12x slower │
│ QQuery 34 │ 1454.93 / 1507.73 ±29.60 / 1538.97 ms │       3080.22 / 3221.04 ±148.52 / 3498.82 ms │  2.14x slower │
│ QQuery 35 │    288.19 / 321.84 ±45.18 / 409.99 ms │            299.79 / 309.81 ±9.14 / 322.86 ms │     no change │
│ QQuery 36 │        63.70 / 65.79 ±2.44 / 69.81 ms │            120.29 / 131.91 ±9.32 / 145.79 ms │  2.00x slower │
│ QQuery 37 │       33.52 / 43.06 ±12.72 / 67.86 ms │              94.05 / 98.20 ±4.37 / 103.67 ms │  2.28x slower │
│ QQuery 38 │        39.96 / 42.18 ±1.78 / 44.32 ms │               77.82 / 82.37 ±5.84 / 93.40 ms │  1.95x slower │
│ QQuery 39 │     138.64 / 147.25 ±6.93 / 157.32 ms │            269.36 / 278.19 ±6.51 / 286.70 ms │  1.89x slower │
│ QQuery 40 │        13.15 / 16.05 ±3.72 / 22.54 ms │               13.54 / 16.26 ±3.03 / 22.10 ms │     no change │
│ QQuery 41 │        12.34 / 12.66 ±0.35 / 13.30 ms │               12.88 / 13.18 ±0.19 / 13.43 ms │     no change │
│ QQuery 42 │        11.89 / 12.05 ±0.10 / 12.17 ms │               12.91 / 16.68 ±6.86 / 30.38 ms │  1.38x slower │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 19111.21ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 38126.64ms │
│ Average Time (HEAD)                                         │   444.45ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   886.67ms │
│ Queries Faster                                              │          5 │
│ Queries Slower                                              │         27 │
│ Queries with No Change                                      │         11 │
│ 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: c37a2aada6b21adc699c3fd6d1ddb648c130ec84 | Changed: c37a2aada6b21adc699c3fd6d1ddb648c130ec84

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 830.9 MiB 830.5 MiB -0.0%
Query 5 1.2 GiB 1.4 GiB +17.5%
Query 6 0 B 0 B 0.0%
Query 7 50.3 MiB 50.1 MiB -0.5%
Query 8 940.2 MiB 968.5 MiB +3.0%
Query 9 594.0 MiB 594.0 MiB +0.0%
Query 10 120.2 MiB 72.1 MiB -40.0%
Query 11 115.0 MiB 76.4 MiB -33.6%
Query 12 1.3 GiB 1.5 GiB +12.5%
Query 13 1.6 GiB 1.6 GiB +2.9%
Query 14 1.3 GiB 1.6 GiB +22.2%
Query 15 1.2 GiB 1.2 GiB -3.5%
Query 16 3.4 GiB 3.2 GiB -4.5%
Query 17 3.3 GiB 3.3 GiB -1.8%
Query 18 8.4 GiB 7.2 GiB -14.5%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 3.7 MiB 1.6 MiB -57.9%
Query 22 3.4 MiB 2.4 MiB -30.3%
Query 23 33.9 MiB 12.7 MiB -62.7%
Query 24 59.3 MiB 5.1 MiB -91.4%
Query 25 164.8 MiB 6.5 MiB -96.1%
Query 26 60.3 MiB 6.9 MiB -88.5%
Query 27 2.5 MiB 2.5 MiB +0.0%
Query 28 1.8 GiB 1.8 GiB +4.0%
Query 29 624 B 624 B +0.0%
Query 30 687.7 MiB 626.3 MiB -8.9%
Query 31 1.5 GiB 1.6 GiB +4.6%
Query 32 7.1 GiB 7.2 GiB +0.5%
Query 33 8.0 GiB 9.9 GiB +24.5%
Query 34 7.7 GiB 9.7 GiB +25.0%
Query 35 671.3 MiB 664.8 MiB -1.0%
Query 36 111.6 MiB 100.4 MiB -10.0%
Query 37 6.6 MiB 7.1 MiB +7.1%
Query 38 5.4 MiB 5.1 MiB -4.4%
Query 39 308.8 MiB 213.0 MiB -31.0%
Query 40 2.3 MiB 2.5 MiB +7.2%
Query 41 3.1 MiB 3.3 MiB +9.1%
Query 42 1.7 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 (c37a2aada6b21adc699c3fd6d1ddb648c130ec84) 8.4 GiB 12.2 GiB 3.9 GiB 1.5×
clickbench_partitioned changed (c37a2aada6b21adc699c3fd6d1ddb648c130ec84) 9.9 GiB 12.9 GiB 3.0 GiB 1.3×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 12.2 GiB
Avg memory 4.5 GiB
CPU user 976.7s
CPU sys 70.2s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 195.0s
Peak memory 12.9 GiB
Avg memory 5.6 GiB
CPU user 1932.8s
CPU sys 123.8s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/wip-cost-based-parquet-dictionary branch from c37a2aa to 39710ae Compare November 16, 2026 16:17
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark tpch tpcds clickbench_partitioned

env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: arm64

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6922069270-5216-fbsw6 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 39710ae (39710ae) to c177f57 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"

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-c6922069270-5217-th7hh 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 39710ae (39710ae) to c177f57 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"

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-c6922069270-5218-6gzts 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 39710ae (39710ae) to c177f57 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"

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 39710ae (39710ae) to c177f57 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"
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_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 41.01 ms │                                     41.46 ms │     no change │
│ QQuery 2  │ 18.50 ms │                                     18.54 ms │     no change │
│ QQuery 3  │ 28.65 ms │                                     28.79 ms │     no change │
│ QQuery 4  │ 17.79 ms │                                     17.79 ms │     no change │
│ QQuery 5  │ 35.67 ms │                                     35.90 ms │     no change │
│ QQuery 6  │ 13.90 ms │                                     13.95 ms │     no change │
│ QQuery 7  │ 41.67 ms │                                     42.35 ms │     no change │
│ QQuery 8  │ 40.59 ms │                                     40.91 ms │     no change │
│ QQuery 9  │ 48.89 ms │                                     50.36 ms │     no change │
│ QQuery 10 │ 40.42 ms │                                     40.95 ms │     no change │
│ QQuery 11 │ 13.59 ms │                                     13.85 ms │     no change │
│ QQuery 12 │ 17.83 ms │                                     18.18 ms │     no change │
│ QQuery 13 │ 40.06 ms │                                     40.25 ms │     no change │
│ QQuery 14 │ 24.28 ms │                                     24.63 ms │     no change │
│ QQuery 15 │ 31.19 ms │                                     31.57 ms │     no change │
│ QQuery 16 │ 13.63 ms │                                     13.69 ms │     no change │
│ QQuery 17 │ 67.59 ms │                                     69.29 ms │     no change │
│ QQuery 18 │ 40.29 ms │                                     41.04 ms │     no change │
│ QQuery 19 │ 31.91 ms │                                     30.26 ms │ +1.05x faster │
│ QQuery 20 │ 31.88 ms │                                     32.15 ms │     no change │
│ QQuery 21 │ 56.23 ms │                                     54.54 ms │     no change │
│ QQuery 22 │ 13.97 ms │                                     14.20 ms │     no change │
└───────────┴──────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 709.54ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 714.65ms │
│ Average Time (HEAD)                                         │  32.25ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │  32.48ms │
│ Queries Faster                                              │        1 │
│ Queries Slower                                              │        0 │
│ Queries with No Change                                      │       21 │
│ Queries with Failure                                        │        0 │
└─────────────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 41.01 / 41.76 ±1.20 / 44.13 ms │               41.46 / 42.08 ±1.04 / 44.15 ms │ no change │
│ QQuery 2  │ 18.50 / 18.74 ±0.17 / 18.99 ms │               18.54 / 19.04 ±0.55 / 20.06 ms │ no change │
│ QQuery 3  │ 28.65 / 29.04 ±0.31 / 29.49 ms │               28.79 / 29.08 ±0.18 / 29.28 ms │ no change │
│ QQuery 4  │ 17.79 / 18.43 ±0.77 / 19.43 ms │               17.79 / 18.28 ±0.51 / 19.24 ms │ no change │
│ QQuery 5  │ 35.67 / 35.87 ±0.14 / 36.04 ms │               35.90 / 36.00 ±0.05 / 36.07 ms │ no change │
│ QQuery 6  │ 13.90 / 14.33 ±0.70 / 15.72 ms │               13.95 / 14.05 ±0.08 / 14.14 ms │ no change │
│ QQuery 7  │ 41.67 / 43.26 ±1.97 / 47.11 ms │               42.35 / 43.83 ±0.98 / 45.02 ms │ no change │
│ QQuery 8  │ 40.59 / 41.49 ±0.94 / 43.09 ms │               40.91 / 41.21 ±0.26 / 41.70 ms │ no change │
│ QQuery 9  │ 48.89 / 49.79 ±0.69 / 50.60 ms │               50.36 / 51.17 ±0.64 / 52.14 ms │ no change │
│ QQuery 10 │ 40.42 / 41.12 ±1.12 / 43.35 ms │               40.95 / 41.21 ±0.16 / 41.40 ms │ no change │
│ QQuery 11 │ 13.59 / 13.79 ±0.16 / 14.08 ms │               13.85 / 14.39 ±0.60 / 15.54 ms │ no change │
│ QQuery 12 │ 17.83 / 18.10 ±0.21 / 18.36 ms │               18.18 / 18.61 ±0.52 / 19.60 ms │ no change │
│ QQuery 13 │ 40.06 / 40.56 ±0.45 / 41.22 ms │               40.25 / 41.47 ±1.92 / 45.26 ms │ no change │
│ QQuery 14 │ 24.28 / 24.47 ±0.10 / 24.54 ms │               24.63 / 24.70 ±0.06 / 24.79 ms │ no change │
│ QQuery 15 │ 31.19 / 31.38 ±0.29 / 31.96 ms │               31.57 / 32.10 ±0.69 / 33.44 ms │ no change │
│ QQuery 16 │ 13.63 / 13.93 ±0.31 / 14.38 ms │               13.69 / 14.25 ±0.74 / 15.72 ms │ no change │
│ QQuery 17 │ 67.59 / 68.35 ±0.45 / 68.89 ms │               69.29 / 69.95 ±0.61 / 70.87 ms │ no change │
│ QQuery 18 │ 40.29 / 41.39 ±0.67 / 42.27 ms │               41.04 / 41.74 ±0.74 / 42.65 ms │ no change │
│ QQuery 19 │ 31.91 / 33.01 ±1.66 / 36.32 ms │               30.26 / 31.63 ±2.01 / 35.61 ms │ no change │
│ QQuery 20 │ 31.88 / 32.09 ±0.17 / 32.40 ms │               32.15 / 32.45 ±0.27 / 32.91 ms │ no change │
│ QQuery 21 │ 56.23 / 57.93 ±1.95 / 61.65 ms │               54.54 / 57.35 ±2.09 / 60.98 ms │ no change │
│ QQuery 22 │ 13.97 / 14.14 ±0.16 / 14.40 ms │               14.20 / 14.71 ±0.72 / 16.15 ms │ no change │
└───────────┴────────────────────────────────┴──────────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 723.00ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 729.33ms │
│ Average Time (HEAD)                                         │  32.86ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │  33.15ms │
│ 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: c177f570461c872562da9a24830c67eb44d5f1be | Changed: 39710ae3c900317b674b126d3a9c9edd54e77f3c

tpch — tpch_sf1

Query Base Changed Change
Query 1 40.0 MiB 22.8 MiB -43.1%
Query 2 15.9 MiB 15.9 MiB +0.0%
Query 3 10.9 MiB 10.9 MiB +0.0%
Query 4 33.3 MiB 33.3 MiB +0.0%
Query 5 43.4 MiB 52.9 MiB +21.7%
Query 6 832 B 832 B +0.0%
Query 7 105.1 MiB 101.0 MiB -3.9%
Query 8 39.8 MiB 39.8 MiB +0.0%
Query 9 140.2 MiB 140.4 MiB +0.2%
Query 10 38.6 MiB 38.7 MiB +0.2%
Query 11 51.3 MiB 51.2 MiB -0.3%
Query 12 22.7 MiB 22.7 MiB +0.1%
Query 13 62.5 MiB 62.3 MiB -0.2%
Query 14 6.7 MiB 6.7 MiB +0.0%
Query 15 12.0 MiB 11.9 MiB -0.9%
Query 16 44.3 MiB 44.5 MiB +0.5%
Query 17 150.3 MiB 150.3 MiB +0.0%
Query 18 167.1 MiB 167.1 MiB +0.0%
Query 19 725.7 KiB 725.7 KiB +0.0%
Query 20 58.3 MiB 59.5 MiB +2.1%
Query 21 42.2 MiB 36.0 MiB -14.7%
Query 22 32.0 MiB 32.0 MiB +0.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
tpch base (c177f570461c872562da9a24830c67eb44d5f1be) 167.1 MiB 1.2 GiB 1.0 GiB 7.3×
tpch changed (39710ae3c900317b674b126d3a9c9edd54e77f3c) 167.1 MiB 1.2 GiB 1.1 GiB 7.5×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 489.5 MiB
CPU user 19.3s
CPU sys 1.7s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 533.3 MiB
CPU user 19.6s
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 39710ae (39710ae) to c177f57 diff

Run configuration
run benchmark tpcds
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"
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_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.30 ms │                                      5.23 ms │     no change │
│ QQuery 2  │   78.26 ms │                                     74.26 ms │ +1.05x faster │
│ QQuery 3  │   28.41 ms │                                     28.40 ms │     no change │
│ QQuery 4  │  416.12 ms │                                    401.54 ms │     no change │
│ QQuery 5  │   49.23 ms │                                     49.38 ms │     no change │
│ QQuery 6  │   34.38 ms │                                     32.75 ms │     no change │
│ QQuery 7  │   70.97 ms │                                     71.50 ms │     no change │
│ QQuery 8  │   35.59 ms │                                     36.00 ms │     no change │
│ QQuery 9  │   50.39 ms │                                     50.85 ms │     no change │
│ QQuery 10 │   59.13 ms │                                     59.62 ms │     no change │
│ QQuery 11 │  252.24 ms │                                    246.87 ms │     no change │
│ QQuery 12 │   28.21 ms │                                     25.07 ms │ +1.13x faster │
│ QQuery 13 │  111.27 ms │                                    111.33 ms │     no change │
│ QQuery 14 │  372.21 ms │                                    373.37 ms │     no change │
│ QQuery 15 │   52.01 ms │                                     51.43 ms │     no change │
│ QQuery 16 │    5.89 ms │                                      5.79 ms │     no change │
│ QQuery 17 │   74.12 ms │                                     74.13 ms │     no change │
│ QQuery 18 │  100.71 ms │                                    101.07 ms │     no change │
│ QQuery 19 │   39.96 ms │                                     40.47 ms │     no change │
│ QQuery 20 │   34.27 ms │                                     30.74 ms │ +1.11x faster │
│ QQuery 21 │   16.37 ms │                                     15.98 ms │     no change │
│ QQuery 22 │   61.31 ms │                                     52.88 ms │ +1.16x faster │
│ QQuery 23 │  286.67 ms │                                    287.53 ms │     no change │
│ QQuery 24 │  185.18 ms │                                    185.98 ms │     no change │
│ QQuery 25 │  102.22 ms │                                    103.06 ms │     no change │
│ QQuery 26 │   44.44 ms │                                     45.13 ms │     no change │
│ QQuery 27 │    4.92 ms │                                      4.96 ms │     no change │
│ QQuery 28 │   61.11 ms │                                     58.28 ms │     no change │
│ QQuery 29 │   90.92 ms │                                     89.99 ms │     no change │
│ QQuery 30 │   31.07 ms │                                     31.27 ms │     no change │
│ QQuery 31 │  105.41 ms │                                    106.85 ms │     no change │
│ QQuery 32 │   19.22 ms │                                     19.27 ms │     no change │
│ QQuery 33 │   35.55 ms │                                     35.77 ms │     no change │
│ QQuery 34 │    5.39 ms │                                      5.37 ms │     no change │
│ QQuery 35 │   70.52 ms │                                     70.45 ms │     no change │
│ QQuery 36 │    5.39 ms │                                      5.48 ms │     no change │
│ QQuery 37 │    6.62 ms │                                      6.77 ms │     no change │
│ QQuery 38 │   60.10 ms │                                     60.37 ms │     no change │
│ QQuery 39 │   71.08 ms │                                     70.58 ms │     no change │
│ QQuery 40 │   21.61 ms │                                     21.54 ms │     no change │
│ QQuery 41 │   12.38 ms │                                     12.30 ms │     no change │
│ QQuery 42 │   23.19 ms │                                     23.46 ms │     no change │
│ QQuery 43 │    4.52 ms │                                      4.53 ms │     no change │
│ QQuery 44 │    5.43 ms │                                      5.32 ms │     no change │
│ QQuery 45 │   34.41 ms │                                     35.14 ms │     no change │
│ QQuery 46 │   11.20 ms │                                     11.77 ms │  1.05x slower │
│ QQuery 47 │  212.59 ms │                                    192.40 ms │ +1.10x faster │
│ QQuery 48 │   89.82 ms │                                     90.22 ms │     no change │
│ QQuery 49 │   68.99 ms │                                     68.50 ms │     no change │
│ QQuery 50 │   55.66 ms │                                     55.77 ms │     no change │
│ QQuery 51 │   90.82 ms │                                     92.44 ms │     no change │
│ QQuery 52 │   23.27 ms │                                     23.38 ms │     no change │
│ QQuery 53 │   28.53 ms │                                     28.75 ms │     no change │
│ QQuery 54 │   51.83 ms │                                     52.42 ms │     no change │
│ QQuery 55 │   23.04 ms │                                     23.17 ms │     no change │
│ QQuery 56 │   37.03 ms │                                     37.09 ms │     no change │
│ QQuery 57 │  163.87 ms │                                    151.30 ms │ +1.08x faster │
│ QQuery 58 │  104.58 ms │                                    104.72 ms │     no change │
│ QQuery 59 │  113.47 ms │                                    104.97 ms │ +1.08x faster │
│ QQuery 60 │   37.46 ms │                                     37.83 ms │     no change │
│ QQuery 61 │    8.86 ms │                                      9.22 ms │     no change │
│ QQuery 62 │   42.50 ms │                                     37.97 ms │ +1.12x faster │
│ QQuery 63 │   28.55 ms │                                     29.00 ms │     no change │
│ QQuery 64 │  339.70 ms │                                    342.67 ms │     no change │
│ QQuery 65 │   65.84 ms │                                     66.16 ms │     no change │
│ QQuery 66 │   71.58 ms │                                     71.60 ms │     no change │
│ QQuery 67 │  212.03 ms │                                    174.15 ms │ +1.22x faster │
│ QQuery 68 │    6.63 ms │                                      6.49 ms │     no change │
│ QQuery 69 │   54.63 ms │                                     55.20 ms │     no change │
│ QQuery 70 │  100.62 ms │                                     96.83 ms │     no change │
│ QQuery 71 │   34.13 ms │                                     34.44 ms │     no change │
│ QQuery 72 │ 1553.05 ms │                                   1652.76 ms │  1.06x slower │
│ QQuery 73 │    5.13 ms │                                      5.15 ms │     no change │
│ QQuery 74 │  179.09 ms │                                    178.60 ms │     no change │
│ QQuery 75 │  135.99 ms │                                    136.26 ms │     no change │
│ QQuery 76 │   33.20 ms │                                     33.61 ms │     no change │
│ QQuery 77 │   58.80 ms │                                     58.45 ms │     no change │
│ QQuery 78 │  257.31 ms │                                    254.15 ms │     no change │
│ QQuery 79 │   64.76 ms │                                     65.83 ms │     no change │
│ QQuery 80 │   92.31 ms │                                     92.70 ms │     no change │
│ QQuery 81 │   25.14 ms │                                     24.79 ms │     no change │
│ QQuery 82 │   16.02 ms │                                     15.81 ms │     no change │
│ QQuery 83 │   31.31 ms │                                     31.57 ms │     no change │
│ QQuery 84 │   28.42 ms │                                     28.49 ms │     no change │
│ QQuery 85 │   95.00 ms │                                     95.45 ms │     no change │
│ QQuery 86 │   24.50 ms │                                     23.12 ms │ +1.06x faster │
│ QQuery 87 │   58.89 ms │                                     59.80 ms │     no change │
│ QQuery 88 │   58.26 ms │                                     58.25 ms │     no change │
│ QQuery 89 │   34.53 ms │                                     34.36 ms │     no change │
│ QQuery 90 │   15.66 ms │                                     15.75 ms │     no change │
│ QQuery 91 │   39.75 ms │                                     39.92 ms │     no change │
│ QQuery 92 │   28.01 ms │                                     27.89 ms │     no change │
│ QQuery 93 │   48.13 ms │                                     48.22 ms │     no change │
│ QQuery 94 │   36.59 ms │                                     37.13 ms │     no change │
│ QQuery 95 │   77.38 ms │                                     77.85 ms │     no change │
│ QQuery 96 │   23.04 ms │                                     23.05 ms │     no change │
│ QQuery 97 │   49.91 ms │                                     50.16 ms │     no change │
│ QQuery 98 │   41.83 ms │                                     36.90 ms │ +1.13x faster │
│ QQuery 99 │   62.88 ms │                                     55.86 ms │ +1.13x faster │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 8515.80ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 8488.42ms │
│ Average Time (HEAD)                                         │   86.02ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   85.74ms │
│ Queries Faster                                              │        12 │
│ Queries Slower                                              │         2 │
│ Queries with No Change                                      │        85 │
│ Queries with Failure                                        │         0 │
└─────────────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.30 / 5.95 ±1.17 / 8.29 ms │                  5.23 / 5.97 ±1.03 / 7.99 ms │     no change │
│ QQuery 2  │        78.26 / 78.66 ±0.33 / 79.05 ms │               74.26 / 74.86 ±0.40 / 75.31 ms │     no change │
│ QQuery 3  │        28.41 / 28.62 ±0.22 / 29.00 ms │               28.40 / 28.74 ±0.28 / 29.01 ms │     no change │
│ QQuery 4  │     416.12 / 420.31 ±2.72 / 423.54 ms │            401.54 / 407.25 ±3.99 / 413.31 ms │     no change │
│ QQuery 5  │        49.23 / 49.86 ±0.36 / 50.29 ms │               49.38 / 49.78 ±0.35 / 50.42 ms │     no change │
│ QQuery 6  │        34.38 / 35.10 ±0.43 / 35.71 ms │               32.75 / 33.94 ±1.39 / 36.62 ms │     no change │
│ QQuery 7  │        70.97 / 71.79 ±0.66 / 72.90 ms │               71.50 / 72.84 ±0.95 / 73.71 ms │     no change │
│ QQuery 8  │        35.59 / 36.08 ±0.34 / 36.46 ms │               36.00 / 36.27 ±0.22 / 36.58 ms │     no change │
│ QQuery 9  │        50.39 / 52.04 ±2.06 / 55.83 ms │               50.85 / 53.09 ±1.13 / 53.83 ms │     no change │
│ QQuery 10 │        59.13 / 61.17 ±2.78 / 66.66 ms │               59.62 / 61.91 ±3.32 / 68.38 ms │     no change │
│ QQuery 11 │     252.24 / 257.53 ±4.91 / 264.95 ms │            246.87 / 250.80 ±2.42 / 254.15 ms │     no change │
│ QQuery 12 │        28.21 / 28.37 ±0.12 / 28.53 ms │               25.07 / 25.49 ±0.42 / 26.27 ms │ +1.11x faster │
│ QQuery 13 │     111.27 / 112.56 ±1.68 / 115.86 ms │            111.33 / 112.51 ±1.76 / 115.96 ms │     no change │
│ QQuery 14 │     372.21 / 374.62 ±1.36 / 376.43 ms │            373.37 / 377.53 ±5.56 / 388.51 ms │     no change │
│ QQuery 15 │        52.01 / 53.19 ±0.94 / 54.49 ms │               51.43 / 53.40 ±1.88 / 55.74 ms │     no change │
│ QQuery 16 │           5.89 / 5.97 ±0.08 / 6.13 ms │                  5.79 / 5.88 ±0.14 / 6.16 ms │     no change │
│ QQuery 17 │        74.12 / 74.90 ±0.46 / 75.30 ms │               74.13 / 75.91 ±1.48 / 78.12 ms │     no change │
│ QQuery 18 │     100.71 / 102.28 ±2.17 / 106.58 ms │            101.07 / 102.32 ±0.96 / 103.75 ms │     no change │
│ QQuery 19 │        39.96 / 41.03 ±0.98 / 42.86 ms │               40.47 / 41.25 ±0.70 / 42.44 ms │     no change │
│ QQuery 20 │        34.27 / 34.81 ±0.30 / 35.08 ms │               30.74 / 31.21 ±0.33 / 31.73 ms │ +1.12x faster │
│ QQuery 21 │        16.37 / 16.51 ±0.10 / 16.66 ms │               15.98 / 16.54 ±0.34 / 17.01 ms │     no change │
│ QQuery 22 │        61.31 / 61.94 ±0.45 / 62.52 ms │               52.88 / 53.36 ±0.49 / 53.96 ms │ +1.16x faster │
│ QQuery 23 │     286.67 / 290.84 ±4.49 / 296.78 ms │            287.53 / 290.87 ±2.63 / 294.03 ms │     no change │
│ QQuery 24 │     185.18 / 187.02 ±1.20 / 188.24 ms │            185.98 / 189.47 ±5.46 / 200.34 ms │     no change │
│ QQuery 25 │     102.22 / 103.14 ±0.86 / 104.78 ms │            103.06 / 104.03 ±1.10 / 106.11 ms │     no change │
│ QQuery 26 │        44.44 / 45.03 ±0.46 / 45.76 ms │               45.13 / 45.37 ±0.15 / 45.55 ms │     no change │
│ QQuery 27 │           4.92 / 4.99 ±0.09 / 5.17 ms │                  4.96 / 5.06 ±0.11 / 5.26 ms │     no change │
│ QQuery 28 │        61.11 / 62.72 ±2.78 / 68.26 ms │               58.28 / 61.63 ±1.86 / 63.53 ms │     no change │
│ QQuery 29 │        90.92 / 91.72 ±0.78 / 93.01 ms │               89.99 / 92.65 ±2.19 / 96.16 ms │     no change │
│ QQuery 30 │        31.07 / 31.78 ±0.70 / 32.96 ms │               31.27 / 31.53 ±0.31 / 31.98 ms │     no change │
│ QQuery 31 │     105.41 / 107.72 ±3.33 / 114.17 ms │            106.85 / 109.15 ±2.32 / 113.12 ms │     no change │
│ QQuery 32 │        19.22 / 19.45 ±0.26 / 19.96 ms │               19.27 / 19.64 ±0.54 / 20.69 ms │     no change │
│ QQuery 33 │        35.55 / 35.95 ±0.30 / 36.40 ms │               35.77 / 36.18 ±0.28 / 36.50 ms │     no change │
│ QQuery 34 │           5.39 / 5.52 ±0.22 / 5.95 ms │                  5.37 / 5.52 ±0.23 / 5.98 ms │     no change │
│ QQuery 35 │        70.52 / 71.09 ±0.47 / 71.92 ms │               70.45 / 70.60 ±0.20 / 70.97 ms │     no change │
│ QQuery 36 │           5.39 / 5.53 ±0.19 / 5.91 ms │                  5.48 / 5.64 ±0.24 / 6.12 ms │     no change │
│ QQuery 37 │           6.62 / 6.74 ±0.08 / 6.85 ms │                 6.77 / 7.88 ±1.82 / 11.51 ms │  1.17x slower │
│ QQuery 38 │        60.10 / 60.74 ±0.50 / 61.32 ms │               60.37 / 60.70 ±0.26 / 61.05 ms │     no change │
│ QQuery 39 │        71.08 / 71.57 ±0.39 / 71.98 ms │               70.58 / 71.35 ±0.58 / 71.96 ms │     no change │
│ QQuery 40 │        21.61 / 22.64 ±0.81 / 23.94 ms │               21.54 / 21.92 ±0.30 / 22.37 ms │     no change │
│ QQuery 41 │        12.38 / 12.49 ±0.16 / 12.80 ms │               12.30 / 12.45 ±0.11 / 12.64 ms │     no change │
│ QQuery 42 │        23.19 / 24.59 ±1.93 / 28.31 ms │               23.46 / 24.18 ±1.02 / 26.14 ms │     no change │
│ QQuery 43 │           4.52 / 4.63 ±0.15 / 4.92 ms │                  4.53 / 4.64 ±0.15 / 4.91 ms │     no change │
│ QQuery 44 │           5.43 / 5.50 ±0.09 / 5.69 ms │                 5.32 / 6.96 ±3.22 / 13.40 ms │  1.26x slower │
│ QQuery 45 │        34.41 / 34.94 ±0.45 / 35.49 ms │               35.14 / 36.13 ±0.70 / 36.99 ms │     no change │
│ QQuery 46 │        11.20 / 11.42 ±0.22 / 11.81 ms │               11.77 / 12.38 ±0.42 / 12.97 ms │  1.08x slower │
│ QQuery 47 │     212.59 / 216.50 ±2.91 / 219.99 ms │            192.40 / 196.19 ±3.61 / 201.48 ms │ +1.10x faster │
│ QQuery 48 │        89.82 / 90.21 ±0.39 / 90.90 ms │               90.22 / 91.02 ±0.63 / 92.16 ms │     no change │
│ QQuery 49 │        68.99 / 69.99 ±0.93 / 71.18 ms │               68.50 / 69.50 ±0.94 / 71.14 ms │     no change │
│ QQuery 50 │        55.66 / 56.00 ±0.20 / 56.20 ms │               55.77 / 56.45 ±0.51 / 57.11 ms │     no change │
│ QQuery 51 │        90.82 / 93.09 ±1.43 / 94.72 ms │               92.44 / 94.63 ±1.11 / 95.42 ms │     no change │
│ QQuery 52 │        23.27 / 25.82 ±3.81 / 33.41 ms │               23.38 / 23.88 ±0.56 / 24.82 ms │ +1.08x faster │
│ QQuery 53 │        28.53 / 28.92 ±0.24 / 29.28 ms │               28.75 / 29.78 ±1.60 / 32.96 ms │     no change │
│ QQuery 54 │        51.83 / 52.64 ±0.49 / 53.28 ms │               52.42 / 53.11 ±0.50 / 53.84 ms │     no change │
│ QQuery 55 │        23.04 / 23.37 ±0.31 / 23.93 ms │               23.17 / 24.34 ±0.85 / 25.71 ms │     no change │
│ QQuery 56 │        37.03 / 37.47 ±0.24 / 37.71 ms │               37.09 / 37.38 ±0.29 / 37.90 ms │     no change │
│ QQuery 57 │     163.87 / 166.28 ±1.88 / 169.05 ms │            151.30 / 153.08 ±1.64 / 156.03 ms │ +1.09x faster │
│ QQuery 58 │     104.58 / 105.26 ±0.59 / 106.10 ms │            104.72 / 106.34 ±0.87 / 107.23 ms │     no change │
│ QQuery 59 │     113.47 / 114.32 ±1.08 / 116.36 ms │            104.97 / 107.39 ±2.37 / 111.93 ms │ +1.06x faster │
│ QQuery 60 │        37.46 / 37.81 ±0.22 / 38.13 ms │               37.83 / 38.14 ±0.33 / 38.75 ms │     no change │
│ QQuery 61 │           8.86 / 9.00 ±0.22 / 9.43 ms │                  9.22 / 9.34 ±0.20 / 9.73 ms │     no change │
│ QQuery 62 │        42.50 / 43.83 ±2.37 / 48.57 ms │               37.97 / 38.65 ±1.17 / 40.98 ms │ +1.13x faster │
│ QQuery 63 │        28.55 / 29.08 ±0.41 / 29.72 ms │               29.00 / 30.60 ±2.51 / 35.56 ms │  1.05x slower │
│ QQuery 64 │     339.70 / 342.09 ±2.05 / 344.65 ms │            342.67 / 347.83 ±4.00 / 353.32 ms │     no change │
│ QQuery 65 │        65.84 / 66.59 ±0.62 / 67.44 ms │               66.16 / 68.02 ±1.43 / 70.37 ms │     no change │
│ QQuery 66 │        71.58 / 71.83 ±0.18 / 72.09 ms │               71.60 / 72.02 ±0.42 / 72.67 ms │     no change │
│ QQuery 67 │     212.03 / 215.42 ±3.79 / 221.18 ms │            174.15 / 179.09 ±3.21 / 183.61 ms │ +1.20x faster │
│ QQuery 68 │           6.63 / 7.19 ±0.83 / 8.82 ms │                  6.49 / 6.63 ±0.23 / 7.08 ms │ +1.09x faster │
│ QQuery 69 │        54.63 / 57.06 ±3.20 / 63.35 ms │               55.20 / 55.54 ±0.32 / 55.98 ms │     no change │
│ QQuery 70 │     100.62 / 102.42 ±1.85 / 105.16 ms │               96.83 / 97.44 ±0.68 / 98.71 ms │     no change │
│ QQuery 71 │        34.13 / 34.82 ±0.52 / 35.57 ms │               34.44 / 35.49 ±0.73 / 36.52 ms │     no change │
│ QQuery 72 │ 1553.05 / 1616.22 ±46.25 / 1668.64 ms │        1652.76 / 1677.40 ±26.18 / 1727.17 ms │     no change │
│ QQuery 73 │           5.13 / 5.29 ±0.28 / 5.85 ms │                  5.15 / 5.32 ±0.26 / 5.83 ms │     no change │
│ QQuery 74 │     179.09 / 180.80 ±1.28 / 182.83 ms │            178.60 / 181.41 ±2.98 / 186.89 ms │     no change │
│ QQuery 75 │     135.99 / 139.30 ±3.26 / 145.21 ms │            136.26 / 138.03 ±2.22 / 142.26 ms │     no change │
│ QQuery 76 │        33.20 / 33.65 ±0.36 / 34.22 ms │               33.61 / 34.00 ±0.32 / 34.52 ms │     no change │
│ QQuery 77 │        58.80 / 59.45 ±0.87 / 61.14 ms │               58.45 / 58.72 ±0.25 / 59.14 ms │     no change │
│ QQuery 78 │    257.31 / 268.01 ±10.81 / 288.75 ms │           254.15 / 265.18 ±10.60 / 278.88 ms │     no change │
│ QQuery 79 │        64.76 / 65.33 ±0.31 / 65.70 ms │               65.83 / 66.37 ±0.34 / 66.87 ms │     no change │
│ QQuery 80 │       92.31 / 94.89 ±3.53 / 101.68 ms │               92.70 / 94.10 ±1.08 / 95.96 ms │     no change │
│ QQuery 81 │        25.14 / 25.38 ±0.20 / 25.62 ms │               24.79 / 27.30 ±4.54 / 36.37 ms │  1.08x slower │
│ QQuery 82 │        16.02 / 16.53 ±0.35 / 16.94 ms │               15.81 / 16.34 ±0.39 / 16.80 ms │     no change │
│ QQuery 83 │        31.31 / 31.63 ±0.32 / 32.24 ms │               31.57 / 31.86 ±0.22 / 32.25 ms │     no change │
│ QQuery 84 │        28.42 / 28.65 ±0.13 / 28.81 ms │               28.49 / 28.82 ±0.38 / 29.54 ms │     no change │
│ QQuery 85 │       95.00 / 97.20 ±2.28 / 100.06 ms │               95.45 / 96.00 ±0.52 / 96.74 ms │     no change │
│ QQuery 86 │        24.50 / 24.98 ±0.51 / 25.94 ms │               23.12 / 25.20 ±3.36 / 31.89 ms │     no change │
│ QQuery 87 │        58.89 / 60.04 ±0.70 / 60.97 ms │               59.80 / 61.00 ±0.87 / 61.93 ms │     no change │
│ QQuery 88 │        58.26 / 58.93 ±0.46 / 59.68 ms │               58.25 / 58.76 ±0.46 / 59.61 ms │     no change │
│ QQuery 89 │        34.53 / 35.07 ±0.83 / 36.71 ms │               34.36 / 34.69 ±0.32 / 35.18 ms │     no change │
│ QQuery 90 │        15.66 / 15.99 ±0.25 / 16.28 ms │               15.75 / 16.37 ±0.89 / 18.09 ms │     no change │
│ QQuery 91 │        39.75 / 41.96 ±2.84 / 47.54 ms │               39.92 / 41.85 ±2.43 / 46.64 ms │     no change │
│ QQuery 92 │        28.01 / 28.50 ±0.31 / 28.89 ms │               27.89 / 28.61 ±0.59 / 29.38 ms │     no change │
│ QQuery 93 │        48.13 / 48.86 ±0.75 / 49.83 ms │               48.22 / 49.18 ±0.91 / 50.72 ms │     no change │
│ QQuery 94 │        36.59 / 38.07 ±1.19 / 39.91 ms │               37.13 / 37.35 ±0.19 / 37.57 ms │     no change │
│ QQuery 95 │        77.38 / 79.93 ±2.45 / 84.58 ms │               77.85 / 79.11 ±1.86 / 82.74 ms │     no change │
│ QQuery 96 │        23.04 / 23.29 ±0.27 / 23.81 ms │               23.05 / 23.42 ±0.27 / 23.86 ms │     no change │
│ QQuery 97 │        49.91 / 50.60 ±1.00 / 52.58 ms │               50.16 / 51.18 ±1.24 / 53.34 ms │     no change │
│ QQuery 98 │        41.83 / 42.53 ±0.53 / 43.40 ms │               36.90 / 37.40 ±0.46 / 38.09 ms │ +1.14x faster │
│ QQuery 99 │        62.88 / 65.40 ±3.23 / 71.49 ms │               55.86 / 56.61 ±0.65 / 57.78 ms │ +1.16x faster │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 8694.52ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 8640.20ms │
│ Average Time (HEAD)                                         │   87.82ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   87.27ms │
│ Queries Faster                                              │        12 │
│ Queries Slower                                              │         5 │
│ Queries with No Change                                      │        82 │
│ 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: c177f570461c872562da9a24830c67eb44d5f1be | Changed: 39710ae3c900317b674b126d3a9c9edd54e77f3c

tpcds — tpcds_sf1

Query Base Changed Change
Query 1 135.7 KiB 202.1 KiB +48.9%
Query 2 81.4 MiB 80.0 MiB -1.7%
Query 3 3.8 MiB 3.8 MiB +0.0%
Query 4 120.5 MiB 103.7 MiB -13.9%
Query 5 14.7 MiB 14.7 MiB -0.0%
Query 6 7.6 MiB 6.1 MiB -20.1%
Query 7 9.6 MiB 9.6 MiB +0.0%
Query 8 3.6 MiB 3.6 MiB +0.0%
Query 9 32.1 KiB 32.1 KiB +0.0%
Query 10 3.1 MiB 3.1 MiB +0.0%
Query 11 84.0 MiB 71.7 MiB -14.6%
Query 12 130.3 MiB 130.1 MiB -0.1%
Query 13 17.6 MiB 16.9 MiB -3.8%
Query 14 170.9 MiB 170.9 MiB +0.0%
Query 15 7.1 MiB 6.8 MiB -3.5%
Query 16 161.6 KiB 161.5 KiB -0.0%
Query 17 39.5 MiB 39.4 MiB -0.2%
Query 18 28.6 MiB 21.2 MiB -25.9%
Query 19 5.5 MiB 5.5 MiB +0.0%
Query 20 131.3 MiB 131.1 MiB -0.2%
Query 21 4.6 MiB 4.6 MiB +0.1%
Query 22 93.4 MiB 69.2 MiB -25.9%
Query 23 216.6 MiB 215.9 MiB -0.3%
Query 24 45.9 MiB 45.9 MiB +0.0%
Query 25 84.6 MiB 85.8 MiB +1.5%
Query 26 10.2 MiB 10.2 MiB +0.0%
Query 27 987.7 KiB 987.7 KiB +0.0%
Query 28 1.3 MiB 1.6 MiB +19.9%
Query 29 96.9 MiB 97.3 MiB +0.5%
Query 30 7.2 MiB 7.2 MiB +0.0%
Query 31 18.0 MiB 16.3 MiB -9.4%
Query 32 2.5 MiB 2.7 MiB +8.9%
Query 33 4.0 MiB 4.0 MiB +0.0%
Query 34 96.3 KiB 96.3 KiB +0.0%
Query 35 25.5 MiB 25.5 MiB +0.0%
Query 36 10.6 MiB 10.6 MiB +0.0%
Query 37 3.8 MiB 3.8 MiB +0.0%
Query 38 19.7 MiB 19.7 MiB +0.0%
Query 39 43.3 MiB 42.0 MiB -3.0%
Query 40 13.9 MiB 13.4 MiB -3.6%
Query 41 2.1 MiB 2.1 MiB +0.0%
Query 42 1.7 MiB 1.7 MiB -0.0%
Query 43 192.4 KiB 192.4 KiB +0.0%
Query 44 192.4 KiB 192.4 KiB +0.0%
Query 45 8.0 MiB 8.0 MiB +0.1%
Query 46 9.4 MiB 9.6 MiB +2.1%
Query 47 157.3 MiB 154.7 MiB -1.6%
Query 48 15.6 MiB 15.6 MiB +0.0%
Query 49 61.6 MiB 51.5 MiB -16.3%
Query 50 14.8 MiB 14.8 MiB +0.0%
Query 51 177.7 MiB 177.7 MiB +0.0%
Query 52 3.6 MiB 3.3 MiB -8.7%
Query 53 20.6 MiB 20.6 MiB +0.0%
Query 54 4.0 MiB 4.1 MiB +2.3%
Query 55 3.3 MiB 3.3 MiB +0.0%
Query 56 5.0 MiB 5.2 MiB +5.2%
Query 57 140.9 MiB 139.7 MiB -0.9%
Query 58 6.3 MiB 6.8 MiB +8.2%
Query 59 14.9 MiB 14.7 MiB -1.6%
Query 60 7.2 MiB 7.2 MiB +0.0%
Query 61 2.4 KiB 2.4 KiB +0.0%
Query 62 7.0 MiB 3.0 MiB -57.6%
Query 63 10.6 MiB 30.6 MiB +189.0%
Query 64 118.0 MiB 108.0 MiB -8.5%
Query 65 29.4 MiB 29.4 MiB +0.0%
Query 66 12.3 MiB 16.0 MiB +30.2%
Query 67 265.2 MiB 178.8 MiB -32.6%
Query 68 96.4 KiB 96.3 KiB -0.1%
Query 69 46.7 MiB 46.7 MiB -0.0%
Query 70 50.0 MiB 38.5 MiB -22.9%
Query 71 60.8 MiB 70.4 MiB +15.8%
Query 72 91.1 MiB 91.1 MiB +0.0%
Query 73 96.3 KiB 96.3 KiB +0.0%
Query 74 50.0 MiB 49.4 MiB -1.1%
Query 75 23.1 MiB 21.6 MiB -6.6%
Query 76 4.8 MiB 6.6 MiB +39.6%
Query 77 4.1 MiB 4.1 MiB -0.0%
Query 78 316.9 MiB 316.9 MiB +0.0%
Query 79 9.3 MiB 10.7 MiB +15.1%
Query 80 42.4 MiB 41.9 MiB -1.0%
Query 81 11.4 MiB 11.4 MiB +0.0%
Query 82 3.8 MiB 3.8 MiB +0.0%
Query 83 11.6 MiB 11.6 MiB -0.0%
Query 84 12.0 MiB 12.0 MiB +0.0%
Query 85 21.6 MiB 21.6 MiB +0.0%
Query 86 105.2 MiB 104.9 MiB -0.3%
Query 87 20.6 MiB 20.6 MiB +0.0%
Query 88 1.6 MiB 1.5 MiB -10.4%
Query 89 128.3 MiB 129.1 MiB +0.6%
Query 90 338.7 KiB 348.6 KiB +2.9%
Query 91 22.1 MiB 22.9 MiB +3.4%
Query 92 2.7 MiB 2.7 MiB +0.0%
Query 93 15.4 MiB 15.1 MiB -1.6%
Query 94 3.7 MiB 3.4 MiB -7.6%
Query 95 19.4 MiB 19.4 MiB +0.0%
Query 96 224.7 KiB 224.7 KiB +0.0%
Query 97 33.1 MiB 33.1 MiB -0.2%
Query 98 131.5 MiB 131.3 MiB -0.2%
Query 99 7.8 MiB 1.6 MiB -79.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 (c177f570461c872562da9a24830c67eb44d5f1be) 316.9 MiB 2.3 GiB 2.0 GiB 7.3×
tpcds changed (39710ae3c900317b674b126d3a9c9edd54e77f3c) 316.9 MiB 2.2 GiB 1.8 GiB 7.0×
Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 45.0s
Peak memory 2.3 GiB
Avg memory 1.5 GiB
CPU user 182.2s
CPU sys 5.1s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 45.0s
Peak memory 2.2 GiB
Avg memory 1.5 GiB
CPU user 182.9s
CPU sys 5.3s
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 39710ae (39710ae) to c177f57 diff

Run configuration
run benchmark clickbench_partitioned
env:
  DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false"
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G"
baseline:
  ref: "c177f570461c872562da9a24830c67eb44d5f1be"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "false"
changed:
  ref: "39710ae3c900317b674b126d3a9c9edd54e77f3c"
  env:
    DATAFUSION_OPTIMIZER_ENABLE_DICTIONARY_PRESERVATION: "true"
resources:
  cpu: "12"
  memory: "65Gi"
  arch: "arm64"
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_wip-cost-based-parquet-dictionary
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.18 ms │                                      1.22 ms │     no change │
│ QQuery 1  │   11.97 ms │                                     12.06 ms │     no change │
│ QQuery 2  │   35.39 ms │                                     35.07 ms │     no change │
│ QQuery 3  │   31.65 ms │                                     31.39 ms │     no change │
│ QQuery 4  │  237.03 ms │                                    240.40 ms │     no change │
│ QQuery 5  │  271.80 ms │                                    276.67 ms │     no change │
│ QQuery 6  │    1.21 ms │                                      1.24 ms │     no change │
│ QQuery 7  │   13.40 ms │                                     13.44 ms │     no change │
│ QQuery 8  │  331.75 ms │                                    332.90 ms │     no change │
│ QQuery 9  │  478.99 ms │                                    465.24 ms │     no change │
│ QQuery 10 │   65.08 ms │                                     65.08 ms │     no change │
│ QQuery 11 │   75.83 ms │                                     77.14 ms │     no change │
│ QQuery 12 │  266.09 ms │                                    267.28 ms │     no change │
│ QQuery 13 │  359.74 ms │                                    372.43 ms │     no change │
│ QQuery 14 │  283.65 ms │                                    283.78 ms │     no change │
│ QQuery 15 │  281.86 ms │                                    288.81 ms │     no change │
│ QQuery 16 │  620.03 ms │                                    626.86 ms │     no change │
│ QQuery 17 │  629.35 ms │                                    620.47 ms │     no change │
│ QQuery 18 │ 1217.74 ms │                                   1252.27 ms │     no change │
│ QQuery 19 │   27.99 ms │                                     28.12 ms │     no change │
│ QQuery 20 │  512.87 ms │                                    517.89 ms │     no change │
│ QQuery 21 │  506.55 ms │                                    510.56 ms │     no change │
│ QQuery 22 │  974.03 ms │                                    994.50 ms │     no change │
│ QQuery 23 │ 3039.31 ms │                                   3139.00 ms │     no change │
│ QQuery 24 │   41.06 ms │                                     40.90 ms │     no change │
│ QQuery 25 │  105.82 ms │                                    106.89 ms │     no change │
│ QQuery 26 │   41.40 ms │                                     42.91 ms │     no change │
│ QQuery 27 │  509.51 ms │                                    511.05 ms │     no change │
│ QQuery 28 │ 2887.60 ms │                                   2305.55 ms │ +1.25x faster │
│ QQuery 29 │   38.28 ms │                                     38.48 ms │     no change │
│ QQuery 30 │  307.79 ms │                                    307.23 ms │     no change │
│ QQuery 31 │  270.38 ms │                                    278.33 ms │     no change │
│ QQuery 32 │  985.64 ms │                                    943.62 ms │     no change │
│ QQuery 33 │ 1478.54 ms │                                   1471.97 ms │     no change │
│ QQuery 34 │ 1495.11 ms │                                   1461.11 ms │     no change │
│ QQuery 35 │  297.11 ms │                                    296.81 ms │     no change │
│ QQuery 36 │   63.77 ms │                                     64.75 ms │     no change │
│ QQuery 37 │   34.85 ms │                                     35.33 ms │     no change │
│ QQuery 38 │   41.12 ms │                                     39.38 ms │     no change │
│ QQuery 39 │  133.78 ms │                                    138.86 ms │     no change │
│ QQuery 40 │   13.12 ms │                                     13.58 ms │     no change │
│ QQuery 41 │   12.34 ms │                                     12.68 ms │     no change │
│ QQuery 42 │   12.02 ms │                                     12.01 ms │     no change │
└───────────┴────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 19043.73ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 18575.23ms │
│ Average Time (HEAD)                                         │   442.88ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   431.98ms │
│ Queries Faster                                              │          1 │
│ Queries Slower                                              │          0 │
│ Queries with No Change                                      │         42 │
│ Queries with Failure                                        │          0 │
└─────────────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and rich-T-kid_wip-cost-based-parquet-dictionary
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ rich-T-kid_wip-cost-based-parquet-dictionary ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           1.18 / 1.78 ±1.13 / 4.04 ms │                  1.22 / 1.84 ±1.13 / 4.09 ms │     no change │
│ QQuery 1  │        11.97 / 12.26 ±0.18 / 12.52 ms │               12.06 / 12.18 ±0.10 / 12.33 ms │     no change │
│ QQuery 2  │        35.39 / 35.76 ±0.46 / 36.63 ms │               35.07 / 35.37 ±0.22 / 35.70 ms │     no change │
│ QQuery 3  │        31.65 / 32.68 ±0.85 / 34.04 ms │               31.39 / 31.72 ±0.48 / 32.67 ms │     no change │
│ QQuery 4  │     237.03 / 242.96 ±3.73 / 248.46 ms │            240.40 / 243.17 ±2.78 / 248.51 ms │     no change │
│ QQuery 5  │     271.80 / 277.16 ±3.61 / 281.97 ms │            276.67 / 279.45 ±3.14 / 285.38 ms │     no change │
│ QQuery 6  │           1.21 / 1.37 ±0.24 / 1.85 ms │                  1.24 / 1.41 ±0.28 / 1.96 ms │     no change │
│ QQuery 7  │        13.40 / 13.59 ±0.17 / 13.84 ms │               13.44 / 13.54 ±0.08 / 13.64 ms │     no change │
│ QQuery 8  │     331.75 / 335.68 ±3.61 / 341.50 ms │            332.90 / 336.36 ±3.03 / 341.08 ms │     no change │
│ QQuery 9  │     478.99 / 484.22 ±4.49 / 490.30 ms │           465.24 / 480.44 ±10.98 / 499.33 ms │     no change │
│ QQuery 10 │        65.08 / 65.93 ±0.69 / 66.82 ms │               65.08 / 67.68 ±3.50 / 74.56 ms │     no change │
│ QQuery 11 │        75.83 / 77.23 ±0.75 / 77.89 ms │               77.14 / 77.72 ±0.67 / 79.02 ms │     no change │
│ QQuery 12 │     266.09 / 270.68 ±2.84 / 273.87 ms │            267.28 / 274.59 ±7.55 / 286.37 ms │     no change │
│ QQuery 13 │    359.74 / 377.35 ±19.93 / 402.65 ms │           372.43 / 382.57 ±13.79 / 409.30 ms │     no change │
│ QQuery 14 │     283.65 / 287.27 ±3.97 / 294.72 ms │           283.78 / 297.10 ±14.48 / 324.47 ms │     no change │
│ QQuery 15 │    281.86 / 294.88 ±14.12 / 322.05 ms │            288.81 / 296.24 ±7.70 / 310.86 ms │     no change │
│ QQuery 16 │     620.03 / 626.14 ±4.69 / 632.68 ms │            626.86 / 637.11 ±8.00 / 648.17 ms │     no change │
│ QQuery 17 │     629.35 / 637.98 ±6.99 / 648.79 ms │           620.47 / 639.20 ±10.76 / 650.18 ms │     no change │
│ QQuery 18 │ 1217.74 / 1241.25 ±26.39 / 1291.35 ms │        1252.27 / 1270.02 ±29.70 / 1329.19 ms │     no change │
│ QQuery 19 │        27.99 / 33.52 ±6.44 / 41.40 ms │               28.12 / 28.34 ±0.15 / 28.58 ms │ +1.18x faster │
│ QQuery 20 │    512.87 / 526.34 ±12.70 / 544.90 ms │            517.89 / 527.63 ±7.74 / 540.66 ms │     no change │
│ QQuery 21 │     506.55 / 513.38 ±4.37 / 519.71 ms │            510.56 / 515.77 ±4.26 / 523.07 ms │     no change │
│ QQuery 22 │   974.03 / 985.87 ±10.62 / 1005.31 ms │         994.50 / 1015.95 ±16.24 / 1037.42 ms │     no change │
│ QQuery 23 │ 3039.31 / 3066.16 ±20.99 / 3102.32 ms │        3139.00 / 3176.39 ±31.27 / 3225.06 ms │     no change │
│ QQuery 24 │       41.06 / 48.15 ±12.12 / 72.33 ms │               40.90 / 42.31 ±1.51 / 44.63 ms │ +1.14x faster │
│ QQuery 25 │     105.82 / 110.27 ±3.69 / 116.42 ms │            106.89 / 111.75 ±4.76 / 119.00 ms │     no change │
│ QQuery 26 │        41.40 / 41.92 ±0.47 / 42.52 ms │               42.91 / 44.36 ±0.92 / 45.78 ms │  1.06x slower │
│ QQuery 27 │     509.51 / 521.78 ±8.90 / 531.48 ms │            511.05 / 517.87 ±6.99 / 528.82 ms │     no change │
│ QQuery 28 │ 2887.60 / 2907.22 ±15.15 / 2930.90 ms │        2305.55 / 2325.37 ±18.58 / 2357.91 ms │ +1.25x faster │
│ QQuery 29 │       38.28 / 50.49 ±22.06 / 94.59 ms │               38.48 / 43.61 ±9.32 / 62.24 ms │ +1.16x faster │
│ QQuery 30 │     307.79 / 314.82 ±6.37 / 325.94 ms │           307.23 / 323.17 ±13.67 / 343.37 ms │     no change │
│ QQuery 31 │     270.38 / 285.83 ±9.47 / 297.16 ms │            278.33 / 285.69 ±4.61 / 291.37 ms │     no change │
│ QQuery 32 │  985.64 / 1036.00 ±61.90 / 1154.71 ms │           943.62 / 956.29 ±13.59 / 973.30 ms │ +1.08x faster │
│ QQuery 33 │ 1478.54 / 1511.50 ±23.30 / 1541.18 ms │         1471.97 / 1485.72 ±8.73 / 1495.08 ms │     no change │
│ QQuery 34 │ 1495.11 / 1536.67 ±43.23 / 1614.57 ms │        1461.11 / 1504.54 ±28.89 / 1544.81 ms │     no change │
│ QQuery 35 │    297.11 / 323.41 ±22.39 / 353.97 ms │           296.81 / 330.51 ±38.61 / 403.41 ms │     no change │
│ QQuery 36 │        63.77 / 69.89 ±4.90 / 76.70 ms │               64.75 / 72.67 ±6.60 / 82.12 ms │     no change │
│ QQuery 37 │        34.85 / 41.14 ±9.66 / 60.30 ms │               35.33 / 40.19 ±5.15 / 48.10 ms │     no change │
│ QQuery 38 │        41.12 / 41.35 ±0.18 / 41.61 ms │               39.38 / 43.76 ±6.05 / 55.69 ms │  1.06x slower │
│ QQuery 39 │     133.78 / 148.74 ±8.94 / 161.19 ms │            138.86 / 150.70 ±7.38 / 160.00 ms │     no change │
│ QQuery 40 │        13.12 / 13.53 ±0.29 / 13.92 ms │               13.58 / 16.23 ±4.29 / 24.76 ms │  1.20x slower │
│ QQuery 41 │        12.34 / 13.76 ±1.91 / 17.47 ms │               12.68 / 14.09 ±2.39 / 18.86 ms │     no change │
│ QQuery 42 │        12.02 / 12.22 ±0.20 / 12.61 ms │               12.01 / 12.16 ±0.17 / 12.48 ms │     no change │
└───────────┴───────────────────────────────────────┴──────────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                           ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                           │ 19470.13ms │
│ Total Time (rich-T-kid_wip-cost-based-parquet-dictionary)   │ 18962.77ms │
│ Average Time (HEAD)                                         │   452.79ms │
│ Average Time (rich-T-kid_wip-cost-based-parquet-dictionary) │   440.99ms │
│ Queries Faster                                              │          5 │
│ Queries Slower                                              │          3 │
│ 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: c177f570461c872562da9a24830c67eb44d5f1be | Changed: 39710ae3c900317b674b126d3a9c9edd54e77f3c

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 814.1 MiB 814.1 MiB +0.0%
Query 5 1.2 GiB 1.2 GiB -2.8%
Query 6 0 B 0 B 0.0%
Query 7 60.0 MiB 50.3 MiB -16.1%
Query 8 942.9 MiB 968.2 MiB +2.7%
Query 9 593.7 MiB 594.1 MiB +0.1%
Query 10 112.8 MiB 67.5 MiB -40.2%
Query 11 117.0 MiB 117.7 MiB +0.6%
Query 12 1.3 GiB 1.4 GiB +3.2%
Query 13 1.6 GiB 1.6 GiB -4.6%
Query 14 1.3 GiB 1.3 GiB +1.0%
Query 15 1.2 GiB 1.2 GiB -3.5%
Query 16 3.5 GiB 3.3 GiB -3.9%
Query 17 3.4 GiB 3.4 GiB +0.3%
Query 18 8.4 GiB 8.5 GiB +1.8%
Query 19 0 B 0 B 0.0%
Query 20 104 B 104 B +0.0%
Query 21 3.7 MiB 4.3 MiB +17.8%
Query 22 2.8 MiB 4.0 MiB +43.1%
Query 23 25.9 MiB 27.8 MiB +7.4%
Query 24 59.3 MiB 60.1 MiB +1.3%
Query 25 168.6 MiB 177.2 MiB +5.1%
Query 26 59.6 MiB 62.4 MiB +4.7%
Query 27 2.7 MiB 2.5 MiB -8.2%
Query 28 1.8 GiB 1.8 GiB +0.6%
Query 29 624 B 624 B +0.0%
Query 30 705.3 MiB 699.6 MiB -0.8%
Query 31 1.5 GiB 1.5 GiB +4.8%
Query 32 7.1 GiB 7.1 GiB +0.1%
Query 33 7.7 GiB 7.7 GiB -0.5%
Query 34 8.0 GiB 7.9 GiB -0.9%
Query 35 668.8 MiB 668.8 MiB +0.0%
Query 36 122.9 MiB 117.9 MiB -4.1%
Query 37 6.6 MiB 6.6 MiB +0.0%
Query 38 5.0 MiB 5.6 MiB +13.4%
Query 39 308.7 MiB 296.3 MiB -4.0%
Query 40 2.4 MiB 2.6 MiB +9.5%
Query 41 3.3 MiB 3.1 MiB -8.3%
Query 42 1.8 MiB 1.6 MiB -10.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 (c177f570461c872562da9a24830c67eb44d5f1be) 8.4 GiB 10.1 GiB 1.7 GiB 1.2×
clickbench_partitioned changed (39710ae3c900317b674b126d3a9c9edd54e77f3c) 8.5 GiB 12.5 GiB 3.9 GiB 1.5×
Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 10.1 GiB
Avg memory 4.3 GiB
CPU user 993.7s
CPU sys 70.3s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 100.0s
Peak memory 12.5 GiB
Avg memory 4.6 GiB
CPU user 967.8s
CPU sys 72.0s
Peak spill 0 B

File an issue against this benchmark runner

@github-actions github-actions Bot added the physical-expr Changes to the physical-expr crates label Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

catalog Related to the catalog crate common Related to common crate core Core DataFusion crate datasource Changes to the datasource crate documentation Improvements or additions to documentation execution Related to the execution crate optimizer Optimizer rules physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt) substrait Changes to the substrait crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants