Skip to content

Resolve page pruning StatisticsConverter once per file instead of once per row group - #24182

Draft
alamb wants to merge 1 commit into
apache:mainfrom
alamb:cache_parquet_column
Draft

Resolve page pruning StatisticsConverter once per file instead of once per row group#24182
alamb wants to merge 1 commit into
apache:mainfrom
alamb:cache_parquet_column

Conversation

@alamb

@alamb alamb commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

During page index pruning, prune_plan_with_page_index_and_metrics creates a StatisticsConverter for each predicate inside the per-row-group loop. Each construction calls parquet_column, which does a linear scan of both the Arrow schema fields and the Parquet leaf columns to resolve the predicate column, so the same column resolution is recomputed once per (predicate, row group).

For files with many row groups this adds up: the single-file ClickBench hits.parquet has 226 row groups and 105 columns, so a query with 2 pushed-down predicate columns resolved the same 2 columns 452 times per file open.

What changes are included in this PR?

  • Hoist the (predicate, StatisticsConverter) construction out of the row-group loop so each predicate column is resolved once per file, and pass the converter down by reference (prune_pages_in_one_row_group and PagesPruningStatistics now borrow it).
  • Minor side effect: predicates skipped because they are multi-column or fail converter creation are now logged once per file rather than once per row group.

Are these changes tested?

Covered by existing tests: datafusion-datasource-parquet lib tests and the page_pruning integration tests in datafusion/core/tests/parquet/ all pass. No behavior change intended.

Are there any user-facing changes?

No.

@github-actions github-actions Bot added the datasource Changes to the datasource crate label Aug 8, 2026
@codecov-commenter

codecov-commenter commented Aug 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.99%. Comparing base (f6879b4) to head (ef5666b).

Files with missing lines Patch % Lines
datafusion/datasource-parquet/src/page_filter.rs 72.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24182      +/-   ##
==========================================
- Coverage   80.99%   80.99%   -0.01%     
==========================================
  Files        1106     1106              
  Lines      383344   383350       +6     
  Branches   383344   383350       +6     
==========================================
- Hits       310484   310478       -6     
- Misses      54543    54550       +7     
- Partials    18317    18322       +5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…roup

Hoist the per-predicate StatisticsConverter construction (which resolves
the parquet leaf column via a linear scan of both schemas in
parquet_column) out of the row-group loop in
prune_plan_with_page_index_and_metrics, so the resolution happens once
per predicate per file instead of once per (predicate, row group).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alamb
alamb force-pushed the cache_parquet_column branch from 7f46ba2 to ef5666b Compare August 10, 2026 18:34
@alamb

alamb commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

run benchmark clickbench_1 clickbench_partitioned

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5244403585-1521-vdn2j 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 cache_parquet_column (ef5666b) to f6879b4 (merge-base) diff

Run configuration
run benchmark clickbench_1

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-c5244403585-1522-q5pnk 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 cache_parquet_column (ef5666b) to f6879b4 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned

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 cache_parquet_column (ef5666b) to f6879b4 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
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 cache_parquet_column
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ cache_parquet_column ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.25 ms │              1.25 ms │    no change │
│ QQuery 1  │   11.87 ms │             12.32 ms │    no change │
│ QQuery 2  │   36.30 ms │             36.54 ms │    no change │
│ QQuery 3  │   30.70 ms │             30.38 ms │    no change │
│ QQuery 4  │  226.73 ms │            225.80 ms │    no change │
│ QQuery 5  │  274.07 ms │            272.42 ms │    no change │
│ QQuery 6  │    1.28 ms │              1.29 ms │    no change │
│ QQuery 7  │   13.21 ms │             13.42 ms │    no change │
│ QQuery 8  │  325.59 ms │            328.09 ms │    no change │
│ QQuery 9  │  444.50 ms │            458.62 ms │    no change │
│ QQuery 10 │   69.13 ms │             70.18 ms │    no change │
│ QQuery 11 │   80.66 ms │             80.57 ms │    no change │
│ QQuery 12 │  267.57 ms │            271.04 ms │    no change │
│ QQuery 13 │  368.13 ms │            381.33 ms │    no change │
│ QQuery 14 │  282.85 ms │            302.78 ms │ 1.07x slower │
│ QQuery 15 │  269.96 ms │            297.85 ms │ 1.10x slower │
│ QQuery 16 │  618.03 ms │            676.25 ms │ 1.09x slower │
│ QQuery 17 │  620.14 ms │            638.53 ms │    no change │
│ QQuery 18 │ 1253.03 ms │           1261.62 ms │    no change │
│ QQuery 19 │   27.30 ms │             27.40 ms │    no change │
│ QQuery 20 │  520.89 ms │            512.63 ms │    no change │
│ QQuery 21 │  519.92 ms │            517.19 ms │    no change │
│ QQuery 22 │  985.09 ms │            982.25 ms │    no change │
│ QQuery 23 │ 3048.59 ms │           3072.55 ms │    no change │
│ QQuery 24 │   40.69 ms │             41.17 ms │    no change │
│ QQuery 25 │  110.22 ms │            111.22 ms │    no change │
│ QQuery 26 │   41.54 ms │             41.50 ms │    no change │
│ QQuery 27 │  511.34 ms │            516.91 ms │    no change │
│ QQuery 28 │ 2899.45 ms │           2898.53 ms │    no change │
│ QQuery 29 │   41.47 ms │             41.20 ms │    no change │
│ QQuery 30 │  299.70 ms │            307.84 ms │    no change │
│ QQuery 31 │  280.12 ms │            284.83 ms │    no change │
│ QQuery 32 │  925.78 ms │            930.81 ms │    no change │
│ QQuery 33 │ 1477.28 ms │           1444.84 ms │    no change │
│ QQuery 34 │ 1480.61 ms │           1485.26 ms │    no change │
│ QQuery 35 │  286.29 ms │            288.32 ms │    no change │
│ QQuery 36 │   65.39 ms │             65.87 ms │    no change │
│ QQuery 37 │   35.85 ms │             36.48 ms │    no change │
│ QQuery 38 │   43.09 ms │             42.21 ms │    no change │
│ QQuery 39 │  132.45 ms │            137.26 ms │    no change │
│ QQuery 40 │   13.97 ms │             14.27 ms │    no change │
│ QQuery 41 │   13.89 ms │             13.77 ms │    no change │
│ QQuery 42 │   13.26 ms │             13.26 ms │    no change │
└───────────┴────────────┴──────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                   ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                   │ 19009.16ms │
│ Total Time (cache_parquet_column)   │ 19187.90ms │
│ Average Time (HEAD)                 │   442.07ms │
│ Average Time (cache_parquet_column) │   446.23ms │
│ Queries Faster                      │          0 │
│ Queries Slower                      │          3 │
│ Queries with No Change              │         40 │
│ Queries with Failure                │          0 │
└─────────────────────────────────────┴────────────┘

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

Comparing HEAD and cache_parquet_column
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃                  cache_parquet_column ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.25 / 3.99 ±5.36 / 14.70 ms │          1.25 / 3.93 ±5.26 / 14.46 ms │     no change │
│ QQuery 1  │        11.87 / 12.10 ±0.19 / 12.34 ms │        12.32 / 12.40 ±0.07 / 12.51 ms │     no change │
│ QQuery 2  │        36.30 / 36.43 ±0.17 / 36.76 ms │        36.54 / 36.77 ±0.18 / 37.00 ms │     no change │
│ QQuery 3  │        30.70 / 31.31 ±0.45 / 32.07 ms │        30.38 / 31.23 ±0.45 / 31.72 ms │     no change │
│ QQuery 4  │     226.73 / 228.65 ±1.16 / 229.78 ms │     225.80 / 229.07 ±2.28 / 232.23 ms │     no change │
│ QQuery 5  │     274.07 / 276.14 ±1.80 / 279.34 ms │     272.42 / 277.10 ±3.12 / 282.07 ms │     no change │
│ QQuery 6  │           1.28 / 1.43 ±0.22 / 1.87 ms │           1.29 / 1.44 ±0.21 / 1.85 ms │     no change │
│ QQuery 7  │        13.21 / 13.61 ±0.32 / 14.14 ms │        13.42 / 13.53 ±0.07 / 13.60 ms │     no change │
│ QQuery 8  │     325.59 / 330.14 ±4.56 / 338.92 ms │     328.09 / 330.98 ±2.55 / 335.12 ms │     no change │
│ QQuery 9  │     444.50 / 455.93 ±7.84 / 467.50 ms │     458.62 / 462.87 ±2.55 / 466.40 ms │     no change │
│ QQuery 10 │        69.13 / 70.05 ±0.69 / 71.20 ms │        70.18 / 71.52 ±1.66 / 74.74 ms │     no change │
│ QQuery 11 │        80.66 / 81.75 ±0.97 / 83.36 ms │        80.57 / 85.15 ±6.89 / 98.82 ms │     no change │
│ QQuery 12 │     267.57 / 274.47 ±5.79 / 281.89 ms │     271.04 / 279.78 ±8.09 / 293.90 ms │     no change │
│ QQuery 13 │     368.13 / 375.90 ±4.63 / 381.74 ms │    381.33 / 404.80 ±17.82 / 423.69 ms │  1.08x slower │
│ QQuery 14 │     282.85 / 286.87 ±3.97 / 294.11 ms │     302.78 / 308.01 ±5.75 / 318.76 ms │  1.07x slower │
│ QQuery 15 │     269.96 / 278.91 ±6.92 / 286.37 ms │     297.85 / 311.70 ±8.33 / 320.91 ms │  1.12x slower │
│ QQuery 16 │     618.03 / 621.46 ±2.05 / 624.16 ms │     676.25 / 687.17 ±8.63 / 699.38 ms │  1.11x slower │
│ QQuery 17 │     620.14 / 624.54 ±4.04 / 630.27 ms │    638.53 / 658.49 ±16.62 / 688.89 ms │  1.05x slower │
│ QQuery 18 │ 1253.03 / 1290.23 ±28.71 / 1339.20 ms │ 1261.62 / 1303.41 ±44.62 / 1386.04 ms │     no change │
│ QQuery 19 │        27.30 / 27.49 ±0.22 / 27.85 ms │        27.40 / 28.10 ±0.50 / 28.72 ms │     no change │
│ QQuery 20 │    520.89 / 532.95 ±12.07 / 552.71 ms │     512.63 / 524.82 ±9.29 / 534.53 ms │     no change │
│ QQuery 21 │     519.92 / 523.64 ±6.01 / 535.62 ms │     517.19 / 523.82 ±5.73 / 533.86 ms │     no change │
│ QQuery 22 │     985.09 / 990.14 ±4.12 / 994.41 ms │    982.25 / 996.66 ±9.91 / 1011.30 ms │     no change │
│ QQuery 23 │ 3048.59 / 3081.24 ±29.46 / 3126.02 ms │ 3072.55 / 3134.47 ±66.54 / 3249.46 ms │     no change │
│ QQuery 24 │        40.69 / 46.13 ±8.69 / 63.40 ms │        41.17 / 46.36 ±9.32 / 64.94 ms │     no change │
│ QQuery 25 │     110.22 / 112.85 ±3.47 / 119.67 ms │     111.22 / 112.84 ±1.60 / 115.55 ms │     no change │
│ QQuery 26 │        41.54 / 42.56 ±1.29 / 45.04 ms │        41.50 / 43.93 ±3.88 / 51.64 ms │     no change │
│ QQuery 27 │     511.34 / 519.84 ±7.14 / 529.92 ms │     516.91 / 521.11 ±3.76 / 525.63 ms │     no change │
│ QQuery 28 │ 2899.45 / 2923.23 ±21.34 / 2955.00 ms │ 2898.53 / 2916.30 ±22.71 / 2959.05 ms │     no change │
│ QQuery 29 │        41.47 / 44.97 ±6.04 / 57.02 ms │        41.20 / 48.38 ±9.11 / 63.35 ms │  1.08x slower │
│ QQuery 30 │     299.70 / 309.70 ±7.01 / 320.60 ms │    307.84 / 318.55 ±13.64 / 345.51 ms │     no change │
│ QQuery 31 │    280.12 / 298.51 ±12.63 / 318.01 ms │     284.83 / 297.09 ±9.71 / 313.68 ms │     no change │
│ QQuery 32 │    925.78 / 966.38 ±22.26 / 986.47 ms │    930.81 / 946.80 ±16.34 / 976.83 ms │     no change │
│ QQuery 33 │ 1477.28 / 1514.57 ±45.45 / 1601.62 ms │ 1444.84 / 1489.21 ±49.02 / 1584.11 ms │     no change │
│ QQuery 34 │ 1480.61 / 1512.87 ±24.58 / 1546.67 ms │ 1485.26 / 1546.51 ±48.28 / 1609.93 ms │     no change │
│ QQuery 35 │    286.29 / 338.50 ±55.34 / 439.93 ms │    288.32 / 297.87 ±10.99 / 319.15 ms │ +1.14x faster │
│ QQuery 36 │        65.39 / 74.02 ±5.09 / 80.64 ms │        65.87 / 69.91 ±3.25 / 75.20 ms │ +1.06x faster │
│ QQuery 37 │        35.85 / 42.87 ±7.89 / 56.76 ms │        36.48 / 38.34 ±2.27 / 42.41 ms │ +1.12x faster │
│ QQuery 38 │        43.09 / 44.44 ±1.24 / 46.77 ms │        42.21 / 46.64 ±4.94 / 54.67 ms │     no change │
│ QQuery 39 │     132.45 / 146.43 ±9.75 / 159.44 ms │     137.26 / 148.35 ±7.09 / 155.44 ms │     no change │
│ QQuery 40 │        13.97 / 15.87 ±2.41 / 20.47 ms │        14.27 / 15.70 ±2.46 / 20.59 ms │     no change │
│ QQuery 41 │        13.89 / 14.08 ±0.15 / 14.32 ms │        13.77 / 16.19 ±4.10 / 24.37 ms │  1.15x slower │
│ QQuery 42 │        13.26 / 13.43 ±0.13 / 13.57 ms │        13.26 / 15.26 ±3.27 / 21.77 ms │  1.14x slower │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                   ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                   │ 19430.63ms │
│ Total Time (cache_parquet_column)   │ 19652.59ms │
│ Average Time (HEAD)                 │   451.88ms │
│ Average Time (cache_parquet_column) │   457.04ms │
│ Queries Faster                      │          3 │
│ Queries Slower                      │          8 │
│ Queries with No Change              │         32 │
│ Queries with Failure                │          0 │
└─────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 10.8 GiB
Avg memory 4.2 GiB
CPU user 996.3s
CPU sys 68.4s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 100.0s
Peak memory 12.3 GiB
Avg memory 4.4 GiB
CPU user 1004.9s
CPU sys 70.9s
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 cache_parquet_column (ef5666b) to f6879b4 (merge-base) diff

Run configuration
run benchmark clickbench_1
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 cache_parquet_column
--------------------
Benchmark clickbench_1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ cache_parquet_column ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 0  │    0.70 ms │              0.69 ms │ no change │
│ QQuery 1  │   10.45 ms │             10.27 ms │ no change │
│ QQuery 2  │   41.41 ms │             40.82 ms │ no change │
│ QQuery 3  │   36.60 ms │             36.89 ms │ no change │
│ QQuery 4  │  250.46 ms │            249.60 ms │ no change │
│ QQuery 5  │  454.91 ms │            449.80 ms │ no change │
│ QQuery 6  │    0.77 ms │              0.74 ms │ no change │
│ QQuery 7  │   12.45 ms │             12.23 ms │ no change │
│ QQuery 8  │  375.73 ms │            379.26 ms │ no change │
│ QQuery 9  │  563.11 ms │            570.32 ms │ no change │
│ QQuery 10 │   83.68 ms │             81.30 ms │ no change │
│ QQuery 11 │   96.32 ms │             94.84 ms │ no change │
│ QQuery 12 │  478.02 ms │            465.61 ms │ no change │
│ QQuery 13 │  470.63 ms │            484.09 ms │ no change │
│ QQuery 14 │  472.24 ms │            469.87 ms │ no change │
│ QQuery 15 │  295.95 ms │            305.08 ms │ no change │
│ QQuery 16 │  650.72 ms │            664.28 ms │ no change │
│ QQuery 17 │  666.07 ms │            676.44 ms │ no change │
│ QQuery 18 │ 1272.35 ms │           1301.42 ms │ no change │
│ QQuery 19 │   31.54 ms │             30.96 ms │ no change │
│ QQuery 20 │  637.63 ms │            625.75 ms │ no change │
│ QQuery 21 │  645.80 ms │            646.78 ms │ no change │
│ QQuery 22 │ 1355.20 ms │           1330.70 ms │ no change │
│ QQuery 23 │ 3151.12 ms │           3150.62 ms │ no change │
│ QQuery 24 │  121.02 ms │            119.92 ms │ no change │
│ QQuery 25 │  180.68 ms │            182.99 ms │ no change │
│ QQuery 26 │  120.22 ms │            119.83 ms │ no change │
│ QQuery 27 │  610.90 ms │            626.37 ms │ no change │
│ QQuery 28 │ 3392.58 ms │           3398.99 ms │ no change │
│ QQuery 29 │   45.11 ms │             44.61 ms │ no change │
│ QQuery 30 │  426.00 ms │            421.31 ms │ no change │
│ QQuery 31 │  371.25 ms │            374.23 ms │ no change │
│ QQuery 32 │  991.65 ms │            980.66 ms │ no change │
│ QQuery 33 │ 1570.15 ms │           1552.50 ms │ no change │
│ QQuery 34 │ 1575.71 ms │           1602.83 ms │ no change │
│ QQuery 35 │  352.46 ms │            340.16 ms │ no change │
│ QQuery 36 │  124.91 ms │            128.00 ms │ no change │
│ QQuery 37 │   51.54 ms │             49.87 ms │ no change │
│ QQuery 38 │   80.72 ms │             80.93 ms │ no change │
│ QQuery 39 │  271.52 ms │            267.28 ms │ no change │
│ QQuery 40 │   18.74 ms │             18.16 ms │ no change │
│ QQuery 41 │   16.27 ms │             16.31 ms │ no change │
│ QQuery 42 │   15.97 ms │             15.70 ms │ no change │
└───────────┴────────────┴──────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                   ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                   │ 22391.27ms │
│ Total Time (cache_parquet_column)   │ 22419.01ms │
│ Average Time (HEAD)                 │   520.73ms │
│ Average Time (cache_parquet_column) │   521.37ms │
│ Queries Faster                      │          0 │
│ Queries Slower                      │          0 │
│ Queries with No Change              │         43 │
│ Queries with Failure                │          0 │
└─────────────────────────────────────┴────────────┘

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

Comparing HEAD and cache_parquet_column
--------------------
Benchmark clickbench_1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃                  cache_parquet_column ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           0.70 / 1.50 ±1.53 / 4.56 ms │           0.69 / 1.57 ±1.66 / 4.89 ms │     no change │
│ QQuery 1  │        10.45 / 10.90 ±0.62 / 12.10 ms │        10.27 / 10.52 ±0.24 / 10.97 ms │     no change │
│ QQuery 2  │        41.41 / 41.75 ±0.33 / 42.37 ms │        40.82 / 41.05 ±0.16 / 41.22 ms │     no change │
│ QQuery 3  │        36.60 / 37.19 ±0.66 / 38.46 ms │        36.89 / 37.08 ±0.11 / 37.20 ms │     no change │
│ QQuery 4  │     250.46 / 257.44 ±9.50 / 276.12 ms │     249.60 / 255.11 ±4.47 / 263.14 ms │     no change │
│ QQuery 5  │     454.91 / 459.45 ±5.10 / 469.36 ms │    449.80 / 473.97 ±12.23 / 482.42 ms │     no change │
│ QQuery 6  │           0.77 / 0.87 ±0.16 / 1.18 ms │           0.74 / 0.85 ±0.15 / 1.14 ms │     no change │
│ QQuery 7  │        12.45 / 13.08 ±1.00 / 15.07 ms │        12.23 / 12.35 ±0.11 / 12.57 ms │ +1.06x faster │
│ QQuery 8  │     375.73 / 382.44 ±7.28 / 395.78 ms │     379.26 / 388.67 ±9.92 / 407.50 ms │     no change │
│ QQuery 9  │    563.11 / 576.11 ±11.01 / 596.16 ms │    570.32 / 591.18 ±18.74 / 614.06 ms │     no change │
│ QQuery 10 │        83.68 / 84.06 ±0.21 / 84.30 ms │       81.30 / 86.30 ±7.01 / 100.15 ms │     no change │
│ QQuery 11 │        96.32 / 97.01 ±0.89 / 98.75 ms │     94.84 / 100.71 ±10.44 / 121.55 ms │     no change │
│ QQuery 12 │    478.02 / 490.55 ±11.28 / 504.43 ms │     465.61 / 481.09 ±9.51 / 492.61 ms │     no change │
│ QQuery 13 │    470.63 / 512.75 ±28.11 / 547.52 ms │    484.09 / 501.43 ±18.46 / 532.15 ms │     no change │
│ QQuery 14 │    472.24 / 485.54 ±17.02 / 518.48 ms │    469.87 / 483.70 ±15.22 / 505.67 ms │     no change │
│ QQuery 15 │    295.95 / 313.20 ±18.04 / 343.72 ms │    305.08 / 326.32 ±17.90 / 352.83 ms │     no change │
│ QQuery 16 │    650.72 / 671.36 ±18.18 / 694.80 ms │    664.28 / 686.44 ±18.87 / 717.00 ms │     no change │
│ QQuery 17 │    666.07 / 688.13 ±18.04 / 710.00 ms │    676.44 / 705.38 ±30.57 / 759.90 ms │     no change │
│ QQuery 18 │ 1272.35 / 1310.03 ±21.82 / 1337.19 ms │ 1301.42 / 1346.16 ±28.52 / 1374.18 ms │     no change │
│ QQuery 19 │        31.54 / 37.92 ±5.94 / 47.72 ms │       30.96 / 38.44 ±14.49 / 67.41 ms │     no change │
│ QQuery 20 │    637.63 / 663.18 ±38.38 / 739.23 ms │     625.75 / 637.40 ±8.80 / 652.91 ms │     no change │
│ QQuery 21 │     645.80 / 654.25 ±8.74 / 666.85 ms │    646.78 / 660.17 ±10.31 / 675.73 ms │     no change │
│ QQuery 22 │ 1355.20 / 1375.66 ±12.74 / 1389.51 ms │ 1330.70 / 1367.08 ±26.65 / 1398.03 ms │     no change │
│ QQuery 23 │ 3151.12 / 3202.54 ±37.98 / 3259.76 ms │ 3150.62 / 3191.15 ±21.45 / 3213.18 ms │     no change │
│ QQuery 24 │     121.02 / 125.75 ±4.83 / 133.28 ms │    119.92 / 136.61 ±12.37 / 155.32 ms │  1.09x slower │
│ QQuery 25 │    180.68 / 189.52 ±14.15 / 217.68 ms │     182.99 / 184.68 ±1.74 / 187.52 ms │     no change │
│ QQuery 26 │     120.22 / 123.80 ±2.55 / 127.63 ms │     119.83 / 121.46 ±1.10 / 122.69 ms │     no change │
│ QQuery 27 │    610.90 / 628.19 ±10.95 / 640.85 ms │    626.37 / 641.19 ±14.99 / 661.63 ms │     no change │
│ QQuery 28 │ 3392.58 / 3416.87 ±17.13 / 3436.97 ms │ 3398.99 / 3435.78 ±23.33 / 3467.11 ms │     no change │
│ QQuery 29 │       45.11 / 50.79 ±10.49 / 71.77 ms │        44.61 / 50.80 ±6.98 / 61.24 ms │     no change │
│ QQuery 30 │    426.00 / 440.20 ±14.51 / 465.28 ms │    421.31 / 441.53 ±11.57 / 453.09 ms │     no change │
│ QQuery 31 │    371.25 / 396.09 ±18.97 / 426.35 ms │    374.23 / 418.54 ±44.16 / 495.80 ms │  1.06x slower │
│ QQuery 32 │  991.65 / 1010.36 ±11.61 / 1025.09 ms │  980.66 / 1014.72 ±24.14 / 1044.36 ms │     no change │
│ QQuery 33 │ 1570.15 / 1597.69 ±15.56 / 1612.00 ms │ 1552.50 / 1586.37 ±24.04 / 1626.36 ms │     no change │
│ QQuery 34 │ 1575.71 / 1594.80 ±18.91 / 1629.77 ms │ 1602.83 / 1629.19 ±13.52 / 1640.94 ms │     no change │
│ QQuery 35 │    352.46 / 406.69 ±73.02 / 550.91 ms │    340.16 / 363.42 ±24.74 / 407.96 ms │ +1.12x faster │
│ QQuery 36 │    124.91 / 152.10 ±13.99 / 164.53 ms │    128.00 / 148.45 ±11.61 / 163.48 ms │     no change │
│ QQuery 37 │        51.54 / 53.75 ±2.61 / 57.03 ms │        49.87 / 56.74 ±3.56 / 60.03 ms │  1.06x slower │
│ QQuery 38 │        80.72 / 87.49 ±5.67 / 97.44 ms │        80.93 / 89.07 ±6.24 / 99.09 ms │     no change │
│ QQuery 39 │     271.52 / 286.38 ±8.54 / 294.00 ms │    267.28 / 284.73 ±10.47 / 298.50 ms │     no change │
│ QQuery 40 │        18.74 / 19.14 ±0.65 / 20.44 ms │        18.16 / 19.56 ±0.77 / 20.46 ms │     no change │
│ QQuery 41 │        16.27 / 16.50 ±0.14 / 16.70 ms │        16.31 / 17.76 ±1.81 / 21.25 ms │  1.08x slower │
│ QQuery 42 │        15.97 / 16.12 ±0.10 / 16.23 ms │        15.70 / 16.15 ±0.23 / 16.35 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                   ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                   │ 22979.11ms │
│ Total Time (cache_parquet_column)   │ 23080.85ms │
│ Average Time (HEAD)                 │   534.40ms │
│ Average Time (cache_parquet_column) │   536.76ms │
│ Queries Faster                      │          2 │
│ Queries Slower                      │          4 │
│ Queries with No Change              │         37 │
│ Queries with Failure                │          0 │
└─────────────────────────────────────┴────────────┘

Resource Usage

clickbench_1 — base (merge-base)

Metric Value
Wall time 120.0s
Peak memory 11.2 GiB
Avg memory 3.7 GiB
CPU user 1049.9s
CPU sys 76.2s
Peak spill 0 B

clickbench_1 — branch

Metric Value
Wall time 120.0s
Peak memory 11.5 GiB
Avg memory 3.7 GiB
CPU user 1048.7s
CPU sys 80.8s
Peak spill 0 B

File an issue against this benchmark runner

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

Labels

datasource Changes to the datasource crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants