Skip to content

(benchmax) perf: bound multi-column join cardinality by the composite key - #24437

Closed
Dandandan wants to merge 1 commit into
apache:mainfrom
Dandandan:perf/composite-key-join-cardinality
Closed

(benchmax) perf: bound multi-column join cardinality by the composite key#24437
Dandandan wants to merge 1 commit into
apache:mainfrom
Dandandan:perf/composite-key-join-cardinality

Conversation

@Dandandan

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • N/A

Rationale for this change

For a join on more than one column the join key is the tuple of all key columns, but estimate_inner_join_cardinality used the distinct count of the single most selective column. A composite key is more selective than any of its parts, so the estimate comes out too large.

TPC-H q9 joins partsupp on (ps_partkey, ps_suppkey) — its primary key, so 800k distinct pairs — while the largest per-column count is only 200k. At SF1 that join is estimated at 4,800,972 rows; the true answer is 319,404. With this change it estimates 800,000.

What changes are included in this PR?

Estimate the distinct count of the key tuple instead: it can be no larger than the product of the per-column counts, and no larger than the number of rows, so take the smaller of the two.

Single-column joins are unaffected — the product of one count is that count, and max_distinct_count already caps it at the row count.

Are these changes tested?

Yes. test_inner_join_cardinality_multiple_column is updated for the new bound, and test_inner_join_cardinality_multiple_column_below_row_count is added to cover the case where the product rather than the row count is the binding limit.

I also compared the build and probe row counts of every hash join across TPC-H SF1 (62 joins, from dfbench tpch --debug metrics) before and after: the results are identical, so this changes no TPC-H plan and carries no measured runtime effect either way. It is an estimate accuracy improvement, not a performance fix.

Are there any user-facing changes?

No API changes. Multi-column joins may pick a different build side, though none do in TPC-H.

For a join on more than one column the join key is the tuple of all key
columns, but the cardinality estimate used the distinct count of the single
most selective column. A composite key is more selective than any of its
parts, so the estimate came out too large.

Estimate the key tuple's distinct count instead: it can be no larger than the
product of the per-column counts, and no larger than the number of rows.

Single-column joins are unaffected, and no TPC-H plan changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Aug 17, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.23%. Comparing base (bb038a6) to head (891804d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24437      +/-   ##
==========================================
- Coverage   81.23%   81.23%   -0.01%     
==========================================
  Files        1112     1112              
  Lines      390635   390674      +39     
  Branches   390635   390674      +39     
==========================================
+ Hits       317350   317378      +28     
- Misses      54650    54657       +7     
- Partials    18635    18639       +4     

☔ 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.

@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmarks

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5320027729-1626-2cv6x 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 perf/composite-key-join-cardinality (891804d) to bb038a6 (merge-base) diff

Run configuration
run benchmark tpcds

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5320027729-1625-pfjqj 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 perf/composite-key-join-cardinality (891804d) to bb038a6 (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 running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5320027729-1627-7w5h4 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 perf/composite-key-join-cardinality (891804d) to bb038a6 (merge-base) diff

Run configuration
run benchmark tpch

Results will be posted here when complete


File an issue against this benchmark runner

@Dandandan Dandandan changed the title perf: bound multi-column join cardinality by the composite key (benchmax) perf: bound multi-column join cardinality by the composite key Aug 17, 2026
@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing perf/composite-key-join-cardinality (891804d) to bb038a6 (merge-base) diff

Run configuration
run benchmark tpch
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 perf_composite-key-join-cardinality
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ perf_composite-key-join-cardinality ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 38.26 ms │                            38.15 ms │ no change │
│ QQuery 2  │ 19.26 ms │                            19.07 ms │ no change │
│ QQuery 3  │ 30.50 ms │                            30.67 ms │ no change │
│ QQuery 4  │ 17.56 ms │                            17.52 ms │ no change │
│ QQuery 5  │ 37.94 ms │                            37.60 ms │ no change │
│ QQuery 6  │ 16.14 ms │                            15.95 ms │ no change │
│ QQuery 7  │ 45.22 ms │                            43.37 ms │ no change │
│ QQuery 8  │ 41.92 ms │                            42.13 ms │ no change │
│ QQuery 9  │ 49.31 ms │                            48.90 ms │ no change │
│ QQuery 10 │ 41.60 ms │                            42.20 ms │ no change │
│ QQuery 11 │ 13.36 ms │                            13.28 ms │ no change │
│ QQuery 12 │ 23.67 ms │                            24.12 ms │ no change │
│ QQuery 13 │ 31.57 ms │                            31.54 ms │ no change │
│ QQuery 14 │ 23.10 ms │                            23.06 ms │ no change │
│ QQuery 15 │ 30.47 ms │                            30.69 ms │ no change │
│ QQuery 16 │ 13.65 ms │                            13.68 ms │ no change │
│ QQuery 17 │ 69.45 ms │                            70.34 ms │ no change │
│ QQuery 18 │ 60.62 ms │                            59.41 ms │ no change │
│ QQuery 19 │ 32.27 ms │                            32.37 ms │ no change │
│ QQuery 20 │ 31.61 ms │                            31.63 ms │ no change │
│ QQuery 21 │ 55.91 ms │                            55.93 ms │ no change │
│ QQuery 22 │ 13.77 ms │                            13.92 ms │ no change │
└───────────┴──────────┴─────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                  ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                  │ 737.15ms │
│ Total Time (perf_composite-key-join-cardinality)   │ 735.53ms │
│ Average Time (HEAD)                                │  33.51ms │
│ Average Time (perf_composite-key-join-cardinality) │  33.43ms │
│ Queries Faster                                     │        0 │
│ Queries Slower                                     │        0 │
│ Queries with No Change                             │       22 │
│ Queries with Failure                               │        0 │
└────────────────────────────────────────────────────┴──────────┘

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

Comparing HEAD and perf_composite-key-join-cardinality
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ perf_composite-key-join-cardinality ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 38.26 / 39.02 ±1.08 / 41.10 ms │      38.15 / 39.47 ±1.47 / 41.60 ms │     no change │
│ QQuery 2  │ 19.26 / 20.00 ±0.72 / 21.31 ms │      19.07 / 19.57 ±0.33 / 20.09 ms │     no change │
│ QQuery 3  │ 30.50 / 32.64 ±1.44 / 34.09 ms │      30.67 / 32.93 ±1.20 / 33.95 ms │     no change │
│ QQuery 4  │ 17.56 / 17.87 ±0.56 / 18.99 ms │      17.52 / 18.08 ±0.60 / 19.03 ms │     no change │
│ QQuery 5  │ 37.94 / 39.70 ±1.14 / 40.89 ms │      37.60 / 39.82 ±1.12 / 40.58 ms │     no change │
│ QQuery 6  │ 16.14 / 17.57 ±1.13 / 18.72 ms │      15.95 / 16.25 ±0.57 / 17.39 ms │ +1.08x faster │
│ QQuery 7  │ 45.22 / 46.01 ±0.87 / 47.69 ms │      43.37 / 44.92 ±0.96 / 46.31 ms │     no change │
│ QQuery 8  │ 41.92 / 42.51 ±0.52 / 43.40 ms │      42.13 / 43.64 ±1.41 / 45.73 ms │     no change │
│ QQuery 9  │ 49.31 / 50.99 ±0.99 / 52.21 ms │      48.90 / 50.30 ±1.15 / 52.01 ms │     no change │
│ QQuery 10 │ 41.60 / 42.19 ±0.43 / 42.81 ms │      42.20 / 42.94 ±1.20 / 45.32 ms │     no change │
│ QQuery 11 │ 13.36 / 13.54 ±0.13 / 13.69 ms │      13.28 / 13.48 ±0.17 / 13.65 ms │     no change │
│ QQuery 12 │ 23.67 / 24.05 ±0.37 / 24.73 ms │      24.12 / 24.21 ±0.09 / 24.36 ms │     no change │
│ QQuery 13 │ 31.57 / 33.22 ±1.00 / 34.20 ms │      31.54 / 34.69 ±1.89 / 37.33 ms │     no change │
│ QQuery 14 │ 23.10 / 23.28 ±0.16 / 23.47 ms │      23.06 / 23.53 ±0.34 / 24.07 ms │     no change │
│ QQuery 15 │ 30.47 / 30.68 ±0.22 / 30.99 ms │      30.69 / 31.05 ±0.28 / 31.36 ms │     no change │
│ QQuery 16 │ 13.65 / 13.74 ±0.10 / 13.92 ms │      13.68 / 13.94 ±0.18 / 14.19 ms │     no change │
│ QQuery 17 │ 69.45 / 71.05 ±1.22 / 73.05 ms │      70.34 / 71.90 ±1.60 / 73.96 ms │     no change │
│ QQuery 18 │ 60.62 / 61.85 ±1.26 / 64.19 ms │      59.41 / 61.41 ±1.07 / 62.59 ms │     no change │
│ QQuery 19 │ 32.27 / 32.50 ±0.37 / 33.22 ms │      32.37 / 32.55 ±0.29 / 33.13 ms │     no change │
│ QQuery 20 │ 31.61 / 31.96 ±0.23 / 32.18 ms │      31.63 / 31.77 ±0.09 / 31.86 ms │     no change │
│ QQuery 21 │ 55.91 / 58.59 ±1.81 / 61.49 ms │      55.93 / 57.08 ±1.00 / 58.69 ms │     no change │
│ QQuery 22 │ 13.77 / 13.97 ±0.13 / 14.15 ms │      13.92 / 14.10 ±0.17 / 14.36 ms │     no change │
└───────────┴────────────────────────────────┴─────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                  ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                  │ 756.94ms │
│ Total Time (perf_composite-key-join-cardinality)   │ 757.64ms │
│ Average Time (HEAD)                                │  34.41ms │
│ Average Time (perf_composite-key-join-cardinality) │  34.44ms │
│ Queries Faster                                     │        1 │
│ Queries Slower                                     │        0 │
│ Queries with No Change                             │       21 │
│ Queries with Failure                               │        0 │
└────────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 506.0 MiB
CPU user 21.6s
CPU sys 1.8s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 523.3 MiB
CPU user 21.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 perf/composite-key-join-cardinality (891804d) to bb038a6 (merge-base) diff

Run configuration
run benchmark tpcds
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 perf_composite-key-join-cardinality
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_composite-key-join-cardinality ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    6.28 ms │                             5.59 ms │ +1.12x faster │
│ QQuery 2  │   84.33 ms │                            80.59 ms │     no change │
│ QQuery 3  │   31.07 ms │                            29.04 ms │ +1.07x faster │
│ QQuery 4  │  507.21 ms │                           487.16 ms │     no change │
│ QQuery 5  │   53.02 ms │                            52.18 ms │     no change │
│ QQuery 6  │   36.57 ms │                            36.78 ms │     no change │
│ QQuery 7  │   94.94 ms │                            93.46 ms │     no change │
│ QQuery 8  │   37.14 ms │                            37.50 ms │     no change │
│ QQuery 9  │   52.81 ms │                            52.27 ms │     no change │
│ QQuery 10 │   62.57 ms │                            63.22 ms │     no change │
│ QQuery 11 │  303.47 ms │                           307.73 ms │     no change │
│ QQuery 12 │   28.90 ms │                            28.74 ms │     no change │
│ QQuery 13 │  117.71 ms │                           117.78 ms │     no change │
│ QQuery 14 │  420.00 ms │                           420.83 ms │     no change │
│ QQuery 15 │   58.43 ms │                            57.19 ms │     no change │
│ QQuery 16 │    7.13 ms │                             6.67 ms │ +1.07x faster │
│ QQuery 17 │   81.04 ms │                            80.93 ms │     no change │
│ QQuery 18 │  123.65 ms │                           122.21 ms │     no change │
│ QQuery 19 │   42.08 ms │                            41.23 ms │     no change │
│ QQuery 20 │   35.79 ms │                            35.45 ms │     no change │
│ QQuery 21 │   17.56 ms │                            17.58 ms │     no change │
│ QQuery 22 │   63.16 ms │                            63.08 ms │     no change │
│ QQuery 23 │  346.53 ms │                           345.72 ms │     no change │
│ QQuery 24 │  222.09 ms │                           221.86 ms │     no change │
│ QQuery 25 │  109.76 ms │                           107.15 ms │     no change │
│ QQuery 26 │   57.85 ms │                            58.30 ms │     no change │
│ QQuery 27 │    6.33 ms │                             6.44 ms │     no change │
│ QQuery 28 │   60.63 ms │                            56.41 ms │ +1.07x faster │
│ QQuery 29 │   99.74 ms │                            93.95 ms │ +1.06x faster │
│ QQuery 30 │   35.35 ms │                            34.39 ms │     no change │
│ QQuery 31 │  119.75 ms │                           110.99 ms │ +1.08x faster │
│ QQuery 32 │   22.96 ms │                            20.03 ms │ +1.15x faster │
│ QQuery 33 │   40.34 ms │                            37.50 ms │ +1.08x faster │
│ QQuery 34 │   10.96 ms │                             9.71 ms │ +1.13x faster │
│ QQuery 35 │   73.61 ms │                            72.39 ms │     no change │
│ QQuery 36 │    6.49 ms │                             5.88 ms │ +1.10x faster │
│ QQuery 37 │    7.39 ms │                             6.90 ms │ +1.07x faster │
│ QQuery 38 │   63.64 ms │                            61.43 ms │     no change │
│ QQuery 39 │   89.95 ms │                            89.81 ms │     no change │
│ QQuery 40 │   23.45 ms │                            23.02 ms │     no change │
│ QQuery 41 │   11.37 ms │                            11.20 ms │     no change │
│ QQuery 42 │   24.12 ms │                            23.82 ms │     no change │
│ QQuery 43 │    5.12 ms │                             5.06 ms │     no change │
│ QQuery 44 │    9.37 ms │                             9.27 ms │     no change │
│ QQuery 45 │   38.00 ms │                            37.56 ms │     no change │
│ QQuery 46 │   11.94 ms │                            12.13 ms │     no change │
│ QQuery 47 │  230.30 ms │                           225.09 ms │     no change │
│ QQuery 48 │   95.38 ms │                            95.53 ms │     no change │
│ QQuery 49 │   77.37 ms │                            76.01 ms │     no change │
│ QQuery 50 │   58.90 ms │                            58.48 ms │     no change │
│ QQuery 51 │   91.98 ms │                            95.82 ms │     no change │
│ QQuery 52 │   24.68 ms │                            25.90 ms │     no change │
│ QQuery 53 │   29.73 ms │                            30.98 ms │     no change │
│ QQuery 54 │   55.51 ms │                            58.52 ms │  1.05x slower │
│ QQuery 55 │   23.79 ms │                            24.07 ms │     no change │
│ QQuery 56 │   39.37 ms │                            39.23 ms │     no change │
│ QQuery 57 │  174.94 ms │                           180.35 ms │     no change │
│ QQuery 58 │  113.41 ms │                           113.27 ms │     no change │
│ QQuery 59 │  117.31 ms │                           116.48 ms │     no change │
│ QQuery 60 │   39.49 ms │                            39.27 ms │     no change │
│ QQuery 61 │   12.31 ms │                            12.47 ms │     no change │
│ QQuery 62 │   46.30 ms │                            46.58 ms │     no change │
│ QQuery 63 │   29.56 ms │                            29.36 ms │     no change │
│ QQuery 64 │  402.50 ms │                           405.85 ms │     no change │
│ QQuery 65 │  121.40 ms │                           122.04 ms │     no change │
│ QQuery 66 │   81.93 ms │                            81.78 ms │     no change │
│ QQuery 67 │  243.90 ms │                           248.82 ms │     no change │
│ QQuery 68 │   12.06 ms │                            12.06 ms │     no change │
│ QQuery 69 │   57.52 ms │                            57.07 ms │     no change │
│ QQuery 70 │  107.37 ms │                           106.64 ms │     no change │
│ QQuery 71 │   35.33 ms │                            34.90 ms │     no change │
│ QQuery 72 │ 2119.00 ms │                          1954.95 ms │ +1.08x faster │
│ QQuery 73 │    9.72 ms │                            10.82 ms │  1.11x slower │
│ QQuery 74 │  173.42 ms │                           214.15 ms │  1.23x slower │
│ QQuery 75 │  148.20 ms │                           157.37 ms │  1.06x slower │
│ QQuery 76 │   35.23 ms │                            37.61 ms │  1.07x slower │
│ QQuery 77 │   62.42 ms │                            61.65 ms │     no change │
│ QQuery 78 │  195.37 ms │                           195.87 ms │     no change │
│ QQuery 79 │   67.76 ms │                            66.45 ms │     no change │
│ QQuery 80 │  106.53 ms │                            97.36 ms │ +1.09x faster │
│ QQuery 81 │   27.85 ms │                            26.31 ms │ +1.06x faster │
│ QQuery 82 │   17.29 ms │                            16.73 ms │     no change │
│ QQuery 83 │   41.91 ms │                            40.18 ms │     no change │
│ QQuery 84 │   31.72 ms │                            30.02 ms │ +1.06x faster │
│ QQuery 85 │  107.10 ms │                            99.14 ms │ +1.08x faster │
│ QQuery 86 │   26.12 ms │                            25.39 ms │     no change │
│ QQuery 87 │   61.83 ms │                            62.52 ms │     no change │
│ QQuery 88 │   63.31 ms │                            63.84 ms │     no change │
│ QQuery 89 │   35.55 ms │                            35.49 ms │     no change │
│ QQuery 90 │   17.18 ms │                            17.40 ms │     no change │
│ QQuery 91 │   45.54 ms │                            45.95 ms │     no change │
│ QQuery 92 │   29.82 ms │                            29.46 ms │     no change │
│ QQuery 93 │   49.57 ms │                            49.12 ms │     no change │
│ QQuery 94 │   37.33 ms │                            37.57 ms │     no change │
│ QQuery 95 │   79.95 ms │                            79.93 ms │     no change │
│ QQuery 96 │   24.61 ms │                            24.09 ms │     no change │
│ QQuery 97 │   47.60 ms │                            46.47 ms │     no change │
│ QQuery 98 │   42.36 ms │                            42.82 ms │     no change │
│ QQuery 99 │   70.06 ms │                            69.93 ms │     no change │
└───────────┴────────────┴─────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                  ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                  │ 9858.26ms │
│ Total Time (perf_composite-key-join-cardinality)   │ 9673.28ms │
│ Average Time (HEAD)                                │   99.58ms │
│ Average Time (perf_composite-key-join-cardinality) │   97.71ms │
│ Queries Faster                                     │        16 │
│ Queries Slower                                     │         5 │
│ Queries with No Change                             │        78 │
│ Queries with Failure                               │         0 │
└────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and perf_composite-key-join-cardinality
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃    perf_composite-key-join-cardinality ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │            6.28 / 6.88 ±1.03 / 8.94 ms │            5.59 / 6.16 ±0.90 / 7.94 ms │ +1.12x faster │
│ QQuery 2  │         84.33 / 85.01 ±0.52 / 85.85 ms │         80.59 / 80.72 ±0.08 / 80.84 ms │ +1.05x faster │
│ QQuery 3  │         31.07 / 31.30 ±0.20 / 31.64 ms │         29.04 / 29.34 ±0.26 / 29.83 ms │ +1.07x faster │
│ QQuery 4  │     507.21 / 534.31 ±19.08 / 554.59 ms │      487.16 / 495.75 ±7.93 / 506.93 ms │ +1.08x faster │
│ QQuery 5  │         53.02 / 53.86 ±0.48 / 54.33 ms │         52.18 / 52.78 ±0.61 / 53.92 ms │     no change │
│ QQuery 6  │         36.57 / 37.12 ±0.40 / 37.73 ms │         36.78 / 36.94 ±0.15 / 37.14 ms │     no change │
│ QQuery 7  │         94.94 / 96.52 ±1.20 / 98.38 ms │         93.46 / 94.75 ±0.92 / 95.83 ms │     no change │
│ QQuery 8  │         37.14 / 37.29 ±0.16 / 37.54 ms │         37.50 / 39.28 ±2.41 / 44.00 ms │  1.05x slower │
│ QQuery 9  │         52.81 / 55.33 ±2.19 / 59.41 ms │         52.27 / 56.10 ±3.84 / 63.22 ms │     no change │
│ QQuery 10 │         62.57 / 63.06 ±0.38 / 63.70 ms │         63.22 / 63.72 ±0.30 / 64.02 ms │     no change │
│ QQuery 11 │      303.47 / 308.28 ±6.50 / 321.16 ms │      307.73 / 313.15 ±4.20 / 317.94 ms │     no change │
│ QQuery 12 │         28.90 / 29.35 ±0.29 / 29.76 ms │         28.74 / 29.21 ±0.29 / 29.58 ms │     no change │
│ QQuery 13 │      117.71 / 119.15 ±1.44 / 121.39 ms │      117.78 / 119.46 ±1.42 / 121.70 ms │     no change │
│ QQuery 14 │      420.00 / 424.80 ±6.44 / 437.56 ms │      420.83 / 429.43 ±7.12 / 440.20 ms │     no change │
│ QQuery 15 │         58.43 / 60.84 ±1.45 / 62.69 ms │         57.19 / 58.34 ±0.79 / 59.31 ms │     no change │
│ QQuery 16 │            7.13 / 7.29 ±0.16 / 7.57 ms │            6.67 / 6.81 ±0.18 / 7.16 ms │ +1.07x faster │
│ QQuery 17 │         81.04 / 82.97 ±2.78 / 88.49 ms │         80.93 / 82.69 ±2.12 / 86.84 ms │     no change │
│ QQuery 18 │      123.65 / 125.06 ±1.34 / 126.81 ms │      122.21 / 123.39 ±1.25 / 125.56 ms │     no change │
│ QQuery 19 │         42.08 / 42.38 ±0.25 / 42.82 ms │         41.23 / 41.62 ±0.27 / 42.07 ms │     no change │
│ QQuery 20 │         35.79 / 37.58 ±1.36 / 39.69 ms │         35.45 / 36.94 ±2.01 / 40.82 ms │     no change │
│ QQuery 21 │         17.56 / 17.84 ±0.16 / 18.01 ms │         17.58 / 17.88 ±0.17 / 18.03 ms │     no change │
│ QQuery 22 │         63.16 / 64.08 ±0.69 / 64.92 ms │         63.08 / 63.94 ±0.90 / 65.67 ms │     no change │
│ QQuery 23 │     346.53 / 355.62 ±13.68 / 382.44 ms │      345.72 / 348.69 ±3.50 / 355.05 ms │     no change │
│ QQuery 24 │      222.09 / 225.34 ±3.73 / 232.33 ms │      221.86 / 225.20 ±4.06 / 233.02 ms │     no change │
│ QQuery 25 │      109.76 / 110.76 ±0.89 / 112.27 ms │      107.15 / 108.73 ±1.23 / 110.26 ms │     no change │
│ QQuery 26 │         57.85 / 59.68 ±2.55 / 64.73 ms │         58.30 / 60.14 ±2.89 / 65.86 ms │     no change │
│ QQuery 27 │            6.33 / 6.53 ±0.19 / 6.88 ms │            6.44 / 6.57 ±0.12 / 6.78 ms │     no change │
│ QQuery 28 │         60.63 / 61.69 ±0.68 / 62.55 ms │         56.41 / 60.21 ±2.00 / 62.20 ms │     no change │
│ QQuery 29 │       99.74 / 101.80 ±2.45 / 106.53 ms │        93.95 / 96.46 ±3.05 / 102.45 ms │ +1.06x faster │
│ QQuery 30 │         35.35 / 36.35 ±0.64 / 37.27 ms │         34.39 / 34.77 ±0.35 / 35.21 ms │     no change │
│ QQuery 31 │      119.75 / 120.70 ±0.85 / 121.75 ms │      110.99 / 111.71 ±0.84 / 113.26 ms │ +1.08x faster │
│ QQuery 32 │         22.96 / 25.50 ±3.53 / 32.15 ms │         20.03 / 20.23 ±0.20 / 20.54 ms │ +1.26x faster │
│ QQuery 33 │         40.34 / 41.19 ±0.85 / 42.72 ms │         37.50 / 39.51 ±3.45 / 46.40 ms │     no change │
│ QQuery 34 │         10.96 / 11.28 ±0.31 / 11.85 ms │          9.71 / 10.31 ±0.60 / 11.42 ms │ +1.09x faster │
│ QQuery 35 │         73.61 / 76.73 ±2.59 / 81.17 ms │         72.39 / 73.51 ±1.00 / 74.97 ms │     no change │
│ QQuery 36 │            6.49 / 6.59 ±0.11 / 6.78 ms │            5.88 / 6.06 ±0.19 / 6.43 ms │ +1.09x faster │
│ QQuery 37 │            7.39 / 7.54 ±0.16 / 7.84 ms │            6.90 / 7.04 ±0.14 / 7.28 ms │ +1.07x faster │
│ QQuery 38 │         63.64 / 65.78 ±1.76 / 67.76 ms │         61.43 / 61.88 ±0.43 / 62.64 ms │ +1.06x faster │
│ QQuery 39 │         89.95 / 90.91 ±0.97 / 92.69 ms │         89.81 / 92.08 ±3.38 / 98.80 ms │     no change │
│ QQuery 40 │         23.45 / 23.76 ±0.33 / 24.35 ms │         23.02 / 23.52 ±0.49 / 24.39 ms │     no change │
│ QQuery 41 │         11.37 / 11.58 ±0.17 / 11.85 ms │         11.20 / 11.47 ±0.20 / 11.71 ms │     no change │
│ QQuery 42 │         24.12 / 24.45 ±0.30 / 24.83 ms │         23.82 / 24.50 ±0.54 / 25.40 ms │     no change │
│ QQuery 43 │            5.12 / 5.23 ±0.17 / 5.58 ms │            5.06 / 5.14 ±0.13 / 5.39 ms │     no change │
│ QQuery 44 │            9.37 / 9.57 ±0.11 / 9.68 ms │            9.27 / 9.39 ±0.13 / 9.63 ms │     no change │
│ QQuery 45 │         38.00 / 40.98 ±2.15 / 44.63 ms │         37.56 / 38.18 ±0.38 / 38.65 ms │ +1.07x faster │
│ QQuery 46 │         11.94 / 12.49 ±0.39 / 12.88 ms │         12.13 / 12.26 ±0.15 / 12.55 ms │     no change │
│ QQuery 47 │      230.30 / 237.13 ±4.21 / 241.79 ms │      225.09 / 227.88 ±1.80 / 229.89 ms │     no change │
│ QQuery 48 │         95.38 / 95.84 ±0.46 / 96.42 ms │         95.53 / 95.80 ±0.25 / 96.26 ms │     no change │
│ QQuery 49 │         77.37 / 77.65 ±0.23 / 78.05 ms │         76.01 / 76.46 ±0.45 / 77.28 ms │     no change │
│ QQuery 50 │         58.90 / 59.04 ±0.11 / 59.22 ms │         58.48 / 61.61 ±3.98 / 69.47 ms │     no change │
│ QQuery 51 │         91.98 / 92.60 ±0.51 / 93.28 ms │         95.82 / 96.80 ±0.62 / 97.62 ms │     no change │
│ QQuery 52 │         24.68 / 27.56 ±4.32 / 36.15 ms │         25.90 / 26.11 ±0.25 / 26.60 ms │ +1.06x faster │
│ QQuery 53 │         29.73 / 30.22 ±0.36 / 30.67 ms │         30.98 / 33.05 ±3.88 / 40.81 ms │  1.09x slower │
│ QQuery 54 │         55.51 / 56.40 ±0.79 / 57.78 ms │         58.52 / 59.77 ±1.15 / 61.19 ms │  1.06x slower │
│ QQuery 55 │         23.79 / 24.31 ±0.75 / 25.79 ms │         24.07 / 25.00 ±0.86 / 26.51 ms │     no change │
│ QQuery 56 │         39.37 / 39.89 ±0.54 / 40.89 ms │         39.23 / 40.74 ±1.06 / 41.95 ms │     no change │
│ QQuery 57 │      174.94 / 178.97 ±3.82 / 184.82 ms │      180.35 / 187.08 ±7.08 / 197.42 ms │     no change │
│ QQuery 58 │      113.41 / 116.22 ±2.91 / 121.54 ms │      113.27 / 115.68 ±1.98 / 118.06 ms │     no change │
│ QQuery 59 │      117.31 / 117.82 ±0.42 / 118.36 ms │      116.48 / 117.43 ±0.62 / 118.04 ms │     no change │
│ QQuery 60 │         39.49 / 39.96 ±0.55 / 41.02 ms │         39.27 / 39.60 ±0.25 / 39.84 ms │     no change │
│ QQuery 61 │         12.31 / 12.51 ±0.17 / 12.83 ms │         12.47 / 12.67 ±0.12 / 12.83 ms │     no change │
│ QQuery 62 │         46.30 / 46.64 ±0.26 / 47.06 ms │         46.58 / 47.82 ±2.00 / 51.82 ms │     no change │
│ QQuery 63 │         29.56 / 29.69 ±0.10 / 29.87 ms │         29.36 / 29.99 ±0.45 / 30.55 ms │     no change │
│ QQuery 64 │      402.50 / 407.08 ±2.99 / 411.16 ms │      405.85 / 413.34 ±6.29 / 423.20 ms │     no change │
│ QQuery 65 │      121.40 / 125.05 ±2.98 / 128.73 ms │      122.04 / 122.96 ±0.91 / 124.53 ms │     no change │
│ QQuery 66 │         81.93 / 82.56 ±0.76 / 84.02 ms │         81.78 / 84.50 ±4.09 / 92.51 ms │     no change │
│ QQuery 67 │      243.90 / 247.98 ±4.06 / 253.64 ms │      248.82 / 252.22 ±2.15 / 254.21 ms │     no change │
│ QQuery 68 │         12.06 / 12.20 ±0.13 / 12.44 ms │         12.06 / 12.24 ±0.12 / 12.40 ms │     no change │
│ QQuery 69 │         57.52 / 59.97 ±4.02 / 67.98 ms │         57.07 / 58.17 ±1.47 / 61.08 ms │     no change │
│ QQuery 70 │      107.37 / 110.46 ±3.54 / 117.38 ms │      106.64 / 113.08 ±8.39 / 129.25 ms │     no change │
│ QQuery 71 │         35.33 / 35.58 ±0.22 / 35.96 ms │         34.90 / 35.46 ±0.37 / 36.05 ms │     no change │
│ QQuery 72 │ 2119.00 / 2270.86 ±120.99 / 2417.33 ms │ 1954.95 / 2174.19 ±185.21 / 2402.60 ms │     no change │
│ QQuery 73 │           9.72 / 9.95 ±0.21 / 10.34 ms │         10.82 / 11.23 ±0.55 / 12.32 ms │  1.13x slower │
│ QQuery 74 │      173.42 / 175.52 ±1.67 / 178.56 ms │      214.15 / 216.21 ±1.68 / 219.04 ms │  1.23x slower │
│ QQuery 75 │      148.20 / 149.21 ±0.88 / 150.71 ms │      157.37 / 158.85 ±1.07 / 160.25 ms │  1.06x slower │
│ QQuery 76 │         35.23 / 37.92 ±2.37 / 41.43 ms │         37.61 / 38.13 ±0.40 / 38.48 ms │     no change │
│ QQuery 77 │         62.42 / 62.75 ±0.28 / 63.21 ms │         61.65 / 64.89 ±2.98 / 69.96 ms │     no change │
│ QQuery 78 │      195.37 / 199.62 ±4.89 / 209.07 ms │      195.87 / 200.24 ±5.51 / 210.79 ms │     no change │
│ QQuery 79 │         67.76 / 70.28 ±1.44 / 72.10 ms │         66.45 / 67.50 ±0.75 / 68.78 ms │     no change │
│ QQuery 80 │      106.53 / 107.62 ±0.91 / 108.94 ms │       97.36 / 100.76 ±3.90 / 108.08 ms │ +1.07x faster │
│ QQuery 81 │         27.85 / 28.41 ±0.32 / 28.78 ms │         26.31 / 28.31 ±3.62 / 35.54 ms │     no change │
│ QQuery 82 │         17.29 / 17.60 ±0.17 / 17.77 ms │         16.73 / 17.34 ±0.84 / 19.00 ms │     no change │
│ QQuery 83 │         41.91 / 43.56 ±2.53 / 48.60 ms │         40.18 / 40.82 ±0.74 / 42.06 ms │ +1.07x faster │
│ QQuery 84 │         31.72 / 31.81 ±0.05 / 31.85 ms │         30.02 / 30.32 ±0.16 / 30.47 ms │     no change │
│ QQuery 85 │      107.10 / 111.93 ±4.98 / 121.52 ms │       99.14 / 100.04 ±1.09 / 102.12 ms │ +1.12x faster │
│ QQuery 86 │         26.12 / 26.95 ±0.46 / 27.41 ms │         25.39 / 26.19 ±0.72 / 27.13 ms │     no change │
│ QQuery 87 │         61.83 / 62.79 ±0.82 / 64.01 ms │         62.52 / 64.83 ±2.19 / 68.36 ms │     no change │
│ QQuery 88 │         63.31 / 65.00 ±1.73 / 68.28 ms │         63.84 / 64.18 ±0.26 / 64.60 ms │     no change │
│ QQuery 89 │         35.55 / 36.13 ±0.43 / 36.76 ms │         35.49 / 35.70 ±0.15 / 35.93 ms │     no change │
│ QQuery 90 │         17.18 / 17.44 ±0.25 / 17.88 ms │         17.40 / 17.43 ±0.02 / 17.47 ms │     no change │
│ QQuery 91 │         45.54 / 46.04 ±0.36 / 46.45 ms │         45.95 / 47.84 ±2.87 / 53.52 ms │     no change │
│ QQuery 92 │         29.82 / 30.11 ±0.20 / 30.42 ms │         29.46 / 29.95 ±0.30 / 30.39 ms │     no change │
│ QQuery 93 │         49.57 / 51.31 ±1.63 / 53.84 ms │         49.12 / 50.30 ±0.68 / 51.05 ms │     no change │
│ QQuery 94 │         37.33 / 38.35 ±0.64 / 39.28 ms │         37.57 / 37.80 ±0.29 / 38.37 ms │     no change │
│ QQuery 95 │         79.95 / 80.43 ±0.42 / 81.20 ms │         79.93 / 81.97 ±2.27 / 86.07 ms │     no change │
│ QQuery 96 │         24.61 / 24.73 ±0.12 / 24.95 ms │         24.09 / 24.32 ±0.18 / 24.55 ms │     no change │
│ QQuery 97 │         47.60 / 48.83 ±1.94 / 52.69 ms │         46.47 / 47.06 ±0.65 / 48.27 ms │     no change │
│ QQuery 98 │         42.36 / 42.90 ±0.59 / 43.92 ms │         42.82 / 43.18 ±0.27 / 43.46 ms │     no change │
│ QQuery 99 │         70.06 / 70.70 ±0.49 / 71.28 ms │         69.93 / 72.33 ±3.15 / 78.36 ms │     no change │
└───────────┴────────────────────────────────────────┴────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                  ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                  │ 10174.42ms │
│ Total Time (perf_composite-key-join-cardinality)   │ 10043.32ms │
│ Average Time (HEAD)                                │   102.77ms │
│ Average Time (perf_composite-key-join-cardinality) │   101.45ms │
│ Queries Faster                                     │         17 │
│ Queries Slower                                     │          6 │
│ Queries with No Change                             │         76 │
│ Queries with Failure                               │          0 │
└────────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 2.3 GiB
Avg memory 1.5 GiB
CPU user 226.4s
CPU sys 6.2s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 2.0 GiB
Avg memory 1.4 GiB
CPU user 222.0s
CPU sys 6.1s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing perf/composite-key-join-cardinality (891804d) to bb038a6 (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 perf_composite-key-join-cardinality
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_composite-key-join-cardinality ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 0  │    1.24 ms │                             1.22 ms │ no change │
│ QQuery 1  │   11.70 ms │                            11.74 ms │ no change │
│ QQuery 2  │   36.57 ms │                            36.77 ms │ no change │
│ QQuery 3  │   30.87 ms │                            31.04 ms │ no change │
│ QQuery 4  │  223.37 ms │                           217.36 ms │ no change │
│ QQuery 5  │  269.75 ms │                           268.95 ms │ no change │
│ QQuery 6  │    1.27 ms │                             1.29 ms │ no change │
│ QQuery 7  │   13.02 ms │                            13.05 ms │ no change │
│ QQuery 8  │  325.45 ms │                           322.79 ms │ no change │
│ QQuery 9  │  445.18 ms │                           451.04 ms │ no change │
│ QQuery 10 │   68.54 ms │                            68.07 ms │ no change │
│ QQuery 11 │   80.00 ms │                            80.07 ms │ no change │
│ QQuery 12 │  265.30 ms │                           263.17 ms │ no change │
│ QQuery 13 │  362.60 ms │                           358.48 ms │ no change │
│ QQuery 14 │  281.87 ms │                           278.85 ms │ no change │
│ QQuery 15 │  267.16 ms │                           271.51 ms │ no change │
│ QQuery 16 │  611.39 ms │                           611.26 ms │ no change │
│ QQuery 17 │  610.99 ms │                           607.56 ms │ no change │
│ QQuery 18 │ 1246.22 ms │                          1250.22 ms │ no change │
│ QQuery 19 │   27.14 ms │                            27.65 ms │ no change │
│ QQuery 20 │  515.40 ms │                           518.34 ms │ no change │
│ QQuery 21 │  511.12 ms │                           518.10 ms │ no change │
│ QQuery 22 │  978.50 ms │                           982.34 ms │ no change │
│ QQuery 23 │ 3017.42 ms │                          3083.45 ms │ no change │
│ QQuery 24 │   40.98 ms │                            40.96 ms │ no change │
│ QQuery 25 │  110.19 ms │                           109.16 ms │ no change │
│ QQuery 26 │   41.48 ms │                            41.21 ms │ no change │
│ QQuery 27 │  513.96 ms │                           509.48 ms │ no change │
│ QQuery 28 │ 2872.82 ms │                          2878.74 ms │ no change │
│ QQuery 29 │   40.88 ms │                            40.70 ms │ no change │
│ QQuery 30 │  297.82 ms │                           298.58 ms │ no change │
│ QQuery 31 │  277.42 ms │                           281.72 ms │ no change │
│ QQuery 32 │  952.51 ms │                           943.50 ms │ no change │
│ QQuery 33 │ 1421.45 ms │                          1447.33 ms │ no change │
│ QQuery 34 │ 1444.83 ms │                          1462.85 ms │ no change │
│ QQuery 35 │  274.34 ms │                           282.38 ms │ no change │
│ QQuery 36 │   65.79 ms │                            66.93 ms │ no change │
│ QQuery 37 │   35.00 ms │                            35.39 ms │ no change │
│ QQuery 38 │   41.34 ms │                            40.08 ms │ no change │
│ QQuery 39 │  137.15 ms │                           133.73 ms │ no change │
│ QQuery 40 │   13.59 ms │                            13.75 ms │ no change │
│ QQuery 41 │   13.46 ms │                            13.36 ms │ no change │
│ QQuery 42 │   12.81 ms │                            13.14 ms │ no change │
└───────────┴────────────┴─────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                  ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                  │ 18809.87ms │
│ Total Time (perf_composite-key-join-cardinality)   │ 18927.31ms │
│ Average Time (HEAD)                                │   437.44ms │
│ Average Time (perf_composite-key-join-cardinality) │   440.17ms │
│ 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 perf_composite-key-join-cardinality
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃   perf_composite-key-join-cardinality ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.24 / 3.88 ±5.22 / 14.32 ms │          1.22 / 3.89 ±5.27 / 14.42 ms │     no change │
│ QQuery 1  │        11.70 / 11.90 ±0.18 / 12.19 ms │        11.74 / 11.91 ±0.11 / 12.04 ms │     no change │
│ QQuery 2  │        36.57 / 36.84 ±0.21 / 37.16 ms │        36.77 / 36.95 ±0.19 / 37.31 ms │     no change │
│ QQuery 3  │        30.87 / 31.45 ±0.66 / 32.66 ms │        31.04 / 31.93 ±0.89 / 33.02 ms │     no change │
│ QQuery 4  │     223.37 / 225.28 ±2.30 / 229.46 ms │     217.36 / 222.45 ±3.88 / 228.66 ms │     no change │
│ QQuery 5  │     269.75 / 273.97 ±3.86 / 280.71 ms │     268.95 / 270.42 ±1.49 / 272.96 ms │     no change │
│ QQuery 6  │           1.27 / 1.41 ±0.22 / 1.84 ms │           1.29 / 1.43 ±0.22 / 1.86 ms │     no change │
│ QQuery 7  │        13.02 / 13.18 ±0.10 / 13.29 ms │        13.05 / 13.16 ±0.09 / 13.29 ms │     no change │
│ QQuery 8  │     325.45 / 327.49 ±1.70 / 329.75 ms │     322.79 / 326.80 ±2.76 / 330.38 ms │     no change │
│ QQuery 9  │     445.18 / 455.67 ±5.75 / 461.45 ms │     451.04 / 461.56 ±9.35 / 473.59 ms │     no change │
│ QQuery 10 │        68.54 / 69.60 ±1.07 / 71.37 ms │        68.07 / 69.41 ±0.76 / 70.20 ms │     no change │
│ QQuery 11 │        80.00 / 80.45 ±0.36 / 81.05 ms │        80.07 / 80.82 ±0.97 / 82.73 ms │     no change │
│ QQuery 12 │     265.30 / 270.86 ±4.45 / 276.35 ms │     263.17 / 271.18 ±7.00 / 281.58 ms │     no change │
│ QQuery 13 │    362.60 / 378.64 ±14.39 / 396.64 ms │    358.48 / 377.90 ±17.51 / 407.97 ms │     no change │
│ QQuery 14 │     281.87 / 286.75 ±2.90 / 289.27 ms │     278.85 / 285.27 ±7.67 / 299.99 ms │     no change │
│ QQuery 15 │     267.16 / 270.11 ±2.70 / 274.84 ms │     271.51 / 278.18 ±6.39 / 289.34 ms │     no change │
│ QQuery 16 │     611.39 / 617.86 ±8.29 / 634.12 ms │     611.26 / 618.36 ±5.53 / 626.16 ms │     no change │
│ QQuery 17 │    610.99 / 623.94 ±11.04 / 642.70 ms │    607.56 / 620.87 ±12.06 / 639.83 ms │     no change │
│ QQuery 18 │ 1246.22 / 1270.09 ±24.88 / 1317.86 ms │ 1250.22 / 1277.29 ±24.26 / 1322.59 ms │     no change │
│ QQuery 19 │        27.14 / 29.63 ±4.09 / 37.79 ms │        27.65 / 30.10 ±4.69 / 39.47 ms │     no change │
│ QQuery 20 │     515.40 / 524.43 ±8.40 / 537.74 ms │     518.34 / 523.45 ±3.32 / 526.36 ms │     no change │
│ QQuery 21 │     511.12 / 516.81 ±4.34 / 522.98 ms │     518.10 / 528.80 ±5.84 / 534.15 ms │     no change │
│ QQuery 22 │     978.50 / 987.13 ±7.16 / 995.46 ms │     982.34 / 985.78 ±2.11 / 988.01 ms │     no change │
│ QQuery 23 │ 3017.42 / 3061.76 ±26.01 / 3090.97 ms │ 3083.45 / 3107.16 ±17.29 / 3132.80 ms │     no change │
│ QQuery 24 │        40.98 / 44.91 ±4.96 / 54.35 ms │        40.96 / 51.15 ±9.00 / 64.89 ms │  1.14x slower │
│ QQuery 25 │     110.19 / 112.48 ±3.07 / 117.97 ms │     109.16 / 110.73 ±2.18 / 114.97 ms │     no change │
│ QQuery 26 │        41.48 / 44.59 ±3.40 / 48.98 ms │        41.21 / 43.19 ±3.38 / 49.93 ms │     no change │
│ QQuery 27 │     513.96 / 518.28 ±5.08 / 527.88 ms │    509.48 / 522.98 ±15.38 / 552.54 ms │     no change │
│ QQuery 28 │ 2872.82 / 2921.68 ±32.18 / 2972.45 ms │ 2878.74 / 2895.96 ±19.46 / 2921.80 ms │     no change │
│ QQuery 29 │       40.88 / 57.02 ±13.48 / 70.97 ms │       40.70 / 52.84 ±16.63 / 83.79 ms │ +1.08x faster │
│ QQuery 30 │     297.82 / 304.21 ±6.27 / 314.24 ms │    298.58 / 315.53 ±20.35 / 354.98 ms │     no change │
│ QQuery 31 │     277.42 / 284.31 ±5.91 / 292.87 ms │    281.72 / 294.83 ±16.31 / 326.39 ms │     no change │
│ QQuery 32 │   952.51 / 974.06 ±26.40 / 1024.24 ms │    943.50 / 965.04 ±17.10 / 985.10 ms │     no change │
│ QQuery 33 │ 1421.45 / 1472.57 ±39.55 / 1540.68 ms │  1447.33 / 1456.73 ±8.37 / 1472.29 ms │     no change │
│ QQuery 34 │ 1444.83 / 1531.00 ±52.41 / 1609.12 ms │ 1462.85 / 1493.66 ±23.95 / 1532.05 ms │     no change │
│ QQuery 35 │    274.34 / 291.59 ±17.14 / 317.71 ms │    282.38 / 319.06 ±48.90 / 409.19 ms │  1.09x slower │
│ QQuery 36 │        65.79 / 72.37 ±5.92 / 81.10 ms │        66.93 / 68.62 ±0.87 / 69.25 ms │ +1.05x faster │
│ QQuery 37 │        35.00 / 37.93 ±2.51 / 41.24 ms │       35.39 / 47.11 ±13.65 / 72.14 ms │  1.24x slower │
│ QQuery 38 │        41.34 / 46.45 ±4.91 / 54.44 ms │        40.08 / 43.81 ±3.28 / 49.61 ms │ +1.06x faster │
│ QQuery 39 │     137.15 / 147.59 ±6.49 / 157.39 ms │    133.73 / 151.70 ±10.09 / 164.84 ms │     no change │
│ QQuery 40 │        13.59 / 13.85 ±0.22 / 14.25 ms │        13.75 / 15.49 ±2.35 / 20.06 ms │  1.12x slower │
│ QQuery 41 │        13.46 / 15.43 ±1.86 / 18.64 ms │        13.36 / 13.61 ±0.16 / 13.81 ms │ +1.13x faster │
│ QQuery 42 │        12.81 / 14.93 ±2.30 / 18.29 ms │        13.14 / 14.58 ±2.72 / 20.03 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                  ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                  │ 19274.38ms │
│ Total Time (perf_composite-key-join-cardinality)   │ 19311.69ms │
│ Average Time (HEAD)                                │   448.24ms │
│ Average Time (perf_composite-key-join-cardinality) │   449.11ms │
│ Queries Faster                                     │          4 │
│ Queries Slower                                     │          4 │
│ Queries with No Change                             │         35 │
│ Queries with Failure                               │          0 │
└────────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 11.8 GiB
Avg memory 4.4 GiB
CPU user 985.2s
CPU sys 70.0s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 100.0s
Peak memory 12.1 GiB
Avg memory 4.6 GiB
CPU user 983.9s
CPU sys 71.3s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan Dandandan closed this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants