Skip to content

perf: Convert inner joins to semi joins when equivalent#22652

Open
neilconway wants to merge 12 commits into
apache:mainfrom
neilconway:neilc/perf-fd-convert-to-semi-join
Open

perf: Convert inner joins to semi joins when equivalent#22652
neilconway wants to merge 12 commits into
apache:mainfrom
neilconway:neilc/perf-fd-convert-to-semi-join

Conversation

@neilconway

@neilconway neilconway commented May 30, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

This PR extends the EliminateJoin rewrite pass to replace inner joins with semi joins in some cases. An inner join L ⋈ R can be rewritten to a left semi join L ⋉ R if two conditions hold:

  1. None of R's columns are referenced above the join
  2. (a) each L row matches at most one R row, OR (b) the consumers of the join result are insensitive to duplicates

(And symmetrically with right semi joins.)

What changes are included in this PR?

  • Add for_each_referenced_index helper that is used by both EliminateJoin and EliminateProjections
  • Introduce LiveColumns type to track the "live" (referenced by parent) columns of a plan node
  • Add inner -> semi join rewrite to EliminateJoin
  • Add unit and SLT tests for rewrite behavior
  • Update SLT test fixtures for plan changes

Are these changes tested?

Yes; new tests added.

Are there any user-facing changes?

Some plan changes but no behavioral changes.

@neilconway

Copy link
Copy Markdown
Contributor Author

run benchmarks tpcds

@github-actions github-actions Bot added optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt) labels May 30, 2026
@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4583581776-374-57xj4 6.12.68+ #1 SMP Wed Apr 1 02:23:28 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 neilc/perf-fd-convert-to-semi-join (39eb398) to 2e7b8e1 (merge-base) diff using: tpcds
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.88 / 6.36 ±0.87 / 8.09 ms │           5.88 / 6.37 ±0.84 / 8.04 ms │     no change │
│ QQuery 2  │        83.85 / 84.09 ±0.16 / 84.34 ms │        81.07 / 81.37 ±0.30 / 81.93 ms │     no change │
│ QQuery 3  │        29.21 / 29.38 ±0.15 / 29.57 ms │        28.93 / 29.19 ±0.24 / 29.64 ms │     no change │
│ QQuery 4  │     500.03 / 505.73 ±3.64 / 509.52 ms │     500.62 / 508.07 ±4.31 / 512.96 ms │     no change │
│ QQuery 5  │        51.79 / 52.37 ±0.58 / 53.39 ms │        52.02 / 52.45 ±0.31 / 52.81 ms │     no change │
│ QQuery 6  │        36.90 / 37.30 ±0.22 / 37.56 ms │        36.71 / 37.35 ±0.34 / 37.69 ms │     no change │
│ QQuery 7  │       95.53 / 99.00 ±4.83 / 108.52 ms │       95.18 / 97.20 ±3.27 / 103.71 ms │     no change │
│ QQuery 8  │        37.41 / 37.74 ±0.21 / 38.02 ms │        37.33 / 37.87 ±0.41 / 38.53 ms │     no change │
│ QQuery 9  │        52.94 / 55.44 ±1.39 / 56.69 ms │        54.46 / 55.28 ±1.34 / 57.95 ms │     no change │
│ QQuery 10 │        69.05 / 69.65 ±0.34 / 70.10 ms │        71.19 / 71.41 ±0.20 / 71.72 ms │     no change │
│ QQuery 11 │     305.57 / 308.21 ±1.54 / 309.77 ms │     312.30 / 314.57 ±1.43 / 316.52 ms │     no change │
│ QQuery 12 │        28.79 / 29.05 ±0.30 / 29.64 ms │        28.73 / 29.19 ±0.28 / 29.52 ms │     no change │
│ QQuery 13 │     119.82 / 121.61 ±1.64 / 123.63 ms │     119.62 / 120.65 ±0.99 / 122.35 ms │     no change │
│ QQuery 14 │    503.08 / 512.86 ±12.20 / 536.80 ms │     434.41 / 436.01 ±1.15 / 437.98 ms │ +1.18x faster │
│ QQuery 15 │        59.46 / 61.70 ±2.44 / 66.41 ms │        60.27 / 60.73 ±0.35 / 61.21 ms │     no change │
│ QQuery 16 │          6.72 / 7.76 ±1.60 / 10.90 ms │           6.89 / 7.10 ±0.25 / 7.56 ms │ +1.09x faster │
│ QQuery 17 │        80.81 / 81.89 ±1.26 / 84.04 ms │        80.43 / 82.52 ±2.07 / 86.12 ms │     no change │
│ QQuery 18 │     125.26 / 126.59 ±0.90 / 127.44 ms │     125.61 / 127.33 ±1.02 / 128.34 ms │     no change │
│ QQuery 19 │        42.09 / 42.32 ±0.14 / 42.46 ms │        41.98 / 42.84 ±0.74 / 44.22 ms │     no change │
│ QQuery 20 │        36.32 / 36.75 ±0.31 / 37.11 ms │        35.98 / 38.05 ±2.50 / 42.92 ms │     no change │
│ QQuery 21 │        17.12 / 17.45 ±0.25 / 17.71 ms │        17.27 / 17.60 ±0.22 / 17.95 ms │     no change │
│ QQuery 22 │        63.23 / 63.65 ±0.34 / 64.18 ms │        63.17 / 63.78 ±0.39 / 64.34 ms │     no change │
│ QQuery 23 │     481.60 / 486.16 ±3.31 / 490.47 ms │     475.13 / 484.22 ±5.97 / 493.00 ms │     no change │
│ QQuery 24 │     223.93 / 228.08 ±4.13 / 235.57 ms │    226.76 / 234.79 ±10.07 / 253.97 ms │     no change │
│ QQuery 25 │     113.59 / 117.62 ±6.79 / 131.17 ms │     114.98 / 117.61 ±1.82 / 120.52 ms │     no change │
│ QQuery 26 │        58.99 / 59.44 ±0.33 / 59.94 ms │        58.59 / 61.74 ±3.89 / 67.77 ms │     no change │
│ QQuery 27 │           6.61 / 6.73 ±0.15 / 7.02 ms │           6.90 / 7.03 ±0.16 / 7.35 ms │     no change │
│ QQuery 28 │        61.39 / 61.63 ±0.19 / 61.86 ms │        57.64 / 60.32 ±1.91 / 62.38 ms │     no change │
│ QQuery 29 │      98.49 / 102.20 ±3.46 / 107.67 ms │       98.19 / 99.99 ±1.75 / 103.35 ms │     no change │
│ QQuery 30 │        33.01 / 33.38 ±0.52 / 34.40 ms │        33.58 / 36.53 ±2.37 / 40.55 ms │  1.09x slower │
│ QQuery 31 │     111.53 / 112.43 ±0.48 / 112.85 ms │     113.46 / 114.95 ±1.43 / 117.55 ms │     no change │
│ QQuery 32 │        20.57 / 21.58 ±1.22 / 23.94 ms │        20.79 / 21.07 ±0.26 / 21.56 ms │     no change │
│ QQuery 33 │        38.55 / 38.81 ±0.28 / 39.35 ms │        38.74 / 39.09 ±0.27 / 39.53 ms │     no change │
│ QQuery 34 │         9.87 / 10.26 ±0.34 / 10.86 ms │         9.84 / 11.89 ±3.76 / 19.39 ms │  1.16x slower │
│ QQuery 35 │        77.99 / 78.72 ±0.50 / 79.56 ms │        84.74 / 86.94 ±3.04 / 92.92 ms │  1.10x slower │
│ QQuery 36 │           5.83 / 5.96 ±0.16 / 6.28 ms │           6.05 / 6.18 ±0.16 / 6.48 ms │     no change │
│ QQuery 37 │           6.86 / 7.03 ±0.16 / 7.32 ms │           6.93 / 7.27 ±0.33 / 7.88 ms │     no change │
│ QQuery 38 │        63.49 / 65.37 ±1.87 / 68.54 ms │        65.30 / 66.24 ±0.97 / 67.95 ms │     no change │
│ QQuery 39 │       98.95 / 99.87 ±0.58 / 100.54 ms │     103.03 / 105.71 ±2.56 / 110.27 ms │  1.06x slower │
│ QQuery 40 │        23.35 / 23.59 ±0.13 / 23.72 ms │        23.88 / 24.47 ±0.35 / 24.90 ms │     no change │
│ QQuery 41 │        11.59 / 11.83 ±0.16 / 12.03 ms │        11.96 / 12.10 ±0.08 / 12.19 ms │     no change │
│ QQuery 42 │        24.11 / 24.50 ±0.28 / 24.82 ms │        24.50 / 24.77 ±0.36 / 25.44 ms │     no change │
│ QQuery 43 │           4.84 / 4.96 ±0.13 / 5.22 ms │           4.88 / 5.00 ±0.12 / 5.23 ms │     no change │
│ QQuery 44 │        10.79 / 12.36 ±2.91 / 18.18 ms │        10.92 / 10.97 ±0.05 / 11.06 ms │ +1.13x faster │
│ QQuery 45 │        39.07 / 40.63 ±1.55 / 43.28 ms │        39.80 / 40.11 ±0.28 / 40.51 ms │     no change │
│ QQuery 46 │        12.23 / 12.45 ±0.21 / 12.78 ms │        11.88 / 13.43 ±1.84 / 16.96 ms │  1.08x slower │
│ QQuery 47 │     236.87 / 242.06 ±6.08 / 253.35 ms │     239.01 / 244.23 ±5.06 / 252.86 ms │     no change │
│ QQuery 48 │        98.09 / 98.74 ±0.57 / 99.56 ms │        97.78 / 98.31 ±0.65 / 99.55 ms │     no change │
│ QQuery 49 │        77.60 / 80.15 ±3.96 / 88.03 ms │        78.68 / 84.07 ±6.05 / 94.48 ms │     no change │
│ QQuery 50 │        58.93 / 59.65 ±0.43 / 60.20 ms │        60.10 / 61.31 ±0.76 / 62.32 ms │     no change │
│ QQuery 51 │        92.69 / 95.75 ±2.80 / 99.57 ms │        95.04 / 96.05 ±0.83 / 96.94 ms │     no change │
│ QQuery 52 │        24.40 / 25.09 ±0.66 / 25.96 ms │        24.72 / 25.41 ±0.88 / 27.03 ms │     no change │
│ QQuery 53 │        30.03 / 30.37 ±0.22 / 30.62 ms │        29.97 / 31.87 ±3.36 / 38.57 ms │     no change │
│ QQuery 54 │        56.56 / 56.87 ±0.46 / 57.76 ms │        67.14 / 68.60 ±0.98 / 70.02 ms │  1.21x slower │
│ QQuery 55 │        24.01 / 24.30 ±0.32 / 24.93 ms │        24.05 / 24.48 ±0.35 / 25.07 ms │     no change │
│ QQuery 56 │        38.77 / 39.31 ±0.56 / 40.16 ms │        39.72 / 39.81 ±0.06 / 39.86 ms │     no change │
│ QQuery 57 │     176.71 / 179.38 ±3.17 / 185.17 ms │     179.72 / 183.21 ±4.55 / 192.18 ms │     no change │
│ QQuery 58 │     119.83 / 120.49 ±0.60 / 121.42 ms │     118.81 / 120.45 ±1.81 / 123.80 ms │     no change │
│ QQuery 59 │     120.57 / 121.68 ±1.96 / 125.58 ms │     118.02 / 118.45 ±0.40 / 119.07 ms │     no change │
│ QQuery 60 │        39.05 / 39.90 ±0.73 / 41.10 ms │        39.64 / 41.26 ±2.14 / 45.48 ms │     no change │
│ QQuery 61 │        12.51 / 12.63 ±0.11 / 12.82 ms │        12.89 / 12.99 ±0.09 / 13.11 ms │     no change │
│ QQuery 62 │        46.03 / 46.50 ±0.35 / 47.04 ms │        46.89 / 47.23 ±0.27 / 47.59 ms │     no change │
│ QQuery 63 │        30.00 / 30.29 ±0.16 / 30.46 ms │        29.78 / 29.88 ±0.11 / 30.07 ms │     no change │
│ QQuery 64 │    395.34 / 406.51 ±10.69 / 420.20 ms │    308.27 / 323.70 ±11.92 / 337.79 ms │ +1.26x faster │
│ QQuery 65 │     144.94 / 147.69 ±2.22 / 151.74 ms │     142.76 / 144.02 ±0.90 / 145.42 ms │     no change │
│ QQuery 66 │        79.42 / 79.91 ±0.38 / 80.45 ms │        80.80 / 85.56 ±5.80 / 95.81 ms │  1.07x slower │
│ QQuery 67 │     253.59 / 260.67 ±4.66 / 267.38 ms │     258.21 / 263.86 ±5.75 / 271.13 ms │     no change │
│ QQuery 68 │        11.85 / 12.00 ±0.18 / 12.35 ms │        11.90 / 12.06 ±0.12 / 12.21 ms │     no change │
│ QQuery 69 │        63.66 / 64.05 ±0.34 / 64.53 ms │        65.01 / 71.70 ±7.31 / 81.31 ms │  1.12x slower │
│ QQuery 70 │     107.16 / 114.79 ±6.73 / 124.33 ms │     106.61 / 111.06 ±4.50 / 119.53 ms │     no change │
│ QQuery 71 │        36.04 / 36.53 ±0.70 / 37.90 ms │        35.15 / 35.79 ±0.43 / 36.34 ms │     no change │
│ QQuery 72 │ 2136.47 / 2205.41 ±52.63 / 2277.75 ms │ 2149.93 / 2231.16 ±53.78 / 2319.41 ms │     no change │
│ QQuery 73 │          9.54 / 9.85 ±0.21 / 10.05 ms │         9.35 / 11.90 ±4.72 / 21.34 ms │  1.21x slower │
│ QQuery 74 │     183.88 / 188.42 ±5.31 / 198.16 ms │     174.42 / 180.76 ±4.96 / 189.73 ms │     no change │
│ QQuery 75 │     149.99 / 153.48 ±3.75 / 160.62 ms │     149.13 / 151.48 ±2.51 / 156.00 ms │     no change │
│ QQuery 76 │        36.58 / 39.16 ±4.44 / 48.02 ms │        35.72 / 36.11 ±0.23 / 36.33 ms │ +1.08x faster │
│ QQuery 77 │        60.22 / 60.88 ±0.54 / 61.49 ms │        61.38 / 65.48 ±3.93 / 70.57 ms │  1.08x slower │
│ QQuery 78 │     190.21 / 195.04 ±4.34 / 202.86 ms │     189.67 / 196.82 ±7.47 / 210.91 ms │     no change │
│ QQuery 79 │        67.77 / 67.98 ±0.30 / 68.59 ms │        67.78 / 68.22 ±0.40 / 68.74 ms │     no change │
│ QQuery 80 │     101.04 / 103.35 ±1.85 / 106.43 ms │     100.83 / 101.81 ±0.96 / 103.45 ms │     no change │
│ QQuery 81 │        25.80 / 26.14 ±0.19 / 26.39 ms │        26.47 / 29.22 ±4.49 / 38.11 ms │  1.12x slower │
│ QQuery 82 │        16.68 / 17.37 ±1.06 / 19.48 ms │        16.35 / 17.18 ±0.95 / 18.98 ms │     no change │
│ QQuery 83 │        39.57 / 39.95 ±0.32 / 40.49 ms │        40.51 / 41.24 ±0.51 / 41.86 ms │     no change │
│ QQuery 84 │        34.73 / 35.18 ±0.35 / 35.68 ms │        35.21 / 35.43 ±0.19 / 35.71 ms │     no change │
│ QQuery 85 │     110.43 / 115.52 ±4.98 / 123.79 ms │     108.81 / 111.55 ±4.37 / 120.24 ms │     no change │
│ QQuery 86 │        25.22 / 25.78 ±0.29 / 26.06 ms │        25.39 / 25.66 ±0.22 / 25.93 ms │     no change │
│ QQuery 87 │        64.65 / 66.07 ±2.11 / 70.28 ms │        66.99 / 67.64 ±0.52 / 68.53 ms │     no change │
│ QQuery 88 │        62.75 / 63.31 ±0.51 / 64.07 ms │        62.22 / 62.99 ±0.54 / 63.84 ms │     no change │
│ QQuery 89 │        35.64 / 35.97 ±0.17 / 36.11 ms │        36.43 / 37.98 ±1.78 / 41.46 ms │  1.06x slower │
│ QQuery 90 │        17.13 / 17.24 ±0.06 / 17.32 ms │        17.30 / 17.48 ±0.19 / 17.83 ms │     no change │
│ QQuery 91 │        45.59 / 45.99 ±0.26 / 46.28 ms │        45.46 / 45.93 ±0.29 / 46.21 ms │     no change │
│ QQuery 92 │        29.37 / 30.11 ±0.41 / 30.59 ms │        30.37 / 30.95 ±0.32 / 31.23 ms │     no change │
│ QQuery 93 │        51.68 / 52.05 ±0.20 / 52.28 ms │        52.11 / 52.69 ±0.42 / 53.39 ms │     no change │
│ QQuery 94 │        38.62 / 39.09 ±0.32 / 39.56 ms │        40.01 / 42.38 ±2.48 / 45.47 ms │  1.08x slower │
│ QQuery 95 │        83.71 / 84.33 ±0.39 / 84.92 ms │        84.08 / 85.97 ±1.74 / 88.75 ms │     no change │
│ QQuery 96 │        24.19 / 24.47 ±0.20 / 24.68 ms │        24.56 / 24.88 ±0.18 / 25.05 ms │     no change │
│ QQuery 97 │        45.66 / 48.20 ±2.01 / 51.09 ms │        50.21 / 50.64 ±0.28 / 50.95 ms │  1.05x slower │
│ QQuery 98 │        42.61 / 43.75 ±0.78 / 44.93 ms │        43.08 / 45.25 ±1.99 / 48.82 ms │     no change │
│ QQuery 99 │        70.10 / 70.41 ±0.19 / 70.65 ms │        70.47 / 70.85 ±0.28 / 71.17 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 10382.31ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 10324.36ms │
│ Average Time (HEAD)                               │   104.87ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   104.29ms │
│ Queries Faster                                    │          5 │
│ Queries Slower                                    │         14 │
│ Queries with No Change                            │         80 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 7.0 GiB
Avg memory 6.3 GiB
CPU user 239.6s
CPU sys 6.8s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 6.9 GiB
Avg memory 6.0 GiB
CPU user 240.8s
CPU sys 7.0s
Peak spill 0 B

File an issue against this benchmark runner

@neilconway neilconway marked this pull request as ready for review May 31, 2026 13:33
Comment on lines +80 to +83
/// The columns that are "live" at a plan node, i.e., which of its output
/// columns are referenced by an ancestor node. Represented as a set of column
/// indices, relative to the node's schema.
type LiveColumns = HashSet<usize>;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. This is similar but not identical to the RequiredIndices data structure used by OptimizeProjections. RequiredIndices cares about insertion order but we don't, so it seemed cleaner to use a different data structure here.
  2. It would be better to use a bitmap than a HashSet. We could do so by adding a dependency on a third-party bitmap implementation (e.g., https://github.com/petgraph/fixedbitset, which one of our indirect dependencies already pulls in). But the performance impact should be small, so I'm not sure it's worth adding the dep.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You could potentially use arrow BooleanBufferBuilder as a mutable bitset: https://docs.rs/arrow/latest/arrow/array/struct.BooleanBufferBuilder.html

Not sure if that is actually faster or not

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

BooleanBufferBuilder would be awkward for what we need (i.e., variably-sized mutable bitmap, iterating over just the set bits, etc.)

Now that LiveColumns is a proper type, we can always switch this later. I'm inclined to leave as-is for now, I don't think the performance difference will be large.

@neilconway

Copy link
Copy Markdown
Contributor Author

Digging into some of the TPC-DS query plan changes, we ran into two different planner bugs: #22679 and #22674. This PR will also benefit (on TPC-DS and TPC-H) from landing #22646

@Dandandan

Copy link
Copy Markdown
Contributor

run benchmarks

@Dandandan

Copy link
Copy Markdown
Contributor

run benchmark tpch10

@adriangbot

Copy link
Copy Markdown

Benchmark for this request failed.

Last 20 lines of output:

Click to expand
Cloning into '/workspace/datafusion-branch'...
From https://github.com/apache/datafusion
 * [new ref]         refs/pull/22652/head -> neilc/perf-fd-convert-to-semi-join
 * branch            main                 -> FETCH_HEAD
Switched to branch 'neilc/perf-fd-convert-to-semi-join'
5c92390921d8d667aa7cb7d56276a59ba36926f4
Cloning into '/workspace/datafusion-base'...
HEAD is now at 5c92390 perf(optimizer): EliminateCrossJoin fast-path for join-free plans (#22612)
rustc 1.95.0 (59807616e 2026-04-14)
2daef07cdf11d845914ca30f313693b5c53ab101
5c92390921d8d667aa7cb7d56276a59ba36926f4

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

Benchmark for this request failed.

Last 20 lines of output:

Click to expand
Cloning into '/workspace/datafusion-branch'...
From https://github.com/apache/datafusion
 * [new ref]         refs/pull/22652/head -> neilc/perf-fd-convert-to-semi-join
 * branch            main                 -> FETCH_HEAD
Switched to branch 'neilc/perf-fd-convert-to-semi-join'
5c92390921d8d667aa7cb7d56276a59ba36926f4
Cloning into '/workspace/datafusion-base'...
HEAD is now at 5c92390 perf(optimizer): EliminateCrossJoin fast-path for join-free plans (#22612)
rustc 1.95.0 (59807616e 2026-04-14)
2daef07cdf11d845914ca30f313693b5c53ab101
5c92390921d8d667aa7cb7d56276a59ba36926f4

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

Benchmark for this request failed.

Last 20 lines of output:

Click to expand
Cloning into '/workspace/datafusion-branch'...
From https://github.com/apache/datafusion
 * [new ref]         refs/pull/22652/head -> neilc/perf-fd-convert-to-semi-join
 * branch            main                 -> FETCH_HEAD
Switched to branch 'neilc/perf-fd-convert-to-semi-join'
5c92390921d8d667aa7cb7d56276a59ba36926f4
Cloning into '/workspace/datafusion-base'...
HEAD is now at 5c92390 perf(optimizer): EliminateCrossJoin fast-path for join-free plans (#22612)
rustc 1.95.0 (59807616e 2026-04-14)
2daef07cdf11d845914ca30f313693b5c53ab101
5c92390921d8d667aa7cb7d56276a59ba36926f4

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor

@neilconway FYI quite some plans changed now 🚀

Can you take a look at the PR

@neilconway

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-c4603881427-404-pgljs 6.12.68+ #1 SMP Wed Apr 1 02:23:28 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 neilc/perf-fd-convert-to-semi-join (6b1d38a) to 7843ab3 (merge-base) diff using: 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-c4603881427-405-5jfvt 6.12.68+ #1 SMP Wed Apr 1 02:23:28 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 neilc/perf-fd-convert-to-semi-join (6b1d38a) to 7843ab3 (merge-base) diff using: 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-c4603881427-406-48w5q 6.12.68+ #1 SMP Wed Apr 1 02:23:28 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 neilc/perf-fd-convert-to-semi-join (6b1d38a) to 7843ab3 (merge-base) diff using: tpch
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 38.16 / 40.11 ±1.09 / 41.38 ms │     38.02 / 40.13 ±1.12 / 41.31 ms │     no change │
│ QQuery 2  │ 18.26 / 18.66 ±0.32 / 19.19 ms │     18.29 / 18.52 ±0.21 / 18.91 ms │     no change │
│ QQuery 3  │ 31.31 / 32.69 ±0.78 / 33.39 ms │     30.88 / 32.58 ±2.20 / 36.92 ms │     no change │
│ QQuery 4  │ 17.06 / 18.16 ±1.08 / 20.05 ms │     17.01 / 17.16 ±0.12 / 17.37 ms │ +1.06x faster │
│ QQuery 5  │ 37.71 / 39.84 ±1.81 / 42.40 ms │     37.86 / 39.89 ±1.87 / 43.11 ms │     no change │
│ QQuery 6  │ 15.84 / 15.95 ±0.13 / 16.17 ms │     15.98 / 16.19 ±0.13 / 16.35 ms │     no change │
│ QQuery 7  │ 44.07 / 45.81 ±1.52 / 48.47 ms │     43.90 / 45.41 ±1.09 / 46.55 ms │     no change │
│ QQuery 8  │ 42.66 / 43.61 ±1.15 / 45.87 ms │     42.66 / 43.38 ±0.81 / 44.96 ms │     no change │
│ QQuery 9  │ 48.43 / 49.89 ±1.00 / 51.46 ms │     49.15 / 49.88 ±0.65 / 50.68 ms │     no change │
│ QQuery 10 │ 41.84 / 42.51 ±1.26 / 45.03 ms │     41.63 / 42.22 ±0.93 / 44.08 ms │     no change │
│ QQuery 11 │ 13.13 / 13.26 ±0.10 / 13.40 ms │     13.30 / 13.85 ±0.34 / 14.17 ms │     no change │
│ QQuery 12 │ 23.87 / 24.39 ±0.34 / 24.89 ms │     24.04 / 24.85 ±1.16 / 27.08 ms │     no change │
│ QQuery 13 │ 31.86 / 34.35 ±3.33 / 40.93 ms │     31.47 / 33.89 ±1.48 / 35.51 ms │     no change │
│ QQuery 14 │ 23.50 / 23.74 ±0.15 / 23.92 ms │     23.50 / 23.75 ±0.35 / 24.41 ms │     no change │
│ QQuery 15 │ 30.94 / 31.79 ±0.88 / 33.18 ms │     31.09 / 32.18 ±1.36 / 34.73 ms │     no change │
│ QQuery 16 │ 13.92 / 14.16 ±0.25 / 14.58 ms │     13.84 / 13.99 ±0.15 / 14.25 ms │     no change │
│ QQuery 17 │ 72.18 / 72.78 ±0.70 / 74.09 ms │     71.95 / 72.65 ±0.37 / 73.04 ms │     no change │
│ QQuery 18 │ 56.88 / 59.62 ±2.45 / 63.89 ms │     58.34 / 60.12 ±1.93 / 63.55 ms │     no change │
│ QQuery 19 │ 33.22 / 34.57 ±2.01 / 38.55 ms │     32.78 / 32.96 ±0.24 / 33.42 ms │     no change │
│ QQuery 20 │ 32.12 / 32.45 ±0.43 / 33.26 ms │     31.67 / 32.16 ±0.58 / 33.29 ms │     no change │
│ QQuery 21 │ 55.39 / 56.23 ±0.61 / 56.89 ms │     54.73 / 57.24 ±1.35 / 58.84 ms │     no change │
│ QQuery 22 │ 13.38 / 13.76 ±0.27 / 14.20 ms │     13.57 / 13.82 ±0.21 / 14.14 ms │     no change │
└───────────┴────────────────────────────────┴────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 758.33ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 756.81ms │
│ Average Time (HEAD)                               │  34.47ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │  34.40ms │
│ 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 5.7 GiB
Avg memory 4.9 GiB
CPU user 29.6s
CPU sys 2.2s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 5.6 GiB
Avg memory 4.9 GiB
CPU user 29.8s
CPU sys 2.2s
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.91 / 6.37 ±0.83 / 8.03 ms │           5.35 / 5.84 ±0.77 / 7.38 ms │ +1.09x faster │
│ QQuery 2  │        81.53 / 81.88 ±0.34 / 82.41 ms │        81.02 / 81.23 ±0.19 / 81.57 ms │     no change │
│ QQuery 3  │        29.05 / 29.25 ±0.17 / 29.50 ms │        28.65 / 29.04 ±0.33 / 29.47 ms │     no change │
│ QQuery 4  │     482.24 / 489.58 ±6.67 / 499.96 ms │     488.39 / 491.82 ±2.82 / 495.82 ms │     no change │
│ QQuery 5  │        51.99 / 52.85 ±1.24 / 55.23 ms │        52.15 / 52.78 ±0.45 / 53.55 ms │     no change │
│ QQuery 6  │        36.51 / 36.94 ±0.25 / 37.25 ms │        37.93 / 38.19 ±0.39 / 38.96 ms │     no change │
│ QQuery 7  │        96.13 / 96.62 ±0.40 / 97.26 ms │        95.29 / 95.97 ±0.38 / 96.44 ms │     no change │
│ QQuery 8  │        37.12 / 38.77 ±2.92 / 44.60 ms │        37.68 / 39.38 ±2.38 / 44.04 ms │     no change │
│ QQuery 9  │        53.04 / 54.78 ±1.38 / 56.75 ms │        53.05 / 55.10 ±1.87 / 57.65 ms │     no change │
│ QQuery 10 │        68.55 / 68.94 ±0.32 / 69.35 ms │        70.65 / 70.89 ±0.18 / 71.10 ms │     no change │
│ QQuery 11 │     296.98 / 303.11 ±4.47 / 307.54 ms │     299.21 / 305.66 ±6.37 / 317.88 ms │     no change │
│ QQuery 12 │        28.65 / 29.06 ±0.34 / 29.58 ms │        28.98 / 29.51 ±0.44 / 30.30 ms │     no change │
│ QQuery 13 │     119.58 / 121.00 ±1.45 / 123.60 ms │     119.09 / 120.34 ±1.19 / 122.40 ms │     no change │
│ QQuery 14 │     508.14 / 509.13 ±1.09 / 511.11 ms │     439.21 / 445.24 ±3.41 / 449.50 ms │ +1.14x faster │
│ QQuery 15 │        59.46 / 60.22 ±1.11 / 62.41 ms │        59.45 / 59.74 ±0.29 / 60.16 ms │     no change │
│ QQuery 16 │           6.74 / 6.89 ±0.14 / 7.14 ms │           6.39 / 6.54 ±0.15 / 6.77 ms │     no change │
│ QQuery 17 │        81.44 / 83.60 ±3.33 / 90.23 ms │        79.94 / 81.46 ±1.93 / 85.28 ms │     no change │
│ QQuery 18 │     125.81 / 126.96 ±0.81 / 127.95 ms │     124.59 / 126.03 ±1.34 / 128.36 ms │     no change │
│ QQuery 19 │        42.14 / 42.59 ±0.62 / 43.83 ms │        42.41 / 43.33 ±1.12 / 45.46 ms │     no change │
│ QQuery 20 │        35.71 / 36.32 ±0.49 / 37.15 ms │        35.94 / 37.42 ±1.83 / 40.84 ms │     no change │
│ QQuery 21 │        17.06 / 17.40 ±0.29 / 17.87 ms │        17.22 / 17.46 ±0.18 / 17.73 ms │     no change │
│ QQuery 22 │        62.18 / 62.82 ±0.65 / 63.62 ms │        64.09 / 64.73 ±0.66 / 65.97 ms │     no change │
│ QQuery 23 │     344.25 / 347.44 ±3.35 / 353.70 ms │     353.88 / 358.01 ±4.86 / 367.13 ms │     no change │
│ QQuery 24 │     224.45 / 227.70 ±2.04 / 230.33 ms │     226.28 / 230.16 ±3.19 / 235.16 ms │     no change │
│ QQuery 25 │     114.11 / 117.10 ±3.27 / 121.89 ms │     112.63 / 113.81 ±0.78 / 114.73 ms │     no change │
│ QQuery 26 │        58.32 / 58.75 ±0.28 / 59.01 ms │        57.67 / 59.31 ±2.16 / 63.50 ms │     no change │
│ QQuery 27 │           6.69 / 6.86 ±0.17 / 7.14 ms │           6.04 / 6.15 ±0.18 / 6.51 ms │ +1.11x faster │
│ QQuery 28 │        56.14 / 58.86 ±2.26 / 61.17 ms │        61.11 / 61.57 ±0.39 / 62.17 ms │     no change │
│ QQuery 29 │      98.70 / 102.35 ±2.19 / 104.75 ms │       96.57 / 98.94 ±2.46 / 102.50 ms │     no change │
│ QQuery 30 │        32.01 / 32.64 ±0.57 / 33.69 ms │        32.15 / 32.79 ±0.61 / 33.86 ms │     no change │
│ QQuery 31 │     111.26 / 112.40 ±0.89 / 113.99 ms │     111.60 / 112.26 ±0.39 / 112.69 ms │     no change │
│ QQuery 32 │        20.26 / 20.56 ±0.23 / 20.87 ms │        20.35 / 21.54 ±1.58 / 24.64 ms │     no change │
│ QQuery 33 │        38.67 / 39.20 ±0.47 / 39.94 ms │        38.31 / 40.33 ±2.58 / 45.27 ms │     no change │
│ QQuery 34 │           9.44 / 9.56 ±0.17 / 9.87 ms │          9.42 / 9.92 ±0.51 / 10.73 ms │     no change │
│ QQuery 35 │        76.39 / 77.05 ±0.46 / 77.72 ms │        80.47 / 80.86 ±0.30 / 81.37 ms │     no change │
│ QQuery 36 │           5.98 / 6.08 ±0.13 / 6.34 ms │           5.56 / 5.73 ±0.16 / 6.02 ms │ +1.06x faster │
│ QQuery 37 │           6.80 / 6.87 ±0.06 / 6.94 ms │           6.75 / 6.83 ±0.06 / 6.92 ms │     no change │
│ QQuery 38 │        63.21 / 63.78 ±0.49 / 64.63 ms │        63.45 / 63.60 ±0.17 / 63.88 ms │     no change │
│ QQuery 39 │     455.07 / 461.24 ±6.31 / 472.99 ms │     453.44 / 461.88 ±5.82 / 469.32 ms │     no change │
│ QQuery 40 │        23.40 / 23.55 ±0.11 / 23.69 ms │        23.10 / 23.37 ±0.25 / 23.84 ms │     no change │
│ QQuery 41 │        11.33 / 11.48 ±0.20 / 11.87 ms │        11.35 / 11.50 ±0.17 / 11.81 ms │     no change │
│ QQuery 42 │        23.77 / 24.01 ±0.25 / 24.44 ms │        23.90 / 24.12 ±0.20 / 24.50 ms │     no change │
│ QQuery 43 │           4.96 / 5.03 ±0.09 / 5.21 ms │           4.83 / 4.93 ±0.11 / 5.14 ms │     no change │
│ QQuery 44 │        10.69 / 10.86 ±0.11 / 11.03 ms │        10.65 / 10.84 ±0.14 / 11.06 ms │     no change │
│ QQuery 45 │        38.82 / 42.12 ±4.00 / 48.54 ms │        38.62 / 39.18 ±0.51 / 40.00 ms │ +1.07x faster │
│ QQuery 46 │        11.95 / 12.38 ±0.35 / 12.78 ms │        11.37 / 13.56 ±3.67 / 20.88 ms │  1.10x slower │
│ QQuery 47 │     228.82 / 237.15 ±8.00 / 251.53 ms │     229.58 / 232.48 ±2.88 / 237.75 ms │     no change │
│ QQuery 48 │        97.98 / 98.31 ±0.34 / 98.95 ms │        97.79 / 98.25 ±0.24 / 98.44 ms │     no change │
│ QQuery 49 │        77.90 / 79.07 ±1.03 / 80.36 ms │        75.37 / 76.29 ±0.71 / 77.36 ms │     no change │
│ QQuery 50 │        60.06 / 60.67 ±0.43 / 61.17 ms │        58.68 / 62.11 ±4.31 / 70.59 ms │     no change │
│ QQuery 51 │        91.85 / 93.42 ±1.34 / 95.54 ms │        93.63 / 95.45 ±2.30 / 99.87 ms │     no change │
│ QQuery 52 │        24.36 / 27.49 ±5.72 / 38.93 ms │        24.19 / 24.61 ±0.26 / 24.96 ms │ +1.12x faster │
│ QQuery 53 │        29.93 / 30.49 ±0.47 / 31.11 ms │        29.36 / 30.50 ±1.85 / 34.15 ms │     no change │
│ QQuery 54 │        55.88 / 56.45 ±0.45 / 57.15 ms │        59.18 / 60.97 ±2.58 / 66.09 ms │  1.08x slower │
│ QQuery 55 │        23.66 / 23.94 ±0.20 / 24.27 ms │        24.80 / 25.24 ±0.34 / 25.64 ms │  1.05x slower │
│ QQuery 56 │        39.36 / 39.66 ±0.29 / 40.14 ms │        38.83 / 39.54 ±0.65 / 40.57 ms │     no change │
│ QQuery 57 │     177.37 / 180.54 ±4.39 / 189.11 ms │     179.17 / 182.70 ±3.27 / 188.28 ms │     no change │
│ QQuery 58 │     117.96 / 118.89 ±0.78 / 120.06 ms │     118.07 / 119.97 ±3.33 / 126.63 ms │     no change │
│ QQuery 59 │     117.58 / 118.27 ±0.53 / 119.13 ms │     117.64 / 118.91 ±0.82 / 120.08 ms │     no change │
│ QQuery 60 │        39.81 / 42.18 ±2.10 / 46.02 ms │        39.39 / 40.13 ±0.60 / 40.87 ms │     no change │
│ QQuery 61 │        13.26 / 13.47 ±0.18 / 13.77 ms │        11.87 / 12.03 ±0.18 / 12.36 ms │ +1.12x faster │
│ QQuery 62 │        46.55 / 46.80 ±0.24 / 47.11 ms │        48.50 / 50.37 ±3.54 / 57.45 ms │  1.08x slower │
│ QQuery 63 │        29.68 / 30.02 ±0.18 / 30.20 ms │        29.64 / 30.77 ±1.18 / 33.01 ms │     no change │
│ QQuery 64 │     399.67 / 406.48 ±5.64 / 415.41 ms │     416.48 / 417.98 ±1.56 / 420.05 ms │     no change │
│ QQuery 65 │     146.32 / 150.97 ±4.38 / 157.42 ms │     150.86 / 153.24 ±2.38 / 157.81 ms │     no change │
│ QQuery 66 │        80.05 / 80.64 ±0.50 / 81.49 ms │        79.75 / 80.86 ±1.75 / 84.30 ms │     no change │
│ QQuery 67 │     245.84 / 253.33 ±6.11 / 260.74 ms │     245.11 / 250.61 ±6.17 / 259.53 ms │     no change │
│ QQuery 68 │        11.93 / 14.28 ±4.35 / 22.97 ms │        11.49 / 11.68 ±0.22 / 12.12 ms │ +1.22x faster │
│ QQuery 69 │        62.71 / 63.49 ±0.49 / 64.19 ms │        64.76 / 66.03 ±1.44 / 68.81 ms │     no change │
│ QQuery 70 │     105.03 / 106.60 ±1.08 / 107.83 ms │     108.68 / 112.40 ±4.10 / 120.27 ms │  1.05x slower │
│ QQuery 71 │        35.93 / 40.21 ±6.77 / 53.66 ms │        35.86 / 36.35 ±0.34 / 36.76 ms │ +1.11x faster │
│ QQuery 72 │ 2180.04 / 2260.82 ±81.28 / 2402.80 ms │ 2098.65 / 2192.07 ±51.73 / 2248.50 ms │     no change │
│ QQuery 73 │           9.18 / 9.47 ±0.24 / 9.90 ms │           9.20 / 9.38 ±0.28 / 9.93 ms │     no change │
│ QQuery 74 │     169.87 / 175.30 ±8.14 / 191.45 ms │     168.81 / 172.36 ±2.51 / 175.69 ms │     no change │
│ QQuery 75 │     147.88 / 149.66 ±1.22 / 151.38 ms │     147.98 / 151.59 ±5.67 / 162.77 ms │     no change │
│ QQuery 76 │        35.56 / 36.31 ±0.40 / 36.78 ms │        35.14 / 35.75 ±0.45 / 36.42 ms │     no change │
│ QQuery 77 │        60.94 / 61.57 ±0.46 / 62.12 ms │        61.38 / 64.84 ±4.56 / 73.80 ms │  1.05x slower │
│ QQuery 78 │     188.89 / 195.10 ±7.06 / 207.96 ms │     190.28 / 192.88 ±1.91 / 195.96 ms │     no change │
│ QQuery 79 │        67.28 / 67.69 ±0.24 / 67.97 ms │        68.31 / 69.43 ±1.21 / 71.79 ms │     no change │
│ QQuery 80 │     101.35 / 107.06 ±5.45 / 114.93 ms │      99.20 / 100.32 ±0.84 / 101.21 ms │ +1.07x faster │
│ QQuery 81 │        25.80 / 26.01 ±0.21 / 26.27 ms │        25.47 / 26.17 ±1.03 / 28.18 ms │     no change │
│ QQuery 82 │        16.09 / 16.31 ±0.16 / 16.55 ms │        16.56 / 17.38 ±1.05 / 19.38 ms │  1.07x slower │
│ QQuery 83 │        39.59 / 39.98 ±0.39 / 40.63 ms │        39.81 / 40.81 ±1.04 / 42.54 ms │     no change │
│ QQuery 84 │        34.27 / 34.49 ±0.19 / 34.75 ms │        34.51 / 34.85 ±0.27 / 35.22 ms │     no change │
│ QQuery 85 │     108.72 / 112.44 ±5.08 / 122.36 ms │     107.43 / 109.33 ±2.52 / 114.28 ms │     no change │
│ QQuery 86 │        25.07 / 25.26 ±0.21 / 25.66 ms │        26.85 / 27.05 ±0.16 / 27.34 ms │  1.07x slower │
│ QQuery 87 │        63.23 / 63.58 ±0.40 / 64.08 ms │        63.82 / 65.36 ±1.91 / 68.90 ms │     no change │
│ QQuery 88 │        62.06 / 64.44 ±3.22 / 70.83 ms │        65.21 / 65.69 ±0.29 / 66.05 ms │     no change │
│ QQuery 89 │        35.75 / 36.35 ±0.37 / 36.91 ms │        35.86 / 37.69 ±2.69 / 43.03 ms │     no change │
│ QQuery 90 │        16.68 / 16.91 ±0.21 / 17.23 ms │        17.36 / 17.59 ±0.21 / 17.91 ms │     no change │
│ QQuery 91 │        44.76 / 45.10 ±0.28 / 45.50 ms │        44.82 / 45.28 ±0.29 / 45.64 ms │     no change │
│ QQuery 92 │        28.88 / 29.10 ±0.21 / 29.45 ms │        30.45 / 30.86 ±0.31 / 31.32 ms │  1.06x slower │
│ QQuery 93 │        51.31 / 53.93 ±3.43 / 60.44 ms │        49.94 / 51.24 ±0.74 / 52.23 ms │     no change │
│ QQuery 94 │        38.75 / 39.19 ±0.47 / 40.08 ms │        39.28 / 39.63 ±0.26 / 39.97 ms │     no change │
│ QQuery 95 │        83.25 / 83.65 ±0.24 / 83.94 ms │        82.59 / 83.79 ±1.81 / 87.38 ms │     no change │
│ QQuery 96 │        23.83 / 24.15 ±0.22 / 24.49 ms │        24.97 / 25.22 ±0.26 / 25.61 ms │     no change │
│ QQuery 97 │        46.08 / 47.97 ±2.68 / 53.29 ms │        49.69 / 50.00 ±0.44 / 50.85 ms │     no change │
│ QQuery 98 │        42.52 / 43.50 ±0.79 / 44.73 ms │        42.87 / 43.28 ±0.44 / 44.05 ms │     no change │
│ QQuery 99 │        69.65 / 70.34 ±0.47 / 71.00 ms │        72.85 / 74.47 ±2.28 / 78.93 ms │  1.06x slower │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 10581.45ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 10492.69ms │
│ Average Time (HEAD)                               │   106.88ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   105.99ms │
│ Queries Faster                                    │         10 │
│ Queries Slower                                    │         10 │
│ Queries with No Change                            │         79 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 6.6 GiB
Avg memory 6.1 GiB
CPU user 242.4s
CPU sys 6.5s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 6.6 GiB
Avg memory 6.1 GiB
CPU user 241.4s
CPU sys 6.4s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.17 / 3.36 ±4.33 / 12.02 ms │          1.20 / 3.33 ±4.17 / 11.66 ms │     no change │
│ QQuery 1  │        12.40 / 12.52 ±0.06 / 12.59 ms │        12.17 / 12.51 ±0.21 / 12.71 ms │     no change │
│ QQuery 2  │        35.25 / 35.52 ±0.26 / 35.99 ms │        35.54 / 35.82 ±0.22 / 36.17 ms │     no change │
│ QQuery 3  │        30.68 / 31.50 ±1.06 / 33.55 ms │        30.75 / 31.02 ±0.41 / 31.84 ms │     no change │
│ QQuery 4  │     224.47 / 227.31 ±2.81 / 232.24 ms │     224.17 / 226.29 ±1.83 / 229.10 ms │     no change │
│ QQuery 5  │     272.92 / 274.33 ±0.94 / 275.40 ms │     271.52 / 275.28 ±3.29 / 280.68 ms │     no change │
│ QQuery 6  │           1.19 / 1.34 ±0.23 / 1.79 ms │           1.24 / 1.41 ±0.24 / 1.88 ms │     no change │
│ QQuery 7  │        13.48 / 13.79 ±0.29 / 14.24 ms │        13.63 / 13.85 ±0.19 / 14.09 ms │     no change │
│ QQuery 8  │     322.67 / 325.22 ±1.91 / 328.01 ms │     321.43 / 325.87 ±3.70 / 332.01 ms │     no change │
│ QQuery 9  │     457.60 / 463.43 ±3.90 / 469.48 ms │     455.09 / 461.73 ±6.00 / 471.62 ms │     no change │
│ QQuery 10 │        69.32 / 70.49 ±1.26 / 72.90 ms │        70.38 / 71.94 ±1.02 / 73.21 ms │     no change │
│ QQuery 11 │        81.52 / 82.22 ±0.58 / 83.27 ms │        81.09 / 82.73 ±1.30 / 84.84 ms │     no change │
│ QQuery 12 │     266.61 / 275.08 ±5.32 / 282.15 ms │     268.04 / 272.41 ±3.43 / 276.52 ms │     no change │
│ QQuery 13 │     370.81 / 376.30 ±7.17 / 390.44 ms │    369.31 / 386.20 ±10.05 / 398.71 ms │     no change │
│ QQuery 14 │     284.74 / 288.99 ±3.80 / 294.43 ms │     282.14 / 286.11 ±3.27 / 290.90 ms │     no change │
│ QQuery 15 │     267.79 / 272.21 ±3.36 / 277.11 ms │     268.16 / 279.24 ±9.27 / 293.85 ms │     no change │
│ QQuery 16 │     617.85 / 628.68 ±6.69 / 636.38 ms │     619.57 / 627.77 ±7.85 / 641.64 ms │     no change │
│ QQuery 17 │     634.67 / 638.51 ±2.94 / 641.59 ms │    614.89 / 634.47 ±14.25 / 658.26 ms │     no change │
│ QQuery 18 │ 1288.35 / 1315.10 ±18.32 / 1343.54 ms │ 1252.48 / 1298.76 ±36.41 / 1340.75 ms │     no change │
│ QQuery 19 │        27.49 / 29.96 ±4.62 / 39.18 ms │       27.74 / 37.43 ±11.80 / 54.75 ms │  1.25x slower │
│ QQuery 20 │     515.41 / 527.96 ±8.27 / 538.25 ms │    518.17 / 535.55 ±17.56 / 566.38 ms │     no change │
│ QQuery 21 │     595.22 / 599.02 ±3.16 / 603.35 ms │     595.18 / 599.69 ±3.28 / 604.31 ms │     no change │
│ QQuery 22 │  1062.26 / 1071.42 ±5.77 / 1079.04 ms │  1071.48 / 1078.60 ±7.81 / 1092.73 ms │     no change │
│ QQuery 23 │ 3202.83 / 3229.02 ±24.81 / 3273.48 ms │ 3209.54 / 3240.20 ±32.53 / 3287.65 ms │     no change │
│ QQuery 24 │        41.56 / 45.82 ±6.89 / 59.53 ms │        41.27 / 44.04 ±3.34 / 50.52 ms │     no change │
│ QQuery 25 │    111.96 / 119.40 ±11.56 / 142.31 ms │    111.06 / 121.38 ±16.15 / 153.23 ms │     no change │
│ QQuery 26 │        41.95 / 43.63 ±2.26 / 48.03 ms │        42.02 / 44.82 ±3.69 / 52.03 ms │     no change │
│ QQuery 27 │     671.54 / 677.86 ±5.23 / 683.82 ms │     670.99 / 678.74 ±6.15 / 687.34 ms │     no change │
│ QQuery 28 │ 3039.44 / 3070.75 ±30.19 / 3112.22 ms │ 3039.37 / 3058.30 ±20.30 / 3096.23 ms │     no change │
│ QQuery 29 │        40.17 / 44.46 ±5.86 / 55.46 ms │       40.15 / 61.27 ±25.98 / 99.91 ms │  1.38x slower │
│ QQuery 30 │    295.89 / 310.12 ±11.15 / 322.86 ms │     298.01 / 305.21 ±5.02 / 312.28 ms │     no change │
│ QQuery 31 │     285.29 / 298.04 ±9.62 / 314.53 ms │    289.96 / 305.04 ±20.97 / 346.61 ms │     no change │
│ QQuery 32 │   950.29 / 984.73 ±22.89 / 1005.85 ms │   941.41 / 989.15 ±29.65 / 1032.07 ms │     no change │
│ QQuery 33 │ 1452.98 / 1496.00 ±43.12 / 1574.57 ms │ 1466.85 / 1484.13 ±17.93 / 1513.86 ms │     no change │
│ QQuery 34 │ 1468.64 / 1535.60 ±54.25 / 1601.85 ms │ 1455.60 / 1482.68 ±22.05 / 1517.88 ms │     no change │
│ QQuery 35 │    273.02 / 300.76 ±28.30 / 354.39 ms │    277.06 / 345.21 ±94.29 / 531.72 ms │  1.15x slower │
│ QQuery 36 │        67.60 / 77.40 ±9.33 / 94.80 ms │        65.53 / 69.51 ±3.17 / 74.97 ms │ +1.11x faster │
│ QQuery 37 │        35.44 / 40.66 ±4.59 / 47.02 ms │        35.41 / 36.64 ±0.85 / 37.94 ms │ +1.11x faster │
│ QQuery 38 │        43.28 / 45.27 ±3.52 / 52.27 ms │        39.76 / 41.05 ±1.25 / 42.84 ms │ +1.10x faster │
│ QQuery 39 │     140.64 / 149.87 ±6.25 / 159.68 ms │    141.40 / 152.89 ±13.79 / 179.54 ms │     no change │
│ QQuery 40 │        14.02 / 16.45 ±4.38 / 25.21 ms │        13.87 / 14.35 ±0.45 / 15.11 ms │ +1.15x faster │
│ QQuery 41 │        13.43 / 15.20 ±2.65 / 20.32 ms │        13.19 / 13.54 ±0.19 / 13.75 ms │ +1.12x faster │
│ QQuery 42 │        12.61 / 12.95 ±0.20 / 13.24 ms │        12.78 / 12.97 ±0.16 / 13.24 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 20078.22ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 20079.14ms │
│ Average Time (HEAD)                               │   466.94ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   466.96ms │
│ Queries Faster                                    │          5 │
│ Queries Slower                                    │          3 │
│ Queries with No Change                            │         35 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 105.0s
Peak memory 30.5 GiB
Avg memory 22.7 GiB
CPU user 1028.0s
CPU sys 77.2s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 105.0s
Peak memory 29.8 GiB
Avg memory 23.0 GiB
CPU user 1026.2s
CPU sys 77.8s
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpch_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                               HEAD ┃ neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │  321.56 / 322.69 ±0.91 / 323.72 ms │  312.53 / 322.87 ±5.23 / 326.24 ms │     no change │
│ QQuery 2  │  106.32 / 109.27 ±2.24 / 112.56 ms │  104.62 / 109.92 ±3.28 / 112.80 ms │     no change │
│ QQuery 3  │  256.49 / 259.56 ±1.80 / 261.40 ms │  235.93 / 241.91 ±4.10 / 248.47 ms │ +1.07x faster │
│ QQuery 4  │  121.63 / 124.99 ±1.91 / 126.61 ms │  114.00 / 117.16 ±1.79 / 118.62 ms │ +1.07x faster │
│ QQuery 5  │ 354.10 / 368.29 ±11.55 / 384.28 ms │  348.07 / 353.19 ±6.15 / 365.16 ms │     no change │
│ QQuery 6  │  125.18 / 127.31 ±2.41 / 130.69 ms │  124.19 / 126.36 ±1.13 / 127.47 ms │     no change │
│ QQuery 7  │  466.29 / 476.62 ±8.18 / 488.44 ms │  457.14 / 466.10 ±6.90 / 474.61 ms │     no change │
│ QQuery 8  │  377.99 / 386.24 ±7.06 / 394.66 ms │  379.37 / 387.84 ±4.77 / 392.70 ms │     no change │
│ QQuery 9  │ 555.46 / 589.37 ±23.93 / 624.64 ms │ 550.01 / 564.24 ±14.12 / 585.26 ms │     no change │
│ QQuery 10 │  303.12 / 313.94 ±6.79 / 321.27 ms │  298.63 / 307.77 ±6.12 / 316.94 ms │     no change │
│ QQuery 11 │     85.87 / 90.05 ±4.31 / 98.26 ms │    85.65 / 91.17 ±8.80 / 108.60 ms │     no change │
│ QQuery 12 │ 177.26 / 185.87 ±10.03 / 205.09 ms │ 177.81 / 190.91 ±15.56 / 220.92 ms │     no change │
│ QQuery 13 │ 280.58 / 291.26 ±10.18 / 305.86 ms │  309.45 / 314.14 ±3.70 / 319.46 ms │  1.08x slower │
│ QQuery 14 │  175.14 / 177.73 ±2.79 / 181.93 ms │  182.11 / 183.23 ±1.12 / 185.25 ms │     no change │
│ QQuery 15 │  307.21 / 310.45 ±2.12 / 313.74 ms │  326.30 / 329.97 ±3.04 / 334.41 ms │  1.06x slower │
│ QQuery 16 │     64.62 / 67.08 ±2.10 / 70.40 ms │     69.51 / 71.99 ±2.50 / 76.77 ms │  1.07x slower │
│ QQuery 17 │  624.03 / 632.57 ±7.61 / 645.00 ms │ 659.25 / 699.91 ±22.60 / 727.73 ms │  1.11x slower │
│ QQuery 18 │ 686.08 / 737.90 ±44.53 / 807.48 ms │ 657.25 / 691.47 ±18.80 / 713.12 ms │ +1.07x faster │
│ QQuery 19 │ 254.00 / 272.79 ±18.04 / 297.52 ms │ 247.92 / 270.60 ±21.68 / 299.70 ms │     no change │
│ QQuery 20 │ 281.02 / 294.26 ±11.91 / 315.23 ms │  280.79 / 290.10 ±8.06 / 304.00 ms │     no change │
│ QQuery 21 │ 753.03 / 779.14 ±29.81 / 833.05 ms │ 685.08 / 713.14 ±22.16 / 743.38 ms │ +1.09x faster │
│ QQuery 22 │   61.78 / 71.48 ±18.25 / 107.96 ms │     63.68 / 64.72 ±0.93 / 65.92 ms │ +1.10x faster │
└───────────┴────────────────────────────────────┴────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 6988.89ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 6908.70ms │
│ Average Time (HEAD)                               │  317.68ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │  314.03ms │
│ Queries Faster                                    │         5 │
│ Queries Slower                                    │         4 │
│ Queries with No Change                            │        13 │
│ Queries with Failure                              │         0 │
└───────────────────────────────────────────────────┴───────────┘

Resource Usage

tpch10 — base (merge-base)

Metric Value
Wall time 40.0s
Peak memory 12.4 GiB
Avg memory 8.6 GiB
CPU user 362.0s
CPU sys 23.8s
Peak spill 0 B

tpch10 — branch

Metric Value
Wall time 35.0s
Peak memory 11.7 GiB
Avg memory 8.5 GiB
CPU user 360.9s
CPU sys 22.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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃     neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           6.34 / 6.87 ±0.90 / 8.67 ms │            5.40 / 5.91 ±0.80 / 7.51 ms │ +1.16x faster │
│ QQuery 2  │        81.52 / 82.62 ±0.86 / 84.05 ms │         80.61 / 80.87 ±0.26 / 81.31 ms │     no change │
│ QQuery 3  │        29.19 / 29.59 ±0.34 / 30.15 ms │         28.90 / 29.33 ±0.26 / 29.68 ms │     no change │
│ QQuery 4  │    516.77 / 544.79 ±17.34 / 563.21 ms │     498.54 / 540.56 ±32.79 / 573.66 ms │     no change │
│ QQuery 5  │        51.82 / 52.79 ±0.84 / 53.92 ms │         54.36 / 54.47 ±0.13 / 54.73 ms │     no change │
│ QQuery 6  │        36.72 / 37.49 ±1.15 / 39.76 ms │         39.68 / 40.39 ±0.43 / 40.97 ms │  1.08x slower │
│ QQuery 7  │       96.47 / 98.41 ±1.63 / 100.85 ms │       97.87 / 100.58 ±2.97 / 106.35 ms │     no change │
│ QQuery 8  │        36.92 / 37.34 ±0.25 / 37.66 ms │         38.78 / 39.28 ±0.35 / 39.83 ms │  1.05x slower │
│ QQuery 9  │        53.83 / 56.64 ±2.00 / 60.01 ms │         54.55 / 56.09 ±0.99 / 57.54 ms │     no change │
│ QQuery 10 │        64.94 / 67.14 ±3.64 / 74.40 ms │         66.38 / 68.65 ±3.95 / 76.52 ms │     no change │
│ QQuery 11 │    298.48 / 317.31 ±20.61 / 351.55 ms │      350.88 / 356.31 ±4.69 / 363.52 ms │  1.12x slower │
│ QQuery 12 │        29.20 / 30.16 ±0.50 / 30.70 ms │         30.30 / 32.08 ±2.51 / 37.01 ms │  1.06x slower │
│ QQuery 13 │     122.25 / 124.09 ±1.82 / 127.30 ms │      120.78 / 125.07 ±3.02 / 129.75 ms │     no change │
│ QQuery 14 │     417.17 / 422.58 ±5.62 / 433.47 ms │      444.89 / 453.89 ±4.93 / 460.03 ms │  1.07x slower │
│ QQuery 15 │        58.02 / 59.65 ±1.05 / 60.97 ms │         59.26 / 62.70 ±2.49 / 65.50 ms │  1.05x slower │
│ QQuery 16 │           6.87 / 7.03 ±0.21 / 7.44 ms │            6.48 / 6.62 ±0.23 / 7.09 ms │ +1.06x faster │
│ QQuery 17 │        81.38 / 83.10 ±1.78 / 85.40 ms │         82.10 / 83.33 ±1.05 / 84.64 ms │     no change │
│ QQuery 18 │     125.69 / 130.30 ±3.30 / 134.44 ms │      124.02 / 127.62 ±1.99 / 129.95 ms │     no change │
│ QQuery 19 │        42.98 / 44.81 ±2.10 / 48.88 ms │         42.58 / 42.93 ±0.34 / 43.43 ms │     no change │
│ QQuery 20 │        35.44 / 36.06 ±0.41 / 36.48 ms │         36.26 / 37.31 ±1.16 / 39.07 ms │     no change │
│ QQuery 21 │        17.06 / 17.31 ±0.20 / 17.58 ms │         17.25 / 17.59 ±0.45 / 18.42 ms │     no change │
│ QQuery 22 │        63.65 / 67.37 ±2.86 / 71.11 ms │         64.69 / 67.27 ±1.50 / 69.23 ms │     no change │
│ QQuery 23 │     323.24 / 329.05 ±6.33 / 341.18 ms │      372.13 / 378.45 ±5.07 / 384.04 ms │  1.15x slower │
│ QQuery 24 │     226.78 / 227.79 ±0.83 / 228.92 ms │      229.19 / 231.74 ±3.42 / 238.23 ms │     no change │
│ QQuery 25 │     111.45 / 113.30 ±1.58 / 115.49 ms │      110.67 / 112.34 ±2.28 / 116.86 ms │     no change │
│ QQuery 26 │        57.75 / 58.81 ±1.40 / 61.56 ms │         57.29 / 59.30 ±1.65 / 61.28 ms │     no change │
│ QQuery 27 │           6.73 / 6.83 ±0.14 / 7.09 ms │           6.84 / 8.20 ±2.46 / 13.12 ms │  1.20x slower │
│ QQuery 28 │        56.92 / 60.50 ±2.90 / 63.24 ms │         59.30 / 61.69 ±1.30 / 62.86 ms │     no change │
│ QQuery 29 │      97.00 / 102.16 ±5.91 / 110.89 ms │        97.59 / 98.51 ±0.95 / 100.21 ms │     no change │
│ QQuery 30 │        32.31 / 33.04 ±0.49 / 33.63 ms │         33.73 / 34.68 ±0.56 / 35.33 ms │     no change │
│ QQuery 31 │     111.86 / 114.28 ±2.00 / 117.38 ms │      111.24 / 114.19 ±3.28 / 120.05 ms │     no change │
│ QQuery 32 │        20.56 / 22.45 ±2.84 / 28.09 ms │         20.22 / 20.51 ±0.31 / 21.10 ms │ +1.10x faster │
│ QQuery 33 │        38.53 / 39.56 ±0.84 / 41.10 ms │         38.24 / 39.07 ±0.56 / 39.82 ms │     no change │
│ QQuery 34 │          9.37 / 9.76 ±0.38 / 10.40 ms │         10.40 / 10.66 ±0.21 / 10.92 ms │  1.09x slower │
│ QQuery 35 │        71.38 / 74.89 ±3.69 / 80.14 ms │         74.06 / 74.97 ±1.04 / 76.35 ms │     no change │
│ QQuery 36 │           6.14 / 6.40 ±0.31 / 6.97 ms │            5.57 / 5.71 ±0.20 / 6.11 ms │ +1.12x faster │
│ QQuery 37 │           6.86 / 6.99 ±0.15 / 7.29 ms │            6.86 / 6.94 ±0.09 / 7.07 ms │     no change │
│ QQuery 38 │        63.20 / 64.93 ±3.05 / 71.03 ms │         63.49 / 63.80 ±0.40 / 64.58 ms │     no change │
│ QQuery 39 │     458.11 / 465.93 ±9.88 / 484.83 ms │      454.61 / 459.50 ±3.70 / 463.28 ms │     no change │
│ QQuery 40 │        23.31 / 23.53 ±0.21 / 23.92 ms │         23.47 / 24.87 ±2.20 / 29.23 ms │  1.06x slower │
│ QQuery 41 │        11.73 / 12.09 ±0.32 / 12.68 ms │         11.48 / 11.61 ±0.22 / 12.06 ms │     no change │
│ QQuery 42 │        23.56 / 24.72 ±0.95 / 25.87 ms │         24.04 / 25.48 ±1.99 / 29.41 ms │     no change │
│ QQuery 43 │           4.90 / 4.97 ±0.08 / 5.09 ms │            4.96 / 5.08 ±0.15 / 5.37 ms │     no change │
│ QQuery 44 │           8.93 / 9.01 ±0.10 / 9.18 ms │            8.99 / 9.12 ±0.12 / 9.30 ms │     no change │
│ QQuery 45 │        37.72 / 38.43 ±0.48 / 38.96 ms │         38.51 / 39.14 ±0.51 / 39.89 ms │     no change │
│ QQuery 46 │        11.41 / 13.06 ±2.98 / 19.01 ms │         11.35 / 11.67 ±0.33 / 12.27 ms │ +1.12x faster │
│ QQuery 47 │    229.86 / 250.82 ±15.79 / 275.01 ms │     225.16 / 235.86 ±10.71 / 254.95 ms │ +1.06x faster │
│ QQuery 48 │      99.40 / 100.03 ±0.45 / 100.73 ms │       98.01 / 100.79 ±2.62 / 104.95 ms │     no change │
│ QQuery 49 │        79.08 / 83.69 ±4.51 / 90.77 ms │         75.97 / 76.57 ±0.66 / 77.84 ms │ +1.09x faster │
│ QQuery 50 │        59.71 / 60.30 ±0.47 / 61.12 ms │         59.04 / 60.36 ±1.49 / 62.52 ms │     no change │
│ QQuery 51 │        92.94 / 95.21 ±1.32 / 96.79 ms │         91.56 / 93.01 ±1.51 / 95.88 ms │     no change │
│ QQuery 52 │        24.43 / 25.91 ±2.35 / 30.58 ms │         24.12 / 24.33 ±0.28 / 24.88 ms │ +1.07x faster │
│ QQuery 53 │        29.97 / 31.20 ±1.92 / 35.02 ms │         29.27 / 29.54 ±0.22 / 29.77 ms │ +1.06x faster │
│ QQuery 54 │        55.50 / 56.28 ±0.48 / 56.96 ms │         54.85 / 56.01 ±0.64 / 56.60 ms │     no change │
│ QQuery 55 │        23.67 / 24.31 ±0.59 / 25.12 ms │         24.27 / 26.74 ±2.65 / 31.81 ms │  1.10x slower │
│ QQuery 56 │        39.62 / 39.97 ±0.40 / 40.74 ms │         39.32 / 39.97 ±0.65 / 41.14 ms │     no change │
│ QQuery 57 │     177.82 / 180.32 ±1.26 / 181.20 ms │      175.17 / 179.95 ±4.90 / 188.80 ms │     no change │
│ QQuery 58 │     117.74 / 118.95 ±1.18 / 121.18 ms │      116.27 / 117.34 ±1.17 / 119.41 ms │     no change │
│ QQuery 59 │     118.01 / 118.61 ±0.42 / 119.05 ms │      118.72 / 120.35 ±1.47 / 123.05 ms │     no change │
│ QQuery 60 │        40.37 / 42.59 ±2.48 / 47.19 ms │         40.91 / 41.37 ±0.35 / 41.85 ms │     no change │
│ QQuery 61 │        14.30 / 14.78 ±0.69 / 16.15 ms │         12.21 / 12.30 ±0.12 / 12.53 ms │ +1.20x faster │
│ QQuery 62 │        48.35 / 49.00 ±0.43 / 49.49 ms │         49.91 / 50.06 ±0.20 / 50.45 ms │     no change │
│ QQuery 63 │        29.85 / 30.18 ±0.43 / 30.98 ms │         30.23 / 31.37 ±1.19 / 33.64 ms │     no change │
│ QQuery 64 │    397.52 / 408.47 ±12.16 / 430.51 ms │      411.49 / 416.43 ±7.84 / 432.04 ms │     no change │
│ QQuery 65 │     144.30 / 150.03 ±5.00 / 158.10 ms │      148.61 / 150.43 ±2.35 / 154.94 ms │     no change │
│ QQuery 66 │        80.21 / 80.77 ±0.45 / 81.41 ms │        82.12 / 87.43 ±6.97 / 101.02 ms │  1.08x slower │
│ QQuery 67 │     271.82 / 277.16 ±6.47 / 288.46 ms │     245.39 / 254.98 ±11.22 / 276.02 ms │ +1.09x faster │
│ QQuery 68 │        11.96 / 12.59 ±0.59 / 13.51 ms │         11.39 / 11.53 ±0.19 / 11.91 ms │ +1.09x faster │
│ QQuery 69 │        57.03 / 58.03 ±0.62 / 58.85 ms │         57.96 / 59.52 ±1.52 / 62.11 ms │     no change │
│ QQuery 70 │     104.85 / 109.52 ±5.19 / 119.38 ms │      107.54 / 115.40 ±6.54 / 124.31 ms │  1.05x slower │
│ QQuery 71 │        35.86 / 41.70 ±8.02 / 57.39 ms │         36.33 / 37.23 ±0.91 / 38.91 ms │ +1.12x faster │
│ QQuery 72 │ 2084.05 / 2200.11 ±85.89 / 2305.38 ms │ 2040.14 / 2225.10 ±116.89 / 2343.93 ms │     no change │
│ QQuery 73 │         9.71 / 10.36 ±0.67 / 11.45 ms │            9.13 / 9.41 ±0.24 / 9.83 ms │ +1.10x faster │
│ QQuery 74 │     169.80 / 176.26 ±5.26 / 184.44 ms │      173.00 / 179.59 ±4.95 / 187.53 ms │     no change │
│ QQuery 75 │     146.40 / 149.52 ±1.88 / 152.00 ms │      148.02 / 149.58 ±1.69 / 152.56 ms │     no change │
│ QQuery 76 │        35.54 / 36.04 ±0.61 / 36.83 ms │         35.57 / 37.36 ±1.02 / 38.59 ms │     no change │
│ QQuery 77 │        61.70 / 64.82 ±4.48 / 73.72 ms │         61.21 / 63.31 ±3.44 / 70.15 ms │     no change │
│ QQuery 78 │     193.60 / 197.52 ±4.08 / 204.94 ms │      189.55 / 193.59 ±3.63 / 199.54 ms │     no change │
│ QQuery 79 │        67.30 / 69.43 ±2.05 / 72.43 ms │         68.66 / 70.66 ±2.95 / 76.53 ms │     no change │
│ QQuery 80 │     101.55 / 105.94 ±3.71 / 112.32 ms │       99.80 / 102.99 ±2.72 / 107.40 ms │     no change │
│ QQuery 81 │        25.91 / 26.28 ±0.30 / 26.64 ms │         25.57 / 25.77 ±0.17 / 26.04 ms │     no change │
│ QQuery 82 │        16.73 / 16.93 ±0.20 / 17.31 ms │         16.82 / 19.16 ±3.44 / 25.84 ms │  1.13x slower │
│ QQuery 83 │        40.71 / 41.88 ±0.85 / 42.97 ms │         39.35 / 41.35 ±2.42 / 46.01 ms │     no change │
│ QQuery 84 │        34.99 / 35.77 ±0.67 / 36.98 ms │         30.20 / 31.11 ±0.71 / 32.37 ms │ +1.15x faster │
│ QQuery 85 │     110.02 / 114.66 ±5.83 / 125.54 ms │      106.85 / 108.00 ±1.42 / 110.62 ms │ +1.06x faster │
│ QQuery 86 │        25.46 / 25.68 ±0.17 / 25.94 ms │         26.16 / 27.24 ±1.82 / 30.87 ms │  1.06x slower │
│ QQuery 87 │        64.36 / 66.89 ±2.34 / 71.17 ms │         63.68 / 64.79 ±1.39 / 67.51 ms │     no change │
│ QQuery 88 │        63.48 / 65.89 ±3.50 / 72.85 ms │         65.68 / 66.70 ±1.06 / 68.48 ms │     no change │
│ QQuery 89 │        36.41 / 36.89 ±0.56 / 37.96 ms │         35.87 / 36.34 ±0.38 / 36.80 ms │     no change │
│ QQuery 90 │        17.20 / 17.59 ±0.23 / 17.83 ms │         17.50 / 18.98 ±2.39 / 23.72 ms │  1.08x slower │
│ QQuery 91 │        45.52 / 46.41 ±0.60 / 47.25 ms │         46.14 / 47.65 ±1.62 / 50.63 ms │     no change │
│ QQuery 92 │        29.66 / 30.35 ±0.46 / 30.94 ms │         30.81 / 31.08 ±0.22 / 31.35 ms │     no change │
│ QQuery 93 │        51.50 / 54.04 ±2.56 / 57.63 ms │         50.58 / 53.13 ±1.32 / 54.31 ms │     no change │
│ QQuery 94 │        39.16 / 40.13 ±0.80 / 41.47 ms │         39.15 / 39.91 ±0.76 / 41.10 ms │     no change │
│ QQuery 95 │        85.18 / 87.42 ±1.68 / 89.39 ms │         82.07 / 84.71 ±2.57 / 88.56 ms │     no change │
│ QQuery 96 │        25.17 / 25.30 ±0.07 / 25.37 ms │         25.36 / 25.76 ±0.31 / 26.28 ms │     no change │
│ QQuery 97 │        48.34 / 50.05 ±2.27 / 54.37 ms │         50.17 / 51.99 ±1.29 / 53.54 ms │     no change │
│ QQuery 98 │        42.73 / 44.09 ±0.79 / 44.79 ms │         43.38 / 44.42 ±0.68 / 45.19 ms │     no change │
│ QQuery 99 │        71.07 / 71.28 ±0.23 / 71.70 ms │         72.80 / 75.15 ±2.95 / 79.74 ms │  1.05x slower │
└───────────┴───────────────────────────────────────┴────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 10583.89ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 10689.84ms │
│ Average Time (HEAD)                               │   106.91ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   107.98ms │
│ Queries Faster                                    │         16 │
│ Queries Slower                                    │         17 │
│ Queries with No Change                            │         66 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 6.8 GiB
Avg memory 6.2 GiB
CPU user 241.0s
CPU sys 7.0s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 6.8 GiB
Avg memory 6.2 GiB
CPU user 243.1s
CPU sys 6.5s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor

run benchmark tpch10

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4637799786-460-m4s2q 6.12.68+ #1 SMP Wed Apr 1 02:23:28 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 neilc/perf-fd-convert-to-semi-join (0e66e47) to 3c4034c (merge-base) diff using: tpch10
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.16 / 3.33 ±4.26 / 11.84 ms │          1.21 / 3.31 ±4.14 / 11.60 ms │     no change │
│ QQuery 1  │        12.43 / 12.65 ±0.17 / 12.95 ms │        12.59 / 12.78 ±0.12 / 12.96 ms │     no change │
│ QQuery 2  │        35.86 / 36.40 ±0.38 / 36.90 ms │        35.62 / 35.99 ±0.43 / 36.81 ms │     no change │
│ QQuery 3  │        31.18 / 31.65 ±0.74 / 33.11 ms │        31.01 / 31.13 ±0.14 / 31.39 ms │     no change │
│ QQuery 4  │     220.64 / 225.56 ±5.27 / 232.15 ms │     221.10 / 224.47 ±2.04 / 226.72 ms │     no change │
│ QQuery 5  │     269.44 / 273.35 ±2.32 / 275.41 ms │     268.36 / 271.22 ±2.03 / 273.78 ms │     no change │
│ QQuery 6  │           1.19 / 1.34 ±0.22 / 1.78 ms │           1.24 / 1.39 ±0.24 / 1.86 ms │     no change │
│ QQuery 7  │        13.42 / 13.64 ±0.12 / 13.74 ms │        13.61 / 13.75 ±0.11 / 13.89 ms │     no change │
│ QQuery 8  │     320.54 / 326.28 ±6.10 / 336.30 ms │     322.61 / 325.64 ±2.56 / 329.94 ms │     no change │
│ QQuery 9  │     455.45 / 462.82 ±4.22 / 467.89 ms │     457.20 / 463.77 ±4.17 / 467.94 ms │     no change │
│ QQuery 10 │        70.37 / 71.07 ±0.40 / 71.45 ms │        69.73 / 71.62 ±1.87 / 74.45 ms │     no change │
│ QQuery 11 │        80.68 / 84.18 ±3.82 / 91.05 ms │        80.24 / 82.43 ±1.71 / 85.28 ms │     no change │
│ QQuery 12 │     264.98 / 269.73 ±4.98 / 277.39 ms │     267.75 / 272.27 ±4.87 / 281.13 ms │     no change │
│ QQuery 13 │     375.37 / 388.01 ±9.65 / 400.51 ms │     373.93 / 385.50 ±8.93 / 400.44 ms │     no change │
│ QQuery 14 │     276.74 / 288.15 ±9.63 / 301.58 ms │     282.03 / 289.98 ±5.39 / 296.51 ms │     no change │
│ QQuery 15 │     265.19 / 275.29 ±8.35 / 290.21 ms │     267.38 / 277.76 ±7.85 / 289.71 ms │     no change │
│ QQuery 16 │     619.28 / 627.36 ±5.30 / 633.82 ms │     616.46 / 624.98 ±4.75 / 630.20 ms │     no change │
│ QQuery 17 │     627.22 / 633.77 ±6.40 / 645.60 ms │     629.50 / 635.53 ±6.14 / 645.32 ms │     no change │
│ QQuery 18 │ 1269.32 / 1310.49 ±31.13 / 1347.54 ms │ 1282.64 / 1310.11 ±17.41 / 1332.83 ms │     no change │
│ QQuery 19 │        27.76 / 28.10 ±0.26 / 28.50 ms │        27.56 / 31.84 ±8.34 / 48.51 ms │  1.13x slower │
│ QQuery 20 │    520.32 / 535.50 ±26.62 / 588.66 ms │    520.64 / 541.88 ±29.00 / 599.34 ms │     no change │
│ QQuery 21 │     523.04 / 530.85 ±6.47 / 542.46 ms │     514.79 / 523.38 ±5.94 / 530.89 ms │     no change │
│ QQuery 22 │  1020.51 / 1023.66 ±4.06 / 1031.66 ms │ 1022.58 / 1038.29 ±11.64 / 1054.58 ms │     no change │
│ QQuery 23 │ 3197.90 / 3236.14 ±40.37 / 3308.97 ms │ 3258.57 / 3285.30 ±18.71 / 3307.69 ms │     no change │
│ QQuery 24 │        42.04 / 47.53 ±9.62 / 66.73 ms │        41.56 / 48.54 ±8.17 / 60.72 ms │     no change │
│ QQuery 25 │     110.65 / 112.86 ±2.27 / 115.99 ms │     110.70 / 114.96 ±5.96 / 126.76 ms │     no change │
│ QQuery 26 │        41.71 / 44.76 ±3.80 / 52.04 ms │        42.09 / 43.05 ±1.07 / 45.04 ms │     no change │
│ QQuery 27 │     671.56 / 677.61 ±6.22 / 689.28 ms │     678.29 / 681.79 ±2.90 / 685.09 ms │     no change │
│ QQuery 28 │ 3019.26 / 3042.69 ±16.73 / 3071.61 ms │ 3021.14 / 3050.57 ±20.19 / 3079.91 ms │     no change │
│ QQuery 29 │        40.22 / 43.50 ±5.96 / 55.39 ms │       40.12 / 49.96 ±19.20 / 88.36 ms │  1.15x slower │
│ QQuery 30 │     302.91 / 308.67 ±5.54 / 318.29 ms │     302.95 / 307.23 ±4.16 / 314.87 ms │     no change │
│ QQuery 31 │     288.27 / 300.41 ±8.28 / 312.29 ms │     289.41 / 298.00 ±7.02 / 308.35 ms │     no change │
│ QQuery 32 │    941.17 / 974.48 ±18.07 / 996.08 ms │    942.53 / 965.49 ±19.40 / 997.50 ms │     no change │
│ QQuery 33 │ 1466.51 / 1484.11 ±17.00 / 1511.71 ms │ 1470.82 / 1497.98 ±19.84 / 1530.49 ms │     no change │
│ QQuery 34 │ 1488.32 / 1509.96 ±14.55 / 1526.98 ms │ 1467.18 / 1505.25 ±26.96 / 1545.82 ms │     no change │
│ QQuery 35 │    285.12 / 306.17 ±15.92 / 322.55 ms │    279.15 / 311.35 ±36.12 / 355.88 ms │     no change │
│ QQuery 36 │        64.49 / 67.62 ±2.18 / 70.43 ms │        67.73 / 73.01 ±4.19 / 79.96 ms │  1.08x slower │
│ QQuery 37 │        35.02 / 43.79 ±8.21 / 56.79 ms │        35.62 / 39.76 ±4.46 / 45.60 ms │ +1.10x faster │
│ QQuery 38 │        40.59 / 46.84 ±5.07 / 51.86 ms │        42.78 / 49.66 ±7.63 / 62.67 ms │  1.06x slower │
│ QQuery 39 │    141.39 / 150.64 ±11.11 / 170.35 ms │     136.05 / 153.32 ±9.14 / 162.77 ms │     no change │
│ QQuery 40 │        13.83 / 15.77 ±2.64 / 20.93 ms │        14.20 / 18.47 ±8.17 / 34.81 ms │  1.17x slower │
│ QQuery 41 │        13.69 / 13.99 ±0.24 / 14.33 ms │        13.59 / 14.08 ±0.42 / 14.69 ms │     no change │
│ QQuery 42 │        12.94 / 16.98 ±5.25 / 26.26 ms │        13.38 / 13.60 ±0.15 / 13.81 ms │ +1.25x faster │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 19897.66ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 19990.40ms │
│ Average Time (HEAD)                               │   462.74ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   464.89ms │
│ Queries Faster                                    │          2 │
│ Queries Slower                                    │          5 │
│ Queries with No Change                            │         36 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 30.7 GiB
Avg memory 23.1 GiB
CPU user 1016.6s
CPU sys 77.9s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 105.0s
Peak memory 30.4 GiB
Avg memory 22.8 GiB
CPU user 1019.8s
CPU sys 79.4s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpch_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                               HEAD ┃ neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │  314.74 / 318.02 ±3.32 / 322.93 ms │  313.04 / 315.35 ±1.85 / 318.42 ms │     no change │
│ QQuery 2  │  104.06 / 107.14 ±4.35 / 115.57 ms │  104.57 / 108.85 ±4.86 / 118.09 ms │     no change │
│ QQuery 3  │  239.15 / 242.91 ±2.90 / 247.35 ms │  236.63 / 239.29 ±3.72 / 246.59 ms │     no change │
│ QQuery 4  │  113.55 / 118.61 ±3.14 / 123.08 ms │  114.13 / 116.01 ±1.55 / 118.24 ms │     no change │
│ QQuery 5  │ 344.56 / 360.61 ±12.23 / 376.31 ms │  366.23 / 376.66 ±8.83 / 389.37 ms │     no change │
│ QQuery 6  │  127.31 / 129.95 ±4.12 / 138.12 ms │  126.09 / 130.78 ±4.70 / 137.39 ms │     no change │
│ QQuery 7  │  459.81 / 467.97 ±6.41 / 476.90 ms │ 461.83 / 474.36 ±11.10 / 493.42 ms │     no change │
│ QQuery 8  │  407.94 / 416.21 ±8.89 / 432.23 ms │  387.72 / 397.72 ±6.40 / 407.73 ms │     no change │
│ QQuery 9  │ 575.56 / 593.59 ±17.09 / 626.18 ms │  553.44 / 567.78 ±8.45 / 578.57 ms │     no change │
│ QQuery 10 │ 319.92 / 331.07 ±11.50 / 352.53 ms │ 307.55 / 327.75 ±10.48 / 337.21 ms │     no change │
│ QQuery 11 │     86.05 / 91.25 ±2.89 / 94.21 ms │    88.41 / 94.07 ±5.23 / 101.10 ms │     no change │
│ QQuery 12 │ 176.26 / 191.61 ±19.25 / 229.57 ms │ 181.09 / 191.02 ±13.42 / 217.52 ms │     no change │
│ QQuery 13 │  292.05 / 308.32 ±8.57 / 316.51 ms │  294.72 / 303.18 ±8.03 / 317.90 ms │     no change │
│ QQuery 14 │  174.61 / 182.01 ±4.11 / 186.72 ms │  174.82 / 180.82 ±5.43 / 188.02 ms │     no change │
│ QQuery 15 │  315.38 / 321.27 ±4.88 / 330.28 ms │  313.56 / 319.15 ±3.58 / 324.08 ms │     no change │
│ QQuery 16 │     65.80 / 69.06 ±2.74 / 73.74 ms │     66.24 / 69.52 ±2.01 / 71.49 ms │     no change │
│ QQuery 17 │ 635.66 / 669.51 ±24.21 / 707.93 ms │ 626.61 / 642.34 ±17.05 / 664.04 ms │     no change │
│ QQuery 18 │ 685.54 / 707.77 ±18.42 / 731.84 ms │ 687.59 / 711.69 ±24.35 / 749.53 ms │     no change │
│ QQuery 19 │ 251.14 / 269.07 ±13.78 / 282.08 ms │ 246.63 / 272.55 ±21.84 / 307.48 ms │     no change │
│ QQuery 20 │ 275.20 / 296.29 ±14.43 / 316.71 ms │ 295.68 / 310.23 ±12.71 / 325.29 ms │     no change │
│ QQuery 21 │ 764.96 / 810.09 ±28.44 / 848.99 ms │  701.05 / 715.74 ±8.38 / 725.83 ms │ +1.13x faster │
│ QQuery 22 │   62.88 / 73.91 ±19.49 / 112.85 ms │     62.47 / 70.85 ±6.79 / 81.70 ms │     no change │
└───────────┴────────────────────────────────────┴────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 7076.26ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 6935.71ms │
│ Average Time (HEAD)                               │  321.65ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │  315.26ms │
│ Queries Faster                                    │         1 │
│ Queries Slower                                    │         0 │
│ Queries with No Change                            │        21 │
│ Queries with Failure                              │         0 │
└───────────────────────────────────────────────────┴───────────┘

Resource Usage

tpch10 — base (merge-base)

Metric Value
Wall time 40.0s
Peak memory 11.4 GiB
Avg memory 8.2 GiB
CPU user 365.4s
CPU sys 24.1s
Peak spill 0 B

tpch10 — branch

Metric Value
Wall time 35.0s
Peak memory 11.8 GiB
Avg memory 8.3 GiB
CPU user 361.0s
CPU sys 22.5s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor

Run benchmark tpcds

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4637995096-461-rfkgq 6.12.68+ #1 SMP Wed Apr 1 02:23:28 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 neilc/perf-fd-convert-to-semi-join (0e66e47) to 3c4034c (merge-base) diff using: tpcds
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.89 / 6.49 ±0.85 / 8.17 ms │           5.54 / 6.02 ±0.88 / 7.78 ms │ +1.08x faster │
│ QQuery 2  │        80.60 / 80.78 ±0.16 / 81.03 ms │        82.01 / 82.31 ±0.24 / 82.51 ms │     no change │
│ QQuery 3  │        29.26 / 29.33 ±0.07 / 29.43 ms │        29.41 / 29.81 ±0.30 / 30.28 ms │     no change │
│ QQuery 4  │     490.19 / 494.81 ±6.02 / 505.95 ms │     496.46 / 500.22 ±4.13 / 506.59 ms │     no change │
│ QQuery 5  │        51.97 / 52.44 ±0.40 / 52.98 ms │        53.20 / 53.76 ±0.44 / 54.40 ms │     no change │
│ QQuery 6  │        36.35 / 37.56 ±0.68 / 38.20 ms │        37.90 / 38.52 ±0.36 / 38.96 ms │     no change │
│ QQuery 7  │        96.10 / 96.50 ±0.54 / 97.56 ms │        95.80 / 96.87 ±0.66 / 97.74 ms │     no change │
│ QQuery 8  │        37.88 / 39.76 ±2.94 / 45.61 ms │        38.44 / 38.98 ±0.40 / 39.61 ms │     no change │
│ QQuery 9  │        53.30 / 55.54 ±1.54 / 57.21 ms │        53.33 / 54.58 ±1.39 / 56.53 ms │     no change │
│ QQuery 10 │        62.86 / 63.72 ±0.52 / 64.29 ms │        65.12 / 65.30 ±0.21 / 65.68 ms │     no change │
│ QQuery 11 │     306.71 / 312.75 ±5.34 / 321.16 ms │     304.52 / 308.66 ±4.07 / 316.18 ms │     no change │
│ QQuery 12 │        29.17 / 29.41 ±0.24 / 29.85 ms │        29.18 / 29.79 ±0.51 / 30.53 ms │     no change │
│ QQuery 13 │     120.06 / 121.40 ±1.18 / 123.42 ms │     120.57 / 124.39 ±5.81 / 135.61 ms │     no change │
│ QQuery 14 │     416.60 / 419.54 ±3.46 / 426.00 ms │     446.39 / 448.86 ±1.42 / 450.09 ms │  1.07x slower │
│ QQuery 15 │        59.32 / 60.18 ±0.49 / 60.63 ms │        59.29 / 60.26 ±0.68 / 61.43 ms │     no change │
│ QQuery 16 │           6.79 / 6.95 ±0.21 / 7.36 ms │           6.44 / 6.61 ±0.20 / 6.97 ms │     no change │
│ QQuery 17 │        81.48 / 83.08 ±1.52 / 85.88 ms │        80.87 / 81.51 ±0.70 / 82.86 ms │     no change │
│ QQuery 18 │     125.19 / 126.75 ±1.81 / 129.08 ms │     123.50 / 124.82 ±0.83 / 125.95 ms │     no change │
│ QQuery 19 │        41.85 / 42.48 ±0.34 / 42.80 ms │        43.10 / 43.62 ±0.77 / 45.14 ms │     no change │
│ QQuery 20 │        35.75 / 36.43 ±0.56 / 37.43 ms │        36.63 / 38.39 ±1.88 / 41.80 ms │  1.05x slower │
│ QQuery 21 │        17.44 / 18.19 ±1.19 / 20.56 ms │        17.53 / 17.83 ±0.30 / 18.34 ms │     no change │
│ QQuery 22 │        62.57 / 63.67 ±0.81 / 64.47 ms │        64.94 / 66.09 ±1.12 / 67.62 ms │     no change │
│ QQuery 23 │     323.41 / 327.80 ±3.23 / 332.25 ms │     359.20 / 365.51 ±3.68 / 369.32 ms │  1.12x slower │
│ QQuery 24 │     228.20 / 230.80 ±2.66 / 234.62 ms │     230.42 / 233.62 ±3.84 / 241.12 ms │     no change │
│ QQuery 25 │     111.55 / 112.40 ±0.91 / 114.13 ms │     110.70 / 113.40 ±3.40 / 119.84 ms │     no change │
│ QQuery 26 │        58.55 / 61.05 ±2.76 / 65.80 ms │        58.77 / 59.23 ±0.33 / 59.77 ms │     no change │
│ QQuery 27 │           6.72 / 6.93 ±0.27 / 7.46 ms │           6.13 / 6.25 ±0.19 / 6.62 ms │ +1.11x faster │
│ QQuery 28 │        57.36 / 60.71 ±1.76 / 62.31 ms │        61.62 / 61.96 ±0.25 / 62.25 ms │     no change │
│ QQuery 29 │       98.68 / 99.38 ±0.61 / 100.16 ms │      98.28 / 100.07 ±1.29 / 102.02 ms │     no change │
│ QQuery 30 │        32.46 / 34.60 ±2.01 / 38.36 ms │        32.59 / 33.24 ±0.50 / 33.90 ms │     no change │
│ QQuery 31 │     112.15 / 114.03 ±1.57 / 116.79 ms │     111.93 / 112.77 ±0.87 / 114.36 ms │     no change │
│ QQuery 32 │        20.18 / 20.37 ±0.21 / 20.77 ms │        21.23 / 23.83 ±4.11 / 32.02 ms │  1.17x slower │
│ QQuery 33 │        38.45 / 39.47 ±1.13 / 41.64 ms │        39.41 / 40.47 ±0.60 / 41.09 ms │     no change │
│ QQuery 34 │          9.45 / 9.64 ±0.26 / 10.15 ms │          9.59 / 9.94 ±0.36 / 10.52 ms │     no change │
│ QQuery 35 │        72.07 / 74.81 ±3.99 / 82.68 ms │        73.98 / 74.66 ±0.39 / 75.10 ms │     no change │
│ QQuery 36 │           5.81 / 6.02 ±0.19 / 6.36 ms │           5.70 / 5.88 ±0.25 / 6.37 ms │     no change │
│ QQuery 37 │           6.96 / 7.01 ±0.06 / 7.11 ms │           6.88 / 7.00 ±0.11 / 7.16 ms │     no change │
│ QQuery 38 │        63.93 / 64.37 ±0.47 / 65.27 ms │        63.49 / 64.60 ±1.13 / 66.76 ms │     no change │
│ QQuery 39 │     457.20 / 459.73 ±2.87 / 464.97 ms │     454.04 / 461.03 ±3.91 / 465.49 ms │     no change │
│ QQuery 40 │        23.88 / 25.54 ±2.58 / 30.66 ms │        23.33 / 23.41 ±0.08 / 23.53 ms │ +1.09x faster │
│ QQuery 41 │        11.36 / 11.55 ±0.25 / 12.04 ms │        11.32 / 11.55 ±0.19 / 11.83 ms │     no change │
│ QQuery 42 │        24.19 / 24.78 ±0.53 / 25.68 ms │        23.53 / 24.13 ±0.38 / 24.66 ms │     no change │
│ QQuery 43 │           4.79 / 4.92 ±0.15 / 5.21 ms │           4.90 / 5.00 ±0.13 / 5.26 ms │     no change │
│ QQuery 44 │           8.90 / 9.05 ±0.11 / 9.18 ms │           9.06 / 9.18 ±0.12 / 9.38 ms │     no change │
│ QQuery 45 │        39.10 / 39.72 ±0.51 / 40.35 ms │        39.12 / 39.71 ±0.44 / 40.23 ms │     no change │
│ QQuery 46 │        11.51 / 11.76 ±0.19 / 12.06 ms │        11.36 / 15.05 ±7.05 / 29.15 ms │  1.28x slower │
│ QQuery 47 │     231.55 / 235.06 ±4.74 / 244.43 ms │     231.88 / 237.97 ±7.86 / 251.50 ms │     no change │
│ QQuery 48 │       96.95 / 98.79 ±2.68 / 104.11 ms │       98.58 / 99.75 ±0.80 / 100.59 ms │     no change │
│ QQuery 49 │        77.84 / 78.42 ±0.87 / 80.13 ms │        77.70 / 79.56 ±2.68 / 84.72 ms │     no change │
│ QQuery 50 │        60.20 / 60.82 ±0.44 / 61.53 ms │        59.74 / 60.34 ±0.31 / 60.60 ms │     no change │
│ QQuery 51 │       91.34 / 96.35 ±5.55 / 107.18 ms │        94.55 / 95.72 ±1.54 / 98.64 ms │     no change │
│ QQuery 52 │        24.31 / 24.50 ±0.14 / 24.70 ms │        24.02 / 25.42 ±1.80 / 28.92 ms │     no change │
│ QQuery 53 │        29.76 / 30.19 ±0.42 / 30.82 ms │        30.08 / 31.49 ±1.63 / 34.67 ms │     no change │
│ QQuery 54 │        55.90 / 58.52 ±2.61 / 62.32 ms │        56.73 / 57.18 ±0.28 / 57.53 ms │     no change │
│ QQuery 55 │        24.12 / 25.16 ±0.69 / 25.85 ms │        24.72 / 25.17 ±0.29 / 25.50 ms │     no change │
│ QQuery 56 │        39.60 / 40.26 ±0.60 / 41.23 ms │        39.41 / 40.14 ±0.45 / 40.77 ms │     no change │
│ QQuery 57 │     176.30 / 179.28 ±3.28 / 185.56 ms │     176.57 / 180.61 ±6.32 / 193.06 ms │     no change │
│ QQuery 58 │     117.69 / 118.66 ±0.91 / 120.19 ms │     117.09 / 120.88 ±3.03 / 124.90 ms │     no change │
│ QQuery 59 │     118.07 / 119.71 ±2.26 / 124.16 ms │     118.93 / 119.65 ±0.71 / 121.02 ms │     no change │
│ QQuery 60 │        39.45 / 40.47 ±0.65 / 41.29 ms │        40.89 / 41.64 ±0.78 / 43.13 ms │     no change │
│ QQuery 61 │        13.45 / 13.59 ±0.10 / 13.74 ms │        12.22 / 12.38 ±0.10 / 12.50 ms │ +1.10x faster │
│ QQuery 62 │        46.54 / 46.80 ±0.23 / 47.21 ms │        48.67 / 49.09 ±0.38 / 49.55 ms │     no change │
│ QQuery 63 │        30.47 / 32.42 ±2.70 / 37.75 ms │        30.25 / 30.72 ±0.45 / 31.33 ms │ +1.06x faster │
│ QQuery 64 │     402.41 / 411.49 ±7.64 / 421.15 ms │     417.53 / 420.40 ±3.55 / 427.19 ms │     no change │
│ QQuery 65 │     148.73 / 150.91 ±1.35 / 152.43 ms │     155.18 / 158.60 ±3.16 / 164.48 ms │  1.05x slower │
│ QQuery 66 │        81.57 / 86.16 ±5.69 / 95.69 ms │        80.16 / 81.47 ±1.72 / 84.85 ms │ +1.06x faster │
│ QQuery 67 │     250.70 / 258.61 ±7.92 / 270.45 ms │     252.14 / 258.13 ±5.56 / 268.45 ms │     no change │
│ QQuery 68 │        11.91 / 12.08 ±0.16 / 12.39 ms │        11.69 / 11.99 ±0.20 / 12.20 ms │     no change │
│ QQuery 69 │        57.34 / 57.73 ±0.25 / 58.05 ms │        59.04 / 59.40 ±0.26 / 59.76 ms │     no change │
│ QQuery 70 │    107.24 / 114.36 ±13.15 / 140.62 ms │     108.96 / 116.10 ±8.67 / 131.85 ms │     no change │
│ QQuery 71 │        35.91 / 36.78 ±1.22 / 39.16 ms │        37.01 / 37.77 ±0.77 / 38.81 ms │     no change │
│ QQuery 72 │ 2171.41 / 2236.84 ±64.25 / 2330.57 ms │ 2154.00 / 2260.92 ±81.53 / 2358.59 ms │     no change │
│ QQuery 73 │           9.32 / 9.53 ±0.22 / 9.94 ms │          9.56 / 9.84 ±0.26 / 10.25 ms │     no change │
│ QQuery 74 │     175.66 / 182.66 ±5.57 / 192.79 ms │     171.84 / 173.92 ±1.75 / 176.47 ms │     no change │
│ QQuery 75 │     149.90 / 156.87 ±7.62 / 167.64 ms │     149.20 / 153.35 ±4.92 / 161.65 ms │     no change │
│ QQuery 76 │        36.17 / 36.73 ±0.63 / 37.94 ms │        36.15 / 36.51 ±0.32 / 37.09 ms │     no change │
│ QQuery 77 │        61.22 / 65.99 ±4.92 / 72.32 ms │        61.86 / 62.99 ±0.78 / 64.30 ms │     no change │
│ QQuery 78 │     190.80 / 196.42 ±6.96 / 208.96 ms │     191.59 / 194.22 ±2.57 / 198.52 ms │     no change │
│ QQuery 79 │        67.61 / 67.94 ±0.40 / 68.69 ms │        68.36 / 68.90 ±0.36 / 69.38 ms │     no change │
│ QQuery 80 │     101.39 / 102.49 ±0.93 / 103.93 ms │     100.34 / 102.14 ±1.30 / 103.76 ms │     no change │
│ QQuery 81 │        26.44 / 31.78 ±6.35 / 41.36 ms │        25.83 / 26.15 ±0.33 / 26.74 ms │ +1.22x faster │
│ QQuery 82 │        18.01 / 18.23 ±0.16 / 18.44 ms │        16.43 / 16.57 ±0.11 / 16.72 ms │ +1.10x faster │
│ QQuery 83 │        40.74 / 41.75 ±0.55 / 42.23 ms │        40.17 / 40.64 ±0.40 / 41.15 ms │     no change │
│ QQuery 84 │        35.30 / 35.86 ±0.28 / 36.04 ms │        30.71 / 32.79 ±3.65 / 40.07 ms │ +1.09x faster │
│ QQuery 85 │     108.52 / 113.59 ±6.27 / 124.89 ms │     108.82 / 111.29 ±2.69 / 116.11 ms │     no change │
│ QQuery 86 │        26.06 / 26.49 ±0.37 / 26.97 ms │        26.37 / 27.01 ±0.37 / 27.47 ms │     no change │
│ QQuery 87 │        64.46 / 66.16 ±0.95 / 66.97 ms │        65.38 / 66.83 ±1.34 / 69.07 ms │     no change │
│ QQuery 88 │        62.85 / 63.22 ±0.37 / 63.90 ms │        66.79 / 67.53 ±0.73 / 68.90 ms │  1.07x slower │
│ QQuery 89 │        36.74 / 37.73 ±1.61 / 40.93 ms │        36.45 / 36.80 ±0.35 / 37.44 ms │     no change │
│ QQuery 90 │        17.06 / 17.24 ±0.19 / 17.58 ms │        17.88 / 18.11 ±0.24 / 18.53 ms │  1.05x slower │
│ QQuery 91 │        45.32 / 45.93 ±0.73 / 47.34 ms │        46.90 / 47.57 ±0.44 / 47.99 ms │     no change │
│ QQuery 92 │        30.29 / 30.93 ±0.43 / 31.47 ms │        31.07 / 31.92 ±0.49 / 32.55 ms │     no change │
│ QQuery 93 │        52.10 / 52.87 ±0.55 / 53.73 ms │        51.91 / 53.05 ±0.76 / 54.15 ms │     no change │
│ QQuery 94 │        39.38 / 42.19 ±3.13 / 46.64 ms │        40.21 / 41.29 ±0.90 / 42.56 ms │     no change │
│ QQuery 95 │        86.44 / 88.40 ±1.82 / 91.72 ms │        83.98 / 84.58 ±0.69 / 85.78 ms │     no change │
│ QQuery 96 │        24.15 / 24.44 ±0.28 / 24.93 ms │        25.77 / 27.98 ±3.93 / 35.83 ms │  1.14x slower │
│ QQuery 97 │        46.43 / 46.85 ±0.46 / 47.56 ms │        50.87 / 51.37 ±0.60 / 52.52 ms │  1.10x slower │
│ QQuery 98 │        43.75 / 46.65 ±3.17 / 51.39 ms │        43.96 / 45.22 ±0.89 / 46.64 ms │     no change │
│ QQuery 99 │        70.45 / 70.90 ±0.29 / 71.26 ms │        73.32 / 73.83 ±0.42 / 74.39 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 10518.03ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 10633.60ms │
│ Average Time (HEAD)                               │   106.24ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   107.41ms │
│ Queries Faster                                    │          9 │
│ Queries Slower                                    │         10 │
│ Queries with No Change                            │         80 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 6.8 GiB
Avg memory 6.2 GiB
CPU user 238.7s
CPU sys 6.9s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 6.4 GiB
Avg memory 6.0 GiB
CPU user 245.1s
CPU sys 6.9s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor

Q14 / Q23 still look like they might be regressing?

@neilconway

neilconway commented Jun 6, 2026

Copy link
Copy Markdown
Contributor Author

@Dandandan Q23 doesn't result in a plan change and I can't repro that locally; I think that one is just noise.

The regression on Q14 does indeed repro. The plan should strictly be an improvement (just swapping inner joins for semi-joins); it regresses because RightSemi joins are actually slower than inner joins in DF right now :) We basically compute an inner join and then do an extra pass to eliminate any duplicates (get_semi_indices). Some ideas:

(1) We could pass down a flag indicating that the join is unique on the join keys (case 2a described above), so we can skip the duplicate removal. This should get semi-joins back to parity with inner joins.
(2) Alternatively, we could write a specialized join kernel for semi and anti joins. This has the opportunity to be a significant win, not just get back to parity.

I'm inclined to pursue (2), taking a look at that now.

@Dandandan

Copy link
Copy Markdown
Contributor

run benchmarks

@Dandandan

Copy link
Copy Markdown
Contributor

run benchmark tpch10

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4645504218-470-jprlj 6.12.68+ #1 SMP Sat May 2 07:49:07 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 neilc/perf-fd-convert-to-semi-join (227b2ac) to 04ef3c7 (merge-base) diff using: 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-c4645504218-471-s8k55 6.12.68+ #1 SMP Sat May 2 07:49:07 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 neilc/perf-fd-convert-to-semi-join (227b2ac) to 04ef3c7 (merge-base) diff using: 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-c4645504218-472-q66tt 6.12.68+ #1 SMP Sat May 2 07:49:07 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 neilc/perf-fd-convert-to-semi-join (227b2ac) to 04ef3c7 (merge-base) diff using: tpch
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-c4645505063-473-629mr 6.12.68+ #1 SMP Sat May 2 07:49:07 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 neilc/perf-fd-convert-to-semi-join (227b2ac) to 04ef3c7 (merge-base) diff using: tpch10
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ neilc_perf-fd-convert-to-semi-join ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 37.99 / 38.67 ±0.96 / 40.56 ms │     38.05 / 39.18 ±1.69 / 42.54 ms │ no change │
│ QQuery 2  │ 18.33 / 18.71 ±0.30 / 19.23 ms │     18.79 / 19.44 ±0.88 / 21.14 ms │ no change │
│ QQuery 3  │ 31.06 / 32.72 ±1.34 / 33.95 ms │     30.47 / 32.64 ±1.27 / 33.66 ms │ no change │
│ QQuery 4  │ 17.10 / 17.49 ±0.46 / 18.33 ms │     17.04 / 17.15 ±0.10 / 17.27 ms │ no change │
│ QQuery 5  │ 38.52 / 40.78 ±1.65 / 43.64 ms │     38.24 / 39.58 ±0.99 / 40.54 ms │ no change │
│ QQuery 6  │ 16.02 / 16.56 ±0.71 / 17.97 ms │     16.13 / 16.30 ±0.11 / 16.44 ms │ no change │
│ QQuery 7  │ 42.96 / 44.94 ±1.18 / 46.19 ms │     43.24 / 45.65 ±1.62 / 47.56 ms │ no change │
│ QQuery 8  │ 42.57 / 42.80 ±0.15 / 42.98 ms │     42.82 / 42.96 ±0.19 / 43.33 ms │ no change │
│ QQuery 9  │ 48.87 / 49.83 ±0.76 / 51.16 ms │     48.75 / 49.87 ±0.68 / 50.66 ms │ no change │
│ QQuery 10 │ 41.86 / 42.87 ±1.36 / 45.46 ms │     42.11 / 43.20 ±1.35 / 45.83 ms │ no change │
│ QQuery 11 │ 13.09 / 13.20 ±0.10 / 13.36 ms │     13.13 / 13.27 ±0.10 / 13.40 ms │ no change │
│ QQuery 12 │ 23.52 / 24.09 ±0.59 / 25.18 ms │     23.59 / 23.85 ±0.18 / 24.10 ms │ no change │
│ QQuery 13 │ 33.63 / 34.35 ±0.64 / 35.30 ms │     31.74 / 33.35 ±1.54 / 35.79 ms │ no change │
│ QQuery 14 │ 23.78 / 24.45 ±0.91 / 26.22 ms │     23.58 / 23.81 ±0.20 / 24.09 ms │ no change │
│ QQuery 15 │ 31.24 / 31.71 ±0.57 / 32.74 ms │     31.72 / 32.22 ±0.58 / 33.20 ms │ no change │
│ QQuery 16 │ 13.89 / 14.14 ±0.16 / 14.30 ms │     13.79 / 13.96 ±0.15 / 14.16 ms │ no change │
│ QQuery 17 │ 72.59 / 73.79 ±0.64 / 74.43 ms │     74.19 / 75.28 ±1.10 / 77.32 ms │ no change │
│ QQuery 18 │ 58.54 / 60.22 ±1.92 / 63.95 ms │     56.97 / 58.92 ±1.52 / 61.30 ms │ no change │
│ QQuery 19 │ 32.73 / 32.99 ±0.21 / 33.24 ms │     33.13 / 33.48 ±0.30 / 34.04 ms │ no change │
│ QQuery 20 │ 32.24 / 33.21 ±1.37 / 35.91 ms │     31.89 / 32.17 ±0.28 / 32.65 ms │ no change │
│ QQuery 21 │ 56.22 / 57.96 ±1.37 / 59.82 ms │     54.01 / 56.61 ±1.69 / 58.26 ms │ no change │
│ QQuery 22 │ 13.88 / 14.33 ±0.67 / 15.67 ms │     13.78 / 14.13 ±0.53 / 15.19 ms │ no change │
└───────────┴────────────────────────────────┴────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 759.83ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 757.01ms │
│ Average Time (HEAD)                               │  34.54ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │  34.41ms │
│ Queries Faster                                    │        0 │
│ Queries Slower                                    │        0 │
│ Queries with No Change                            │       22 │
│ Queries with Failure                              │        0 │
└───────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 5.8 GiB
Avg memory 4.9 GiB
CPU user 30.1s
CPU sys 2.2s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 5.7 GiB
Avg memory 4.9 GiB
CPU user 29.8s
CPU sys 2.2s
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpch_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                               HEAD ┃ neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │  316.69 / 317.72 ±0.65 / 318.61 ms │  313.34 / 315.34 ±1.19 / 316.87 ms │     no change │
│ QQuery 2  │  104.28 / 106.89 ±2.29 / 110.16 ms │  100.89 / 104.54 ±1.97 / 106.16 ms │     no change │
│ QQuery 3  │  234.75 / 242.60 ±7.12 / 255.06 ms │  237.18 / 238.98 ±2.01 / 242.67 ms │     no change │
│ QQuery 4  │  116.34 / 118.03 ±1.66 / 120.81 ms │  115.12 / 117.51 ±2.38 / 121.99 ms │     no change │
│ QQuery 5  │  352.36 / 359.33 ±4.98 / 366.58 ms │ 353.01 / 366.46 ±11.96 / 382.70 ms │     no change │
│ QQuery 6  │  126.25 / 128.23 ±1.87 / 131.71 ms │  126.63 / 129.18 ±2.36 / 133.64 ms │     no change │
│ QQuery 7  │ 465.86 / 482.51 ±15.07 / 500.88 ms │  467.15 / 478.35 ±9.09 / 492.54 ms │     no change │
│ QQuery 8  │  391.89 / 396.20 ±3.07 / 400.01 ms │  383.02 / 391.28 ±6.18 / 400.41 ms │     no change │
│ QQuery 9  │ 552.16 / 563.63 ±15.90 / 595.00 ms │  549.93 / 558.26 ±8.69 / 574.73 ms │     no change │
│ QQuery 10 │ 299.60 / 314.29 ±10.90 / 330.51 ms │  302.09 / 315.56 ±9.20 / 330.53 ms │     no change │
│ QQuery 11 │    86.35 / 90.46 ±7.70 / 105.85 ms │    84.02 / 90.83 ±6.78 / 103.52 ms │     no change │
│ QQuery 12 │ 181.80 / 191.47 ±12.26 / 214.02 ms │ 180.46 / 189.59 ±13.07 / 214.64 ms │     no change │
│ QQuery 13 │ 297.44 / 310.25 ±14.43 / 337.18 ms │  293.74 / 303.39 ±7.02 / 313.44 ms │     no change │
│ QQuery 14 │  178.42 / 180.27 ±3.26 / 186.78 ms │  177.81 / 181.78 ±3.52 / 186.79 ms │     no change │
│ QQuery 15 │  317.07 / 322.06 ±2.91 / 326.17 ms │  315.22 / 320.06 ±3.77 / 324.53 ms │     no change │
│ QQuery 16 │     65.98 / 68.97 ±1.65 / 71.07 ms │     65.87 / 68.79 ±3.17 / 74.89 ms │     no change │
│ QQuery 17 │ 648.67 / 659.27 ±12.79 / 682.84 ms │ 631.00 / 649.14 ±16.35 / 671.32 ms │     no change │
│ QQuery 18 │ 720.81 / 761.83 ±36.08 / 825.37 ms │  713.80 / 719.39 ±5.75 / 729.99 ms │ +1.06x faster │
│ QQuery 19 │ 259.80 / 274.23 ±17.56 / 303.23 ms │ 251.75 / 269.14 ±19.91 / 300.21 ms │     no change │
│ QQuery 20 │ 281.72 / 308.92 ±15.85 / 326.73 ms │  296.91 / 302.45 ±5.29 / 312.48 ms │     no change │
│ QQuery 21 │ 822.31 / 856.13 ±28.02 / 896.96 ms │  657.52 / 669.31 ±7.18 / 680.04 ms │ +1.28x faster │
│ QQuery 22 │   61.18 / 77.86 ±23.99 / 124.90 ms │     60.48 / 65.66 ±5.29 / 75.42 ms │ +1.19x faster │
└───────────┴────────────────────────────────────┴────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 7131.15ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 6844.99ms │
│ Average Time (HEAD)                               │  324.14ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │  311.14ms │
│ Queries Faster                                    │         3 │
│ Queries Slower                                    │         0 │
│ Queries with No Change                            │        19 │
│ Queries with Failure                              │         0 │
└───────────────────────────────────────────────────┴───────────┘

Resource Usage

tpch10 — base (merge-base)

Metric Value
Wall time 40.0s
Peak memory 12.3 GiB
Avg memory 8.6 GiB
CPU user 367.9s
CPU sys 23.8s
Peak spill 0 B

tpch10 — branch

Metric Value
Wall time 35.0s
Peak memory 12.3 GiB
Avg memory 8.6 GiB
CPU user 356.8s
CPU sys 21.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.78 / 6.39 ±0.94 / 8.26 ms │           5.98 / 6.41 ±0.79 / 7.99 ms │     no change │
│ QQuery 2  │        80.08 / 80.45 ±0.33 / 81.02 ms │        81.95 / 82.16 ±0.16 / 82.32 ms │     no change │
│ QQuery 3  │        28.86 / 29.31 ±0.25 / 29.63 ms │        30.13 / 30.29 ±0.16 / 30.58 ms │     no change │
│ QQuery 4  │     496.79 / 501.67 ±4.03 / 508.61 ms │     550.38 / 562.90 ±8.55 / 574.33 ms │  1.12x slower │
│ QQuery 5  │        51.37 / 52.08 ±0.54 / 52.75 ms │        53.21 / 54.91 ±1.07 / 56.52 ms │  1.05x slower │
│ QQuery 6  │        36.54 / 36.93 ±0.24 / 37.27 ms │        38.78 / 40.15 ±0.77 / 41.01 ms │  1.09x slower │
│ QQuery 7  │       95.86 / 97.60 ±2.75 / 103.07 ms │      99.13 / 102.01 ±4.82 / 111.58 ms │     no change │
│ QQuery 8  │        37.13 / 37.48 ±0.26 / 37.93 ms │        37.93 / 38.74 ±0.42 / 39.09 ms │     no change │
│ QQuery 9  │        50.90 / 54.32 ±1.96 / 56.69 ms │        54.15 / 57.61 ±1.74 / 58.72 ms │  1.06x slower │
│ QQuery 10 │        62.58 / 62.99 ±0.27 / 63.31 ms │        64.56 / 66.98 ±3.70 / 74.35 ms │  1.06x slower │
│ QQuery 11 │     306.21 / 309.79 ±3.41 / 314.60 ms │     357.87 / 365.62 ±3.95 / 368.41 ms │  1.18x slower │
│ QQuery 12 │        28.91 / 29.15 ±0.30 / 29.73 ms │        30.57 / 31.87 ±0.79 / 32.81 ms │  1.09x slower │
│ QQuery 13 │     120.24 / 121.31 ±1.48 / 124.25 ms │     124.31 / 125.85 ±0.97 / 126.71 ms │     no change │
│ QQuery 14 │     412.73 / 415.89 ±1.93 / 417.88 ms │     424.07 / 431.30 ±6.02 / 440.21 ms │     no change │
│ QQuery 15 │        58.01 / 59.10 ±0.60 / 59.64 ms │        65.56 / 72.02 ±4.99 / 78.97 ms │  1.22x slower │
│ QQuery 16 │           6.65 / 6.81 ±0.22 / 7.24 ms │           7.11 / 7.24 ±0.13 / 7.48 ms │  1.06x slower │
│ QQuery 17 │        80.76 / 82.21 ±1.97 / 86.05 ms │        82.59 / 84.18 ±1.72 / 87.53 ms │     no change │
│ QQuery 18 │     126.02 / 128.32 ±2.21 / 131.05 ms │     126.23 / 129.56 ±3.79 / 136.67 ms │     no change │
│ QQuery 19 │        42.88 / 43.33 ±0.31 / 43.74 ms │        42.71 / 43.01 ±0.23 / 43.38 ms │     no change │
│ QQuery 20 │        37.28 / 37.78 ±0.33 / 38.08 ms │        35.82 / 36.24 ±0.37 / 36.77 ms │     no change │
│ QQuery 21 │        17.82 / 19.07 ±1.74 / 22.48 ms │        17.91 / 17.94 ±0.04 / 18.02 ms │ +1.06x faster │
│ QQuery 22 │        69.16 / 70.45 ±1.17 / 72.10 ms │        68.49 / 69.56 ±1.28 / 71.87 ms │     no change │
│ QQuery 23 │     346.53 / 352.29 ±6.34 / 363.70 ms │    375.45 / 387.86 ±16.19 / 419.65 ms │  1.10x slower │
│ QQuery 24 │     229.23 / 233.13 ±3.46 / 239.38 ms │     232.72 / 236.54 ±2.68 / 239.76 ms │     no change │
│ QQuery 25 │     115.46 / 116.85 ±0.99 / 117.77 ms │     113.49 / 115.94 ±1.76 / 118.14 ms │     no change │
│ QQuery 26 │        60.89 / 62.01 ±0.69 / 62.79 ms │        58.63 / 60.56 ±1.90 / 64.20 ms │     no change │
│ QQuery 27 │           7.28 / 7.34 ±0.03 / 7.37 ms │           6.64 / 6.75 ±0.09 / 6.86 ms │ +1.09x faster │
│ QQuery 28 │        61.74 / 62.50 ±0.66 / 63.32 ms │        62.94 / 63.56 ±0.84 / 65.19 ms │     no change │
│ QQuery 29 │     101.60 / 104.89 ±3.52 / 110.84 ms │     101.05 / 101.82 ±0.51 / 102.57 ms │     no change │
│ QQuery 30 │        34.17 / 34.65 ±0.38 / 35.26 ms │        34.51 / 34.94 ±0.46 / 35.80 ms │     no change │
│ QQuery 31 │     115.62 / 117.22 ±1.42 / 119.83 ms │     116.53 / 117.75 ±1.02 / 119.25 ms │     no change │
│ QQuery 32 │        21.80 / 23.14 ±2.12 / 27.37 ms │        21.58 / 21.76 ±0.17 / 22.02 ms │ +1.06x faster │
│ QQuery 33 │        40.79 / 42.52 ±2.36 / 47.16 ms │        39.81 / 40.32 ±0.63 / 41.37 ms │ +1.05x faster │
│ QQuery 34 │         9.97 / 10.35 ±0.44 / 10.93 ms │        10.48 / 10.79 ±0.27 / 11.14 ms │     no change │
│ QQuery 35 │        79.30 / 80.73 ±0.90 / 82.12 ms │        78.37 / 79.30 ±0.79 / 80.34 ms │     no change │
│ QQuery 36 │           6.20 / 6.33 ±0.11 / 6.51 ms │           6.44 / 6.55 ±0.09 / 6.67 ms │     no change │
│ QQuery 37 │           7.24 / 7.27 ±0.02 / 7.28 ms │           7.59 / 7.63 ±0.05 / 7.73 ms │     no change │
│ QQuery 38 │        69.03 / 70.97 ±2.22 / 75.12 ms │        68.73 / 69.19 ±0.34 / 69.66 ms │     no change │
│ QQuery 39 │     492.15 / 503.93 ±7.26 / 512.69 ms │     501.28 / 510.75 ±5.02 / 515.66 ms │     no change │
│ QQuery 40 │        24.44 / 24.60 ±0.12 / 24.78 ms │        24.70 / 24.91 ±0.27 / 25.44 ms │     no change │
│ QQuery 41 │        11.82 / 12.07 ±0.27 / 12.58 ms │        12.32 / 12.55 ±0.16 / 12.80 ms │     no change │
│ QQuery 42 │        25.09 / 25.18 ±0.08 / 25.28 ms │        25.07 / 25.53 ±0.42 / 26.21 ms │     no change │
│ QQuery 43 │           5.27 / 5.37 ±0.12 / 5.60 ms │           5.37 / 5.45 ±0.07 / 5.57 ms │     no change │
│ QQuery 44 │         9.53 / 11.88 ±4.25 / 20.38 ms │         9.87 / 10.18 ±0.26 / 10.63 ms │ +1.17x faster │
│ QQuery 45 │        44.54 / 49.11 ±4.05 / 56.67 ms │        45.54 / 48.27 ±3.44 / 54.98 ms │     no change │
│ QQuery 46 │        12.52 / 13.26 ±0.51 / 13.86 ms │        12.10 / 12.41 ±0.43 / 13.26 ms │ +1.07x faster │
│ QQuery 47 │     271.59 / 281.21 ±8.94 / 295.75 ms │     260.54 / 269.43 ±6.61 / 278.61 ms │     no change │
│ QQuery 48 │      98.80 / 103.11 ±3.61 / 107.66 ms │       98.96 / 99.73 ±0.66 / 100.54 ms │     no change │
│ QQuery 49 │        80.35 / 81.43 ±0.81 / 82.84 ms │        78.81 / 80.64 ±1.76 / 83.93 ms │     no change │
│ QQuery 50 │        62.01 / 62.65 ±0.46 / 63.44 ms │        60.43 / 61.44 ±0.73 / 62.16 ms │     no change │
│ QQuery 51 │      96.31 / 100.70 ±5.15 / 109.67 ms │       93.64 / 97.24 ±4.86 / 106.77 ms │     no change │
│ QQuery 52 │        25.15 / 25.59 ±0.35 / 26.06 ms │        25.49 / 26.21 ±1.19 / 28.58 ms │     no change │
│ QQuery 53 │        30.34 / 30.67 ±0.23 / 30.99 ms │        30.30 / 30.47 ±0.14 / 30.65 ms │     no change │
│ QQuery 54 │        56.51 / 58.29 ±1.61 / 61.30 ms │        55.65 / 56.89 ±0.77 / 58.00 ms │     no change │
│ QQuery 55 │        24.72 / 25.45 ±0.55 / 26.26 ms │        24.36 / 24.80 ±0.28 / 25.11 ms │     no change │
│ QQuery 56 │        40.15 / 41.05 ±0.54 / 41.62 ms │        40.61 / 43.01 ±4.05 / 51.08 ms │     no change │
│ QQuery 57 │     183.13 / 185.79 ±2.14 / 189.06 ms │     181.13 / 183.83 ±1.93 / 186.14 ms │     no change │
│ QQuery 58 │     118.29 / 118.77 ±0.47 / 119.64 ms │     116.88 / 117.80 ±0.55 / 118.42 ms │     no change │
│ QQuery 59 │     121.56 / 123.51 ±2.61 / 128.63 ms │     118.00 / 120.74 ±2.92 / 126.17 ms │     no change │
│ QQuery 60 │        41.09 / 41.79 ±0.56 / 42.67 ms │        40.63 / 41.33 ±0.54 / 42.30 ms │     no change │
│ QQuery 61 │        13.93 / 14.06 ±0.10 / 14.20 ms │        12.09 / 12.40 ±0.31 / 12.78 ms │ +1.13x faster │
│ QQuery 62 │        48.45 / 49.34 ±0.80 / 50.63 ms │        48.40 / 48.55 ±0.10 / 48.70 ms │     no change │
│ QQuery 63 │        30.73 / 33.09 ±3.67 / 40.40 ms │        30.24 / 30.50 ±0.21 / 30.81 ms │ +1.09x faster │
│ QQuery 64 │     421.50 / 431.85 ±7.36 / 439.70 ms │     413.47 / 418.00 ±4.49 / 425.88 ms │     no change │
│ QQuery 65 │     152.67 / 155.10 ±1.65 / 157.16 ms │     144.10 / 149.00 ±3.46 / 153.59 ms │     no change │
│ QQuery 66 │        84.58 / 85.33 ±0.57 / 86.26 ms │        79.44 / 82.35 ±3.74 / 89.63 ms │     no change │
│ QQuery 67 │     279.92 / 283.87 ±4.60 / 291.88 ms │     247.98 / 254.35 ±6.18 / 265.28 ms │ +1.12x faster │
│ QQuery 68 │        12.97 / 13.07 ±0.10 / 13.26 ms │        11.55 / 14.28 ±4.51 / 23.27 ms │  1.09x slower │
│ QQuery 69 │        60.85 / 64.41 ±6.64 / 77.68 ms │        57.46 / 57.76 ±0.16 / 57.92 ms │ +1.12x faster │
│ QQuery 70 │     111.94 / 114.48 ±3.22 / 120.83 ms │     105.74 / 109.21 ±4.40 / 117.66 ms │     no change │
│ QQuery 71 │        37.86 / 43.76 ±6.98 / 53.86 ms │        35.33 / 38.34 ±5.00 / 48.31 ms │ +1.14x faster │
│ QQuery 72 │ 2281.65 / 2339.58 ±82.95 / 2503.03 ms │ 2152.67 / 2200.73 ±35.06 / 2249.73 ms │ +1.06x faster │
│ QQuery 73 │          9.53 / 9.93 ±0.28 / 10.33 ms │          9.23 / 9.91 ±0.65 / 10.96 ms │     no change │
│ QQuery 74 │     173.81 / 177.77 ±3.33 / 183.88 ms │     173.89 / 176.42 ±2.66 / 181.15 ms │     no change │
│ QQuery 75 │    147.37 / 154.96 ±10.04 / 174.77 ms │     148.52 / 151.90 ±5.84 / 163.50 ms │     no change │
│ QQuery 76 │        35.52 / 35.81 ±0.19 / 36.05 ms │        35.34 / 36.10 ±0.39 / 36.46 ms │     no change │
│ QQuery 77 │        60.79 / 61.75 ±0.52 / 62.24 ms │        61.05 / 62.04 ±0.67 / 62.96 ms │     no change │
│ QQuery 78 │     185.02 / 191.40 ±8.21 / 207.18 ms │     184.86 / 191.41 ±5.88 / 199.87 ms │     no change │
│ QQuery 79 │        66.70 / 72.35 ±7.62 / 87.39 ms │        66.54 / 67.22 ±0.46 / 67.91 ms │ +1.08x faster │
│ QQuery 80 │     101.59 / 105.27 ±4.56 / 114.24 ms │      98.67 / 100.43 ±1.13 / 102.07 ms │     no change │
│ QQuery 81 │        25.89 / 26.03 ±0.11 / 26.17 ms │        25.93 / 28.07 ±4.10 / 36.27 ms │  1.08x slower │
│ QQuery 82 │        16.57 / 16.69 ±0.10 / 16.84 ms │        16.01 / 16.63 ±0.38 / 17.08 ms │     no change │
│ QQuery 83 │        40.51 / 45.36 ±5.46 / 54.73 ms │        39.45 / 39.99 ±0.52 / 40.91 ms │ +1.13x faster │
│ QQuery 84 │        34.84 / 35.46 ±0.41 / 36.05 ms │        30.03 / 32.07 ±3.50 / 39.06 ms │ +1.11x faster │
│ QQuery 85 │     111.00 / 112.20 ±1.04 / 113.73 ms │     107.79 / 110.00 ±3.78 / 117.54 ms │     no change │
│ QQuery 86 │        26.42 / 29.05 ±2.78 / 34.02 ms │        25.08 / 26.11 ±1.06 / 28.11 ms │ +1.11x faster │
│ QQuery 87 │        69.13 / 70.15 ±1.11 / 72.23 ms │        63.23 / 64.44 ±0.78 / 65.31 ms │ +1.09x faster │
│ QQuery 88 │        63.95 / 64.52 ±0.61 / 65.70 ms │        62.38 / 62.92 ±0.59 / 64.06 ms │     no change │
│ QQuery 89 │        36.68 / 37.08 ±0.35 / 37.64 ms │        35.61 / 36.63 ±1.42 / 39.44 ms │     no change │
│ QQuery 90 │        17.27 / 17.63 ±0.28 / 18.02 ms │        16.44 / 16.78 ±0.24 / 17.11 ms │     no change │
│ QQuery 91 │        46.21 / 48.81 ±3.54 / 55.84 ms │        45.42 / 46.24 ±0.49 / 46.96 ms │ +1.06x faster │
│ QQuery 92 │        30.80 / 31.93 ±0.86 / 33.37 ms │        29.53 / 31.11 ±2.33 / 35.60 ms │     no change │
│ QQuery 93 │        52.15 / 53.75 ±1.30 / 55.52 ms │        50.33 / 51.92 ±1.26 / 54.17 ms │     no change │
│ QQuery 94 │        40.18 / 40.88 ±1.00 / 42.88 ms │        38.43 / 38.87 ±0.50 / 39.75 ms │     no change │
│ QQuery 95 │        87.52 / 88.55 ±1.19 / 90.14 ms │        81.91 / 83.40 ±2.52 / 88.43 ms │ +1.06x faster │
│ QQuery 96 │        24.59 / 24.94 ±0.23 / 25.29 ms │        23.95 / 25.03 ±1.82 / 28.66 ms │     no change │
│ QQuery 97 │        46.54 / 47.08 ±0.46 / 47.66 ms │        46.48 / 47.65 ±0.90 / 49.25 ms │     no change │
│ QQuery 98 │        43.79 / 44.43 ±0.47 / 44.92 ms │        43.33 / 43.50 ±0.14 / 43.70 ms │     no change │
│ QQuery 99 │        71.14 / 73.12 ±2.42 / 77.81 ms │        69.87 / 71.45 ±2.07 / 75.52 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 10884.87ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 10805.11ms │
│ Average Time (HEAD)                               │   109.95ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   109.14ms │
│ Queries Faster                                    │         19 │
│ Queries Slower                                    │         12 │
│ Queries with No Change                            │         68 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 6.8 GiB
Avg memory 6.3 GiB
CPU user 252.6s
CPU sys 7.0s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 6.6 GiB
Avg memory 6.2 GiB
CPU user 243.1s
CPU sys 6.8s
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃    neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.15 / 3.25 ±4.16 / 11.57 ms │          1.22 / 3.34 ±4.16 / 11.65 ms │     no change │
│ QQuery 1  │        12.80 / 12.93 ±0.09 / 13.08 ms │        12.39 / 12.59 ±0.18 / 12.90 ms │     no change │
│ QQuery 2  │        35.68 / 35.95 ±0.21 / 36.25 ms │        35.37 / 35.91 ±0.42 / 36.64 ms │     no change │
│ QQuery 3  │        30.47 / 31.19 ±0.74 / 32.60 ms │        30.85 / 31.09 ±0.28 / 31.62 ms │     no change │
│ QQuery 4  │     218.05 / 222.43 ±2.81 / 226.06 ms │     219.65 / 223.43 ±3.39 / 229.37 ms │     no change │
│ QQuery 5  │     269.29 / 271.16 ±1.74 / 273.44 ms │     269.10 / 270.93 ±1.11 / 272.21 ms │     no change │
│ QQuery 6  │           1.18 / 1.32 ±0.22 / 1.75 ms │           1.24 / 1.39 ±0.23 / 1.85 ms │  1.05x slower │
│ QQuery 7  │        13.74 / 14.01 ±0.25 / 14.48 ms │        13.54 / 13.63 ±0.08 / 13.77 ms │     no change │
│ QQuery 8  │     315.35 / 319.41 ±2.30 / 321.32 ms │     315.36 / 318.51 ±2.30 / 321.37 ms │     no change │
│ QQuery 9  │     452.09 / 456.01 ±5.04 / 465.66 ms │     450.52 / 457.16 ±7.55 / 470.43 ms │     no change │
│ QQuery 10 │        69.21 / 70.88 ±1.70 / 74.03 ms │        68.12 / 69.81 ±1.83 / 73.32 ms │     no change │
│ QQuery 11 │        81.39 / 82.00 ±0.52 / 82.92 ms │        80.31 / 81.84 ±1.33 / 84.22 ms │     no change │
│ QQuery 12 │     264.10 / 270.23 ±5.08 / 276.29 ms │     263.02 / 272.26 ±6.07 / 280.60 ms │     no change │
│ QQuery 13 │     367.43 / 378.37 ±8.52 / 390.48 ms │    368.87 / 385.18 ±11.91 / 404.82 ms │     no change │
│ QQuery 14 │     278.72 / 284.05 ±4.09 / 289.16 ms │     279.01 / 285.51 ±9.29 / 303.88 ms │     no change │
│ QQuery 15 │     262.82 / 268.08 ±4.15 / 274.12 ms │     268.67 / 275.43 ±6.62 / 288.07 ms │     no change │
│ QQuery 16 │     607.80 / 617.08 ±7.93 / 627.09 ms │    606.48 / 623.89 ±13.17 / 640.35 ms │     no change │
│ QQuery 17 │     611.90 / 620.35 ±6.77 / 629.27 ms │     618.20 / 625.19 ±3.69 / 628.94 ms │     no change │
│ QQuery 18 │ 1232.43 / 1253.49 ±14.47 / 1271.35 ms │ 1264.49 / 1291.89 ±19.32 / 1320.50 ms │     no change │
│ QQuery 19 │        27.50 / 29.99 ±3.94 / 37.76 ms │        27.63 / 27.75 ±0.07 / 27.82 ms │ +1.08x faster │
│ QQuery 20 │    513.73 / 530.48 ±17.49 / 561.58 ms │    521.81 / 536.63 ±15.59 / 561.75 ms │     no change │
│ QQuery 21 │     518.94 / 522.30 ±2.78 / 525.97 ms │     515.71 / 523.02 ±3.94 / 526.54 ms │     no change │
│ QQuery 22 │    987.90 / 995.13 ±5.37 / 1002.26 ms │   988.95 / 1001.91 ±8.35 / 1014.73 ms │     no change │
│ QQuery 23 │ 3186.62 / 3214.48 ±26.01 / 3261.35 ms │ 3207.84 / 3234.84 ±23.49 / 3270.27 ms │     no change │
│ QQuery 24 │        42.28 / 43.70 ±1.75 / 46.69 ms │        41.46 / 41.91 ±0.43 / 42.72 ms │     no change │
│ QQuery 25 │     109.85 / 113.68 ±3.86 / 120.59 ms │     109.72 / 112.04 ±3.79 / 119.58 ms │     no change │
│ QQuery 26 │        41.65 / 42.48 ±0.85 / 44.02 ms │        41.88 / 43.60 ±1.36 / 46.05 ms │     no change │
│ QQuery 27 │     669.32 / 677.81 ±4.90 / 684.08 ms │     672.09 / 676.70 ±3.25 / 681.41 ms │     no change │
│ QQuery 28 │ 3015.11 / 3037.94 ±19.45 / 3061.77 ms │ 3030.33 / 3066.47 ±22.08 / 3085.84 ms │     no change │
│ QQuery 29 │       39.64 / 61.15 ±19.72 / 92.74 ms │        40.12 / 44.59 ±8.11 / 60.78 ms │ +1.37x faster │
│ QQuery 30 │     300.21 / 304.81 ±6.87 / 318.45 ms │     297.32 / 303.09 ±3.13 / 305.85 ms │     no change │
│ QQuery 31 │     281.33 / 292.82 ±5.96 / 298.04 ms │    285.71 / 296.28 ±10.75 / 316.69 ms │     no change │
│ QQuery 32 │   950.24 / 978.36 ±26.90 / 1013.48 ms │    940.00 / 964.09 ±20.52 / 995.52 ms │     no change │
│ QQuery 33 │ 1447.04 / 1474.56 ±20.43 / 1507.37 ms │ 1413.05 / 1461.14 ±37.43 / 1526.06 ms │     no change │
│ QQuery 34 │ 1446.53 / 1482.84 ±23.37 / 1519.66 ms │ 1442.28 / 1500.56 ±49.87 / 1588.47 ms │     no change │
│ QQuery 35 │    279.98 / 303.24 ±31.17 / 359.73 ms │    277.63 / 313.02 ±42.23 / 394.05 ms │     no change │
│ QQuery 36 │        65.97 / 68.28 ±3.52 / 75.24 ms │        64.01 / 67.31 ±2.68 / 71.33 ms │     no change │
│ QQuery 37 │        34.79 / 39.95 ±9.24 / 58.40 ms │        35.07 / 40.23 ±7.75 / 55.55 ms │     no change │
│ QQuery 38 │        41.03 / 46.45 ±4.29 / 53.94 ms │        42.55 / 44.63 ±2.67 / 49.90 ms │     no change │
│ QQuery 39 │     141.77 / 149.52 ±9.42 / 166.78 ms │    131.67 / 150.19 ±10.68 / 162.76 ms │     no change │
│ QQuery 40 │        13.67 / 15.78 ±3.76 / 23.28 ms │        13.86 / 15.74 ±2.80 / 21.16 ms │     no change │
│ QQuery 41 │        13.33 / 13.50 ±0.22 / 13.92 ms │        13.24 / 15.04 ±2.91 / 20.83 ms │  1.11x slower │
│ QQuery 42 │        12.75 / 12.93 ±0.20 / 13.33 ms │        12.82 / 16.68 ±6.95 / 30.57 ms │  1.29x slower │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 19664.36ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 19776.45ms │
│ Average Time (HEAD)                               │   457.31ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │   459.92ms │
│ Queries Faster                                    │          2 │
│ Queries Slower                                    │          3 │
│ Queries with No Change                            │         38 │
│ Queries with Failure                              │          0 │
└───────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 30.2 GiB
Avg memory 23.2 GiB
CPU user 1010.2s
CPU sys 73.7s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 100.0s
Peak memory 30.4 GiB
Avg memory 23.2 GiB
CPU user 1009.8s
CPU sys 76.6s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor

run benchmark tpch10

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4647917709-476-gqlzs 6.12.68+ #1 SMP Sat May 2 07:49:07 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 neilc/perf-fd-convert-to-semi-join (227b2ac) to 04ef3c7 (merge-base) diff using: tpch10
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)

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 neilc_perf-fd-convert-to-semi-join
--------------------
Benchmark tpch_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                               HEAD ┃ neilc_perf-fd-convert-to-semi-join ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │  313.38 / 314.55 ±1.09 / 316.15 ms │  312.06 / 313.56 ±1.15 / 315.05 ms │     no change │
│ QQuery 2  │  102.18 / 105.34 ±2.73 / 109.77 ms │  101.83 / 105.44 ±3.64 / 112.28 ms │     no change │
│ QQuery 3  │  232.88 / 237.11 ±3.57 / 243.43 ms │  232.54 / 240.39 ±4.31 / 243.83 ms │     no change │
│ QQuery 4  │  114.48 / 115.55 ±1.14 / 117.61 ms │  114.42 / 116.46 ±1.83 / 119.47 ms │     no change │
│ QQuery 5  │  346.15 / 350.41 ±5.79 / 361.24 ms │  350.58 / 354.86 ±3.03 / 358.67 ms │     no change │
│ QQuery 6  │  125.29 / 128.30 ±3.53 / 135.10 ms │  127.01 / 129.16 ±3.26 / 135.61 ms │     no change │
│ QQuery 7  │  460.75 / 467.51 ±6.36 / 475.51 ms │  460.68 / 464.20 ±3.06 / 469.55 ms │     no change │
│ QQuery 8  │ 376.58 / 389.66 ±14.04 / 416.36 ms │  380.87 / 386.43 ±4.04 / 391.70 ms │     no change │
│ QQuery 9  │  533.08 / 543.34 ±8.79 / 559.08 ms │  546.94 / 552.74 ±3.73 / 558.39 ms │     no change │
│ QQuery 10 │  306.40 / 312.53 ±7.41 / 325.33 ms │ 301.26 / 319.73 ±15.82 / 344.88 ms │     no change │
│ QQuery 11 │    85.19 / 90.01 ±7.32 / 104.50 ms │    87.56 / 94.72 ±7.92 / 105.51 ms │  1.05x slower │
│ QQuery 12 │  177.57 / 186.45 ±7.93 / 200.62 ms │  177.62 / 182.99 ±8.10 / 198.77 ms │     no change │
│ QQuery 13 │  281.43 / 291.97 ±9.47 / 306.53 ms │  305.99 / 311.31 ±5.52 / 321.14 ms │  1.07x slower │
│ QQuery 14 │  173.02 / 177.71 ±4.32 / 184.29 ms │  175.99 / 181.00 ±5.73 / 190.24 ms │     no change │
│ QQuery 15 │  310.35 / 312.48 ±1.89 / 315.27 ms │  309.11 / 313.31 ±4.45 / 320.28 ms │     no change │
│ QQuery 16 │     66.59 / 68.28 ±1.75 / 71.64 ms │     64.77 / 68.62 ±5.37 / 78.97 ms │     no change │
│ QQuery 17 │ 620.02 / 633.68 ±11.41 / 654.19 ms │  621.99 / 632.15 ±9.76 / 650.55 ms │     no change │
│ QQuery 18 │ 674.21 / 691.63 ±14.38 / 710.20 ms │ 668.44 / 682.92 ±13.69 / 703.35 ms │     no change │
│ QQuery 19 │ 249.42 / 263.71 ±11.61 / 283.56 ms │ 247.98 / 268.90 ±21.77 / 295.70 ms │     no change │
│ QQuery 20 │  279.65 / 290.61 ±8.45 / 300.42 ms │  293.56 / 300.11 ±3.74 / 305.16 ms │     no change │
│ QQuery 21 │ 752.08 / 783.65 ±20.97 / 816.99 ms │  647.22 / 664.79 ±9.76 / 675.19 ms │ +1.18x faster │
│ QQuery 22 │   60.18 / 85.37 ±31.59 / 142.66 ms │     61.26 / 63.41 ±1.47 / 65.02 ms │ +1.35x faster │
└───────────┴────────────────────────────────────┴────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                 ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                 │ 6839.85ms │
│ Total Time (neilc_perf-fd-convert-to-semi-join)   │ 6747.20ms │
│ Average Time (HEAD)                               │  310.90ms │
│ Average Time (neilc_perf-fd-convert-to-semi-join) │  306.69ms │
│ Queries Faster                                    │         2 │
│ Queries Slower                                    │         2 │
│ Queries with No Change                            │        18 │
│ Queries with Failure                              │         0 │
└───────────────────────────────────────────────────┴───────────┘

Resource Usage

tpch10 — base (merge-base)

Metric Value
Wall time 35.0s
Peak memory 11.8 GiB
Avg memory 8.8 GiB
CPU user 355.1s
CPU sys 21.5s
Peak spill 0 B

tpch10 — branch

Metric Value
Wall time 35.0s
Peak memory 12.1 GiB
Avg memory 8.5 GiB
CPU user 351.0s
CPU sys 20.8s
Peak spill 0 B

File an issue against this benchmark runner

@alamb

alamb commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

For anyone following along, @neilconway and @Dandandan made Semi-join faster in

So now we expect this rewrite to be better perofrming 🚀

@alamb alamb added the performance Make DataFusion faster label Jun 8, 2026
@neilconway

neilconway commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

The latest benchmark numbers look better overall.

Looking at the TPC-H numbers, at least locally w/ SF10, it seems that Q22 improves because switching to a semi-join results in emitting different stats for the join output, and those stats result in avoiding some poor planner choices we made for operators above the semi-join. So while semi-joins are a bit easier to compute stats for than inner joins, the win there is a bit coincidental. Q13 and Q22 are noise (no plan change from this rewrite).

I looked at TPC-DS Q14, it's interesting: locally, the rewrite regresses performance by ~15% with >= 2 partitions but improves performance by ~10% with a single partition. The reason seems to be that using a semi-join results in less flexibility for subsequent partition decision making, so the overall plan performs worse because it needs a repartition that the inner join plan didn't.

I think we're okay to merge this as-is, but there's a bunch of room for further improvements:

  1. perf: Optimize semi-, anti-join index alignment #22794 reduced semi-join overhead compared to inner joins, but semi-joins are still slower than inner joins in DF. We might still see overall performance improvements from this rewrite -- two causes might be plan changes/improvements, or perhaps because semi-joins effectively do duplicate elimination sooner, which reduces the # of intermediate values passed between operators. But if we had a specialized join kernel for semi-joins I think we could get significantly better performance on the join itself.
  2. As mentioned for Q14 above, semi-joins actually have one negative property compared to inner joins: their partitioning behavior is less flexible. Once we commit to LeftSemi vs. RightSemi (which we do on the basis of which join operand is smaller), we never consider swapping back -- even if changing the join orientation would result in better partitioning behavior for downstream operators. That seems like something we could improve, e.g., in EnsureRequirements.

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

Labels

optimizer Optimizer rules performance Make DataFusion faster sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize inner joins to semi joins when possible

4 participants