Skip to content

Use BooleanBuffer bitwise ops instead of arrow::compute::and#21338

Closed
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:bitwise-assign
Closed

Use BooleanBuffer bitwise ops instead of arrow::compute::and#21338
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:bitwise-assign

Conversation

@Dandandan
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A - minor optimization

Rationale for this change

arrow::compute::and() operates on BooleanArray and includes null-handling overhead (computing output null buffer). In many cases, we can use BooleanBuffer bitwise operations (&, &=) directly, which:

  • Avoids allocating intermediate BooleanArrays with null buffers
  • Enables in-place accumulation with &= (no new allocation per iteration)
  • Is simpler when inputs are known to have no nulls (e.g., is_not_null() results)

What changes are included in this PR?

Replace arrow::compute::and() with BooleanBuffer bitwise operations in 5 files:

  • catalog/table.rs: Filter mask accumulation loop → BooleanBuffer &= in-place
  • joins/utils.rs: Equality result fold → explicit loop with BooleanBuffer &=
  • metadata.rs: Combining eq/exactness masks → BooleanBuffer &
  • correlation.rs: Combining is_not_null() results → values() & values() (no nulls)
  • approx_percentile_cont_with_weight.rs: Same is_not_null() pattern

Where inputs may have nulls (filters, eq results), null values are converted to false at the buffer level via values() & nulls.inner() before combining.

Are these changes tested?

Existing tests cover these code paths.

Are there any user-facing changes?

No.

🤖 Generated with Claude Code

@github-actions github-actions bot added physical-expr Changes to the physical-expr crates catalog Related to the catalog crate functions Changes to functions implementation datasource Changes to the datasource crate physical-plan Changes to the physical-plan crate spark labels Apr 3, 2026
Replace `arrow::compute::and()` calls with `BooleanBuffer` bitwise
operations (`&`, `&=`) where possible. This avoids allocating
intermediate BooleanArrays with null handling overhead.

- catalog/table.rs: accumulate filter masks with `BooleanBuffer &=`
- joins/utils.rs: fold equality results with `BooleanBuffer &=`
- metadata.rs: combine eq/exactness masks with `BooleanBuffer &`
- correlation.rs: combine is_not_null results with `BooleanBuffer &`
- approx_percentile_cont_with_weight.rs: same pattern

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot removed physical-expr Changes to the physical-expr crates spark labels Apr 3, 2026
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmarks

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4183271617-731-xswg9 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 bitwise-assign (401ef47) to 1e93a67 (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-c4183271617-733-j5c88 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 bitwise-assign (401ef47) to 1e93a67 (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-c4183271617-732-xgvhl 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 bitwise-assign (401ef47) to 1e93a67 (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 bitwise-assign
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃                 bitwise-assign ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │ 45.06 / 46.04 ±0.72 / 47.27 ms │ 47.45 / 47.92 ±0.72 / 49.36 ms │    no change │
│ QQuery 2  │ 21.14 / 21.39 ±0.24 / 21.82 ms │ 22.63 / 22.79 ±0.14 / 23.01 ms │ 1.07x slower │
│ QQuery 3  │ 31.80 / 32.15 ±0.22 / 32.39 ms │ 33.28 / 34.32 ±1.35 / 36.96 ms │ 1.07x slower │
│ QQuery 4  │ 21.33 / 22.82 ±1.05 / 24.05 ms │ 21.59 / 22.08 ±0.47 / 22.83 ms │    no change │
│ QQuery 5  │ 48.67 / 50.80 ±1.74 / 52.79 ms │ 51.31 / 54.77 ±2.34 / 58.31 ms │ 1.08x slower │
│ QQuery 6  │ 17.08 / 17.29 ±0.10 / 17.37 ms │ 18.39 / 18.64 ±0.21 / 18.83 ms │ 1.08x slower │
│ QQuery 7  │ 54.68 / 57.10 ±1.47 / 58.80 ms │ 59.79 / 61.18 ±1.28 / 63.30 ms │ 1.07x slower │
│ QQuery 8  │ 48.01 / 48.98 ±0.65 / 50.06 ms │ 50.25 / 51.00 ±0.77 / 52.43 ms │    no change │
│ QQuery 9  │ 53.13 / 54.48 ±0.74 / 55.27 ms │ 58.45 / 59.48 ±0.65 / 60.46 ms │ 1.09x slower │
│ QQuery 10 │ 71.70 / 73.54 ±1.92 / 76.95 ms │ 76.31 / 78.31 ±1.07 / 79.50 ms │ 1.06x slower │
│ QQuery 11 │ 14.18 / 14.42 ±0.19 / 14.76 ms │ 15.35 / 15.52 ±0.16 / 15.80 ms │ 1.08x slower │
│ QQuery 12 │ 27.28 / 28.01 ±0.37 / 28.27 ms │ 29.39 / 29.97 ±0.65 / 30.96 ms │ 1.07x slower │
│ QQuery 13 │ 39.06 / 39.75 ±0.45 / 40.31 ms │ 41.87 / 42.50 ±0.41 / 43.01 ms │ 1.07x slower │
│ QQuery 14 │ 28.45 / 28.87 ±0.22 / 29.05 ms │ 29.95 / 30.45 ±0.59 / 31.58 ms │ 1.05x slower │
│ QQuery 15 │ 33.78 / 34.02 ±0.17 / 34.21 ms │ 35.97 / 38.50 ±2.10 / 41.98 ms │ 1.13x slower │
│ QQuery 16 │ 16.27 / 17.03 ±0.62 / 17.96 ms │ 17.06 / 17.45 ±0.31 / 17.99 ms │    no change │
│ QQuery 17 │ 73.78 / 75.07 ±1.18 / 77.30 ms │ 84.47 / 86.01 ±1.20 / 87.83 ms │ 1.15x slower │
│ QQuery 18 │ 77.60 / 79.57 ±1.94 / 83.01 ms │ 86.98 / 88.12 ±1.11 / 89.96 ms │ 1.11x slower │
│ QQuery 19 │ 37.55 / 38.28 ±0.82 / 39.34 ms │ 39.98 / 40.90 ±0.57 / 41.76 ms │ 1.07x slower │
│ QQuery 20 │ 40.35 / 41.04 ±0.55 / 41.98 ms │ 42.70 / 44.60 ±1.68 / 47.62 ms │ 1.09x slower │
│ QQuery 21 │ 64.07 / 65.32 ±1.20 / 67.51 ms │ 71.42 / 73.25 ±1.00 / 74.20 ms │ 1.12x slower │
│ QQuery 22 │ 17.95 / 18.17 ±0.19 / 18.42 ms │ 19.17 / 19.63 ±0.57 / 20.68 ms │ 1.08x slower │
└───────────┴────────────────────────────────┴────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary             ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)             │ 904.12ms │
│ Total Time (bitwise-assign)   │ 977.38ms │
│ Average Time (HEAD)           │  41.10ms │
│ Average Time (bitwise-assign) │  44.43ms │
│ Queries Faster                │        0 │
│ Queries Slower                │       18 │
│ Queries with No Change        │        4 │
│ Queries with Failure          │        0 │
└───────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 4.8s
Peak memory 4.1 GiB
Avg memory 3.6 GiB
CPU user 33.9s
CPU sys 2.5s
Disk read 0 B
Disk write 136.0 KiB

tpch — branch

Metric Value
Wall time 5.1s
Peak memory 4.0 GiB
Avg memory 3.6 GiB
CPU user 36.7s
CPU sys 2.9s
Disk read 0 B
Disk write 72.0 KiB

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 bitwise-assign
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                     HEAD ┃                           bitwise-assign ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           42.73 / 43.84 ±0.98 / 45.09 ms │           44.00 / 44.75 ±0.76 / 46.05 ms │     no change │
│ QQuery 2  │        148.14 / 149.16 ±0.94 / 150.82 ms │        148.99 / 150.29 ±0.81 / 151.26 ms │     no change │
│ QQuery 3  │        113.43 / 114.04 ±0.35 / 114.44 ms │        115.75 / 117.03 ±0.71 / 117.80 ms │     no change │
│ QQuery 4  │    1278.85 / 1374.71 ±75.70 / 1488.79 ms │    1306.43 / 1338.39 ±29.05 / 1385.13 ms │     no change │
│ QQuery 5  │        172.96 / 174.32 ±1.29 / 176.49 ms │        173.21 / 173.56 ±0.37 / 174.21 ms │     no change │
│ QQuery 6  │     1010.18 / 1020.05 ±8.90 / 1034.19 ms │     985.24 / 1040.60 ±37.08 / 1097.28 ms │     no change │
│ QQuery 7  │        349.89 / 353.10 ±3.01 / 358.18 ms │        358.70 / 364.06 ±4.29 / 370.25 ms │     no change │
│ QQuery 8  │        116.80 / 118.01 ±1.27 / 119.58 ms │        117.50 / 118.37 ±0.75 / 119.38 ms │     no change │
│ QQuery 9  │        100.88 / 104.12 ±2.27 / 106.76 ms │        103.24 / 107.55 ±4.25 / 115.23 ms │     no change │
│ QQuery 10 │        105.02 / 107.54 ±1.46 / 109.14 ms │        106.09 / 108.60 ±1.40 / 109.99 ms │     no change │
│ QQuery 11 │     938.67 / 1005.52 ±49.42 / 1088.20 ms │        901.04 / 910.33 ±7.63 / 922.39 ms │ +1.10x faster │
│ QQuery 12 │           45.91 / 48.22 ±1.66 / 50.65 ms │           44.88 / 47.00 ±1.90 / 50.09 ms │     no change │
│ QQuery 13 │        401.06 / 403.93 ±2.86 / 407.96 ms │        402.27 / 404.19 ±1.72 / 407.29 ms │     no change │
│ QQuery 14 │     1016.11 / 1022.30 ±4.22 / 1028.72 ms │     1010.86 / 1025.92 ±9.15 / 1037.84 ms │     no change │
│ QQuery 15 │           15.97 / 16.53 ±0.57 / 17.45 ms │           16.57 / 17.75 ±1.30 / 20.21 ms │  1.07x slower │
│ QQuery 16 │           40.37 / 40.93 ±0.38 / 41.53 ms │           41.69 / 42.47 ±0.69 / 43.62 ms │     no change │
│ QQuery 17 │        237.06 / 240.03 ±2.17 / 242.73 ms │        245.49 / 251.62 ±3.65 / 254.77 ms │     no change │
│ QQuery 18 │        127.37 / 129.40 ±1.14 / 130.74 ms │        132.26 / 134.40 ±1.60 / 136.52 ms │     no change │
│ QQuery 19 │        156.49 / 158.44 ±1.88 / 161.90 ms │        160.52 / 162.49 ±1.33 / 164.05 ms │     no change │
│ QQuery 20 │           14.34 / 14.74 ±0.45 / 15.49 ms │           14.33 / 14.82 ±0.47 / 15.48 ms │     no change │
│ QQuery 21 │           19.95 / 20.35 ±0.31 / 20.87 ms │           20.19 / 20.71 ±0.43 / 21.25 ms │     no change │
│ QQuery 22 │        501.17 / 510.72 ±7.38 / 521.81 ms │        486.67 / 491.34 ±3.08 / 495.76 ms │     no change │
│ QQuery 23 │        890.99 / 903.66 ±7.10 / 911.64 ms │        885.54 / 901.60 ±9.77 / 911.03 ms │     no change │
│ QQuery 24 │        409.57 / 414.98 ±3.16 / 418.90 ms │        413.56 / 416.32 ±3.51 / 423.23 ms │     no change │
│ QQuery 25 │        352.38 / 356.71 ±2.59 / 359.52 ms │        352.49 / 358.81 ±5.56 / 369.17 ms │     no change │
│ QQuery 26 │           80.84 / 82.97 ±2.14 / 85.60 ms │           82.75 / 84.54 ±0.97 / 85.46 ms │     no change │
│ QQuery 27 │        344.11 / 346.01 ±2.01 / 349.23 ms │        354.07 / 360.25 ±3.26 / 362.82 ms │     no change │
│ QQuery 28 │        146.96 / 148.56 ±0.99 / 149.93 ms │        150.98 / 152.04 ±0.59 / 152.73 ms │     no change │
│ QQuery 29 │        296.12 / 300.12 ±3.38 / 305.42 ms │        300.24 / 303.87 ±3.95 / 311.44 ms │     no change │
│ QQuery 30 │           44.07 / 45.95 ±1.33 / 47.36 ms │           44.50 / 46.03 ±1.61 / 49.02 ms │     no change │
│ QQuery 31 │        174.72 / 176.06 ±2.10 / 180.23 ms │        173.32 / 175.63 ±2.47 / 179.95 ms │     no change │
│ QQuery 32 │         58.07 / 68.28 ±18.52 / 105.30 ms │           57.32 / 58.54 ±0.71 / 59.42 ms │ +1.17x faster │
│ QQuery 33 │        141.09 / 143.69 ±1.76 / 146.47 ms │        141.97 / 143.85 ±1.22 / 145.60 ms │     no change │
│ QQuery 34 │        110.58 / 111.92 ±1.63 / 115.08 ms │        108.26 / 109.22 ±0.65 / 110.27 ms │     no change │
│ QQuery 35 │        107.74 / 109.90 ±1.63 / 111.96 ms │        111.72 / 112.57 ±0.98 / 113.93 ms │     no change │
│ QQuery 36 │        213.62 / 220.54 ±4.93 / 227.95 ms │        220.90 / 223.56 ±3.32 / 229.95 ms │     no change │
│ QQuery 37 │        176.76 / 180.76 ±2.14 / 182.82 ms │        179.61 / 184.62 ±2.60 / 186.56 ms │     no change │
│ QQuery 38 │           87.03 / 90.84 ±2.72 / 94.10 ms │           88.47 / 91.62 ±3.39 / 98.18 ms │     no change │
│ QQuery 39 │        124.32 / 129.44 ±2.86 / 132.50 ms │        126.60 / 128.96 ±2.00 / 132.66 ms │     no change │
│ QQuery 40 │        113.62 / 116.65 ±4.35 / 125.27 ms │        113.74 / 119.41 ±9.70 / 138.74 ms │     no change │
│ QQuery 41 │           13.90 / 14.92 ±0.67 / 15.76 ms │           14.26 / 15.52 ±1.06 / 17.13 ms │     no change │
│ QQuery 42 │        105.85 / 108.04 ±2.07 / 111.16 ms │        108.10 / 110.01 ±1.61 / 111.94 ms │     no change │
│ QQuery 43 │           82.78 / 83.86 ±0.76 / 85.15 ms │           85.50 / 85.82 ±0.31 / 86.35 ms │     no change │
│ QQuery 44 │           11.66 / 11.94 ±0.37 / 12.62 ms │           12.42 / 13.07 ±0.57 / 14.03 ms │  1.10x slower │
│ QQuery 45 │           51.81 / 53.72 ±1.60 / 56.55 ms │           52.17 / 54.62 ±1.51 / 56.32 ms │     no change │
│ QQuery 46 │        229.89 / 231.71 ±2.10 / 235.09 ms │        231.44 / 233.19 ±1.54 / 235.92 ms │     no change │
│ QQuery 47 │        686.99 / 690.66 ±3.22 / 696.41 ms │       718.27 / 773.42 ±32.71 / 810.60 ms │  1.12x slower │
│ QQuery 48 │        288.83 / 293.31 ±4.84 / 301.94 ms │        292.62 / 296.33 ±2.53 / 299.16 ms │     no change │
│ QQuery 49 │        255.42 / 256.97 ±0.99 / 258.27 ms │        251.42 / 255.05 ±2.92 / 258.97 ms │     no change │
│ QQuery 50 │        254.05 / 256.99 ±2.31 / 259.76 ms │        227.12 / 232.73 ±4.02 / 239.26 ms │ +1.10x faster │
│ QQuery 51 │        182.28 / 184.68 ±2.24 / 188.69 ms │        184.23 / 186.99 ±2.72 / 191.59 ms │     no change │
│ QQuery 52 │        106.46 / 108.75 ±1.52 / 110.78 ms │        107.32 / 109.24 ±1.79 / 112.41 ms │     no change │
│ QQuery 53 │        102.09 / 103.56 ±1.11 / 105.11 ms │        102.41 / 103.44 ±0.85 / 104.91 ms │     no change │
│ QQuery 54 │        146.81 / 148.13 ±1.51 / 151.09 ms │        147.21 / 148.76 ±0.92 / 150.06 ms │     no change │
│ QQuery 55 │        105.59 / 107.00 ±1.02 / 108.44 ms │        107.09 / 108.74 ±1.61 / 111.51 ms │     no change │
│ QQuery 56 │        140.47 / 142.23 ±1.67 / 145.08 ms │        140.50 / 141.17 ±0.53 / 142.01 ms │     no change │
│ QQuery 57 │        173.95 / 175.59 ±1.70 / 177.74 ms │        173.74 / 176.36 ±1.69 / 178.40 ms │     no change │
│ QQuery 58 │        291.79 / 299.22 ±4.80 / 304.25 ms │       297.65 / 309.91 ±14.14 / 334.14 ms │     no change │
│ QQuery 59 │        198.14 / 200.89 ±2.24 / 203.87 ms │        199.19 / 202.02 ±1.80 / 203.87 ms │     no change │
│ QQuery 60 │        143.41 / 145.25 ±1.15 / 146.60 ms │        145.14 / 146.14 ±0.92 / 147.30 ms │     no change │
│ QQuery 61 │        170.47 / 172.19 ±1.26 / 174.19 ms │        178.26 / 180.21 ±1.18 / 181.76 ms │     no change │
│ QQuery 62 │      878.72 / 992.60 ±70.08 / 1054.19 ms │      897.14 / 972.97 ±47.62 / 1033.96 ms │     no change │
│ QQuery 63 │        105.06 / 107.65 ±1.38 / 109.10 ms │        102.57 / 105.86 ±2.63 / 110.57 ms │     no change │
│ QQuery 64 │        715.34 / 721.83 ±4.98 / 727.61 ms │        693.62 / 698.30 ±3.57 / 702.73 ms │     no change │
│ QQuery 65 │        258.43 / 261.37 ±2.23 / 264.75 ms │        251.97 / 253.77 ±1.50 / 255.96 ms │     no change │
│ QQuery 66 │        240.16 / 252.15 ±9.30 / 266.48 ms │        250.80 / 258.75 ±8.08 / 274.11 ms │     no change │
│ QQuery 67 │        299.69 / 311.75 ±6.92 / 319.69 ms │        316.14 / 322.14 ±3.37 / 325.76 ms │     no change │
│ QQuery 68 │        276.82 / 281.22 ±3.19 / 285.11 ms │        277.93 / 284.49 ±4.87 / 292.70 ms │     no change │
│ QQuery 69 │        100.41 / 101.92 ±1.27 / 104.16 ms │        103.37 / 104.50 ±0.86 / 105.76 ms │     no change │
│ QQuery 70 │       325.60 / 346.36 ±12.43 / 361.92 ms │       337.97 / 355.16 ±15.33 / 383.79 ms │     no change │
│ QQuery 71 │        132.61 / 135.21 ±2.37 / 138.46 ms │        140.15 / 141.49 ±0.92 / 143.02 ms │     no change │
│ QQuery 72 │       717.11 / 738.95 ±11.99 / 749.93 ms │       718.68 / 736.72 ±12.63 / 751.76 ms │     no change │
│ QQuery 73 │        104.95 / 106.88 ±1.27 / 108.51 ms │        102.46 / 104.47 ±1.52 / 106.49 ms │     no change │
│ QQuery 74 │       571.45 / 602.54 ±33.45 / 647.03 ms │        540.73 / 552.70 ±8.47 / 562.69 ms │ +1.09x faster │
│ QQuery 75 │        275.37 / 276.98 ±1.30 / 278.78 ms │        277.17 / 279.43 ±2.43 / 284.01 ms │     no change │
│ QQuery 76 │        132.97 / 134.18 ±0.76 / 135.12 ms │        130.10 / 133.34 ±2.23 / 136.49 ms │     no change │
│ QQuery 77 │        186.77 / 189.03 ±1.49 / 191.06 ms │        188.28 / 190.41 ±1.52 / 192.58 ms │     no change │
│ QQuery 78 │        345.73 / 350.60 ±5.06 / 357.37 ms │        354.06 / 359.43 ±5.10 / 368.73 ms │     no change │
│ QQuery 79 │        229.69 / 231.64 ±1.80 / 234.82 ms │        252.58 / 256.31 ±2.68 / 259.70 ms │  1.11x slower │
│ QQuery 80 │        325.21 / 328.11 ±3.14 / 334.07 ms │        332.52 / 335.23 ±2.14 / 338.72 ms │     no change │
│ QQuery 81 │           26.68 / 27.89 ±1.18 / 30.16 ms │           27.15 / 27.94 ±0.72 / 28.81 ms │     no change │
│ QQuery 82 │        198.74 / 200.80 ±1.81 / 203.43 ms │        201.19 / 204.31 ±2.62 / 207.72 ms │     no change │
│ QQuery 83 │           39.70 / 41.60 ±1.29 / 43.01 ms │           39.06 / 41.52 ±1.73 / 44.12 ms │     no change │
│ QQuery 84 │           49.37 / 50.76 ±0.88 / 52.04 ms │           48.79 / 49.21 ±0.21 / 49.36 ms │     no change │
│ QQuery 85 │        150.61 / 152.81 ±1.63 / 154.69 ms │        144.41 / 148.63 ±2.56 / 151.60 ms │     no change │
│ QQuery 86 │           39.54 / 40.48 ±0.62 / 41.42 ms │           38.93 / 40.05 ±0.70 / 41.14 ms │     no change │
│ QQuery 87 │          89.51 / 93.02 ±4.45 / 100.78 ms │           85.76 / 90.38 ±3.55 / 95.85 ms │     no change │
│ QQuery 88 │        101.52 / 102.08 ±0.48 / 102.64 ms │         99.58 / 100.70 ±0.74 / 101.63 ms │     no change │
│ QQuery 89 │        119.76 / 121.80 ±1.52 / 123.50 ms │        117.02 / 118.80 ±1.17 / 120.42 ms │     no change │
│ QQuery 90 │           23.72 / 24.67 ±0.69 / 25.65 ms │           23.24 / 24.02 ±0.52 / 24.76 ms │     no change │
│ QQuery 91 │           66.40 / 67.68 ±1.19 / 69.53 ms │           62.72 / 64.82 ±1.57 / 66.63 ms │     no change │
│ QQuery 92 │           58.26 / 59.49 ±0.84 / 60.71 ms │           57.35 / 59.07 ±1.08 / 60.75 ms │     no change │
│ QQuery 93 │        193.30 / 197.37 ±3.65 / 204.06 ms │        193.59 / 194.82 ±0.70 / 195.53 ms │     no change │
│ QQuery 94 │           62.35 / 63.26 ±0.74 / 64.50 ms │           59.68 / 61.72 ±1.18 / 63.15 ms │     no change │
│ QQuery 95 │        136.62 / 137.40 ±0.78 / 138.70 ms │        135.78 / 137.80 ±2.02 / 141.05 ms │     no change │
│ QQuery 96 │           73.09 / 75.17 ±1.76 / 78.37 ms │           72.82 / 75.71 ±1.92 / 78.17 ms │     no change │
│ QQuery 97 │        128.32 / 131.50 ±2.45 / 133.99 ms │        130.25 / 131.60 ±0.74 / 132.43 ms │     no change │
│ QQuery 98 │        151.75 / 153.72 ±1.38 / 155.33 ms │        152.38 / 154.17 ±1.36 / 155.87 ms │     no change │
│ QQuery 99 │ 10798.82 / 10842.95 ±23.94 / 10867.37 ms │ 10788.21 / 10841.86 ±48.68 / 10933.57 ms │     no change │
└───────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary             ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)             │ 33962.03ms │
│ Total Time (bitwise-assign)   │ 33953.07ms │
│ Average Time (HEAD)           │   343.05ms │
│ Average Time (bitwise-assign) │   342.96ms │
│ Queries Faster                │          4 │
│ Queries Slower                │          4 │
│ Queries with No Change        │         91 │
│ Queries with Failure          │          0 │
└───────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 170.1s
Peak memory 5.2 GiB
Avg memory 4.4 GiB
CPU user 273.5s
CPU sys 18.6s
Disk read 0 B
Disk write 638.1 MiB

tpcds — branch

Metric Value
Wall time 170.1s
Peak memory 5.6 GiB
Avg memory 4.6 GiB
CPU user 272.8s
CPU sys 18.3s
Disk read 0 B
Disk write 148.0 KiB

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 bitwise-assign
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃                        bitwise-assign ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.28 / 4.60 ±6.49 / 17.58 ms │          1.30 / 4.58 ±6.42 / 17.42 ms │     no change │
│ QQuery 1  │        14.72 / 14.84 ±0.10 / 15.03 ms │        15.42 / 15.87 ±0.58 / 17.01 ms │  1.07x slower │
│ QQuery 2  │        43.40 / 45.01 ±1.17 / 46.74 ms │        44.89 / 45.26 ±0.41 / 46.04 ms │     no change │
│ QQuery 3  │        43.33 / 44.90 ±1.47 / 46.76 ms │        43.37 / 44.69 ±1.19 / 46.56 ms │     no change │
│ QQuery 4  │    286.91 / 313.92 ±21.13 / 345.20 ms │    301.55 / 318.56 ±16.01 / 346.08 ms │     no change │
│ QQuery 5  │    348.85 / 365.69 ±16.27 / 388.40 ms │    352.45 / 371.93 ±12.34 / 386.10 ms │     no change │
│ QQuery 6  │           5.48 / 6.18 ±0.50 / 6.81 ms │           5.38 / 6.14 ±0.76 / 7.46 ms │     no change │
│ QQuery 7  │        16.74 / 17.28 ±0.45 / 18.04 ms │        17.29 / 18.94 ±2.97 / 24.88 ms │  1.10x slower │
│ QQuery 8  │    426.23 / 444.87 ±21.16 / 484.28 ms │    435.59 / 454.81 ±15.98 / 481.32 ms │     no change │
│ QQuery 9  │    668.77 / 696.00 ±22.62 / 734.29 ms │    646.20 / 692.10 ±28.41 / 720.34 ms │     no change │
│ QQuery 10 │       91.75 / 97.10 ±6.86 / 110.58 ms │       93.98 / 97.92 ±2.75 / 100.96 ms │     no change │
│ QQuery 11 │     105.61 / 109.72 ±3.80 / 114.90 ms │     106.50 / 110.82 ±2.83 / 114.12 ms │     no change │
│ QQuery 12 │    369.16 / 382.22 ±12.12 / 404.83 ms │     355.67 / 361.35 ±4.61 / 369.64 ms │ +1.06x faster │
│ QQuery 13 │    460.09 / 478.25 ±13.16 / 499.34 ms │    451.15 / 491.76 ±26.97 / 517.69 ms │     no change │
│ QQuery 14 │    357.99 / 369.42 ±11.54 / 390.09 ms │     360.69 / 367.70 ±5.75 / 377.68 ms │     no change │
│ QQuery 15 │    379.12 / 406.53 ±20.91 / 439.93 ms │     405.99 / 413.35 ±8.47 / 429.44 ms │     no change │
│ QQuery 16 │    755.04 / 777.20 ±17.33 / 799.59 ms │    785.90 / 811.01 ±15.52 / 831.27 ms │     no change │
│ QQuery 17 │    731.74 / 759.40 ±15.79 / 777.38 ms │     798.38 / 803.12 ±3.49 / 808.96 ms │  1.06x slower │
│ QQuery 18 │ 1403.64 / 1430.27 ±21.72 / 1461.85 ms │ 1466.62 / 1543.61 ±46.30 / 1612.20 ms │  1.08x slower │
│ QQuery 19 │        37.82 / 39.68 ±1.21 / 41.21 ms │        36.89 / 39.87 ±2.03 / 42.27 ms │     no change │
│ QQuery 20 │    710.82 / 729.81 ±15.06 / 752.79 ms │    728.70 / 741.23 ±15.95 / 770.96 ms │     no change │
│ QQuery 21 │     760.94 / 777.76 ±9.20 / 787.24 ms │     768.11 / 778.48 ±6.34 / 787.24 ms │     no change │
│ QQuery 22 │ 1163.98 / 1184.29 ±13.53 / 1204.49 ms │  1151.03 / 1156.48 ±4.08 / 1162.79 ms │     no change │
│ QQuery 23 │  3148.68 / 3157.53 ±5.97 / 3164.96 ms │ 3148.07 / 3176.21 ±17.35 / 3201.49 ms │     no change │
│ QQuery 24 │      99.74 / 102.90 ±1.64 / 104.13 ms │     102.47 / 106.10 ±2.23 / 108.97 ms │     no change │
│ QQuery 25 │     142.38 / 145.18 ±1.52 / 146.75 ms │     142.07 / 144.00 ±1.96 / 147.32 ms │     no change │
│ QQuery 26 │      99.88 / 102.93 ±3.27 / 108.04 ms │     102.49 / 105.22 ±2.96 / 110.24 ms │     no change │
│ QQuery 27 │     861.72 / 871.06 ±7.67 / 882.56 ms │     857.29 / 864.81 ±5.26 / 871.59 ms │     no change │
│ QQuery 28 │ 7769.18 / 7839.42 ±43.31 / 7897.49 ms │ 7768.67 / 7831.06 ±32.80 / 7859.86 ms │     no change │
│ QQuery 29 │        51.51 / 56.05 ±5.05 / 63.85 ms │        50.71 / 55.38 ±3.89 / 61.23 ms │     no change │
│ QQuery 30 │     376.00 / 386.84 ±9.84 / 400.48 ms │     368.14 / 385.27 ±9.66 / 397.78 ms │     no change │
│ QQuery 31 │    376.66 / 393.84 ±13.74 / 412.15 ms │    380.06 / 396.79 ±12.42 / 415.68 ms │     no change │
│ QQuery 32 │ 1077.45 / 1107.16 ±29.15 / 1159.47 ms │ 1278.42 / 1340.03 ±37.30 / 1384.87 ms │  1.21x slower │
│ QQuery 33 │ 1526.53 / 1557.20 ±21.84 / 1587.08 ms │ 1624.82 / 1685.39 ±48.23 / 1749.11 ms │  1.08x slower │
│ QQuery 34 │ 1520.55 / 1558.96 ±26.63 / 1592.49 ms │ 1531.05 / 1653.27 ±75.94 / 1768.31 ms │  1.06x slower │
│ QQuery 35 │    399.70 / 444.66 ±29.21 / 479.92 ms │    492.45 / 525.85 ±40.16 / 603.30 ms │  1.18x slower │
│ QQuery 36 │     120.93 / 125.31 ±2.82 / 128.34 ms │     129.82 / 141.73 ±6.55 / 149.38 ms │  1.13x slower │
│ QQuery 37 │        51.48 / 54.74 ±1.83 / 57.05 ms │        51.76 / 52.98 ±1.20 / 54.56 ms │     no change │
│ QQuery 38 │        77.35 / 78.67 ±1.36 / 80.82 ms │        82.76 / 86.65 ±3.57 / 92.70 ms │  1.10x slower │
│ QQuery 39 │    220.25 / 232.80 ±13.42 / 258.68 ms │     249.50 / 254.09 ±4.28 / 260.96 ms │  1.09x slower │
│ QQuery 40 │        23.04 / 26.58 ±3.07 / 32.07 ms │        24.36 / 27.27 ±1.57 / 28.62 ms │     no change │
│ QQuery 41 │        22.08 / 23.84 ±1.84 / 26.36 ms │        22.42 / 23.64 ±1.18 / 25.19 ms │     no change │
│ QQuery 42 │        20.98 / 21.75 ±0.41 / 22.18 ms │        21.07 / 21.56 ±0.37 / 22.15 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary             ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)             │ 27782.38ms │
│ Total Time (bitwise-assign)   │ 28566.89ms │
│ Average Time (HEAD)           │   646.10ms │
│ Average Time (bitwise-assign) │   664.35ms │
│ Queries Faster                │          1 │
│ Queries Slower                │         11 │
│ Queries with No Change        │         31 │
│ Queries with Failure          │          0 │
└───────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 140.0s
Peak memory 40.6 GiB
Avg memory 33.5 GiB
CPU user 1323.3s
CPU sys 88.3s
Disk read 0 B
Disk write 4.3 GiB

clickbench_partitioned — branch

Metric Value
Wall time 143.5s
Peak memory 38.6 GiB
Avg memory 31.0 GiB
CPU user 1329.8s
CPU sys 115.2s
Disk read 0 B
Disk write 96.0 KiB

File an issue against this benchmark runner

@alamb
Copy link
Copy Markdown
Contributor

alamb commented Apr 3, 2026

run benchmark tpch

}

let mut combined_mask: Option<BooleanArray> = None;
let mut combined_buf: Option<BooleanBuffer> = None;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What do you think about implementing this API:

We could then use it for these cases 🤔

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.

Yeah it is a good idea!
I don't see yet any real e2e improvements so closing this one for now :)

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4184402181-759-k47cc 6.12.55+ #1 SMP Sun Feb 1 08:59:41 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 bitwise-assign (401ef47) to 1e93a67 (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 bitwise-assign
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃                 bitwise-assign ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │ 44.74 / 45.92 ±0.94 / 47.17 ms │ 44.92 / 45.59 ±0.81 / 47.11 ms │    no change │
│ QQuery 2  │ 21.88 / 22.15 ±0.21 / 22.39 ms │ 21.93 / 22.21 ±0.25 / 22.61 ms │    no change │
│ QQuery 3  │ 31.92 / 32.99 ±0.55 / 33.54 ms │ 34.11 / 35.67 ±1.83 / 38.59 ms │ 1.08x slower │
│ QQuery 4  │ 20.03 / 21.10 ±0.75 / 22.09 ms │ 21.29 / 22.27 ±0.83 / 23.80 ms │ 1.06x slower │
│ QQuery 5  │ 47.21 / 48.58 ±1.62 / 51.73 ms │ 48.61 / 50.37 ±1.43 / 51.98 ms │    no change │
│ QQuery 6  │ 17.01 / 17.07 ±0.04 / 17.12 ms │ 17.04 / 17.54 ±0.37 / 18.12 ms │    no change │
│ QQuery 7  │ 53.85 / 55.32 ±2.02 / 59.31 ms │ 54.49 / 55.68 ±0.76 / 56.60 ms │    no change │
│ QQuery 8  │ 49.47 / 49.90 ±0.42 / 50.54 ms │ 49.85 / 50.55 ±0.44 / 51.11 ms │    no change │
│ QQuery 9  │ 52.58 / 53.85 ±1.05 / 55.42 ms │ 54.22 / 55.41 ±1.18 / 57.50 ms │    no change │
│ QQuery 10 │ 70.69 / 71.90 ±1.26 / 73.96 ms │ 70.54 / 71.21 ±0.70 / 72.45 ms │    no change │
│ QQuery 11 │ 13.81 / 13.95 ±0.15 / 14.22 ms │ 13.87 / 14.12 ±0.18 / 14.42 ms │    no change │
│ QQuery 12 │ 28.79 / 29.20 ±0.38 / 29.84 ms │ 28.98 / 29.38 ±0.45 / 30.06 ms │    no change │
│ QQuery 13 │ 40.08 / 40.84 ±0.53 / 41.64 ms │ 40.09 / 41.22 ±1.08 / 42.98 ms │    no change │
│ QQuery 14 │ 27.97 / 28.54 ±0.66 / 29.83 ms │ 28.68 / 28.98 ±0.31 / 29.40 ms │    no change │
│ QQuery 15 │ 32.86 / 33.81 ±1.02 / 35.78 ms │ 33.47 / 34.08 ±0.74 / 35.53 ms │    no change │
│ QQuery 16 │ 15.74 / 15.88 ±0.19 / 16.23 ms │ 15.72 / 16.17 ±0.35 / 16.80 ms │    no change │
│ QQuery 17 │ 72.67 / 76.46 ±3.89 / 82.26 ms │ 72.23 / 76.30 ±3.13 / 80.80 ms │    no change │
│ QQuery 18 │ 76.98 / 80.21 ±2.44 / 83.29 ms │ 81.40 / 83.21 ±1.46 / 85.24 ms │    no change │
│ QQuery 19 │ 37.08 / 38.02 ±0.93 / 39.77 ms │ 38.43 / 39.46 ±0.91 / 40.72 ms │    no change │
│ QQuery 20 │ 39.32 / 40.55 ±0.84 / 41.75 ms │ 41.13 / 42.49 ±0.98 / 43.64 ms │    no change │
│ QQuery 21 │ 65.75 / 69.12 ±1.98 / 71.01 ms │ 66.06 / 68.34 ±1.58 / 70.72 ms │    no change │
│ QQuery 22 │ 17.86 / 18.69 ±0.70 / 19.50 ms │ 18.56 / 18.71 ±0.15 / 18.98 ms │    no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary             ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)             │ 904.04ms │
│ Total Time (bitwise-assign)   │ 918.97ms │
│ Average Time (HEAD)           │  41.09ms │
│ Average Time (bitwise-assign) │  41.77ms │
│ Queries Faster                │        0 │
│ Queries Slower                │        2 │
│ Queries with No Change        │       20 │
│ Queries with Failure          │        0 │
└───────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 4.8s
Peak memory 4.0 GiB
Avg memory 3.6 GiB
CPU user 34.1s
CPU sys 2.6s
Disk read 0 B
Disk write 65.1 MiB

tpch — branch

Metric Value
Wall time 4.8s
Peak memory 4.1 GiB
Avg memory 3.6 GiB
CPU user 34.6s
CPU sys 2.7s
Disk read 0 B
Disk write 88.0 KiB

File an issue against this benchmark runner

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

Labels

catalog Related to the catalog crate datasource Changes to the datasource crate functions Changes to functions implementation physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants