Skip to content

perf(coalesce): copy sparse byte-array indices directly - #12223

Open
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/coalesce-string-indices
Open

Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/coalesce-string-indices

Conversation

@Rich-T-kid

@Rich-T-kid Rich-T-kid commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Indexed byte-array copies currently materialize an intermediate array with take and then copy the selected values again into the coalescer. This is especially expensive for sparse selections.

What changes are included in this PR?

Sparse Utf8, LargeUtf8, Binary, and LargeBinary selections are copied directly into the coalescer. Denser selections use the existing take implementation and adopt its buffers when every schema column is primitive or a variable-width byte array. Other schemas keep the existing coalescing path. The take kernel itself is unchanged.

I used Codex to help implement the change and run the benchmark matrix. I reviewed the final code and benchmark results.

Are these changes tested?

Tests cover direct copying and fallback behavior, including nulls, slices, repeated and out-of-order indices, and target-batch splitting.

Benchmark Result
Hosted exact-head arm64 21 point estimates improved and three were statistically neutral; no regressions
Hosted exact-head amd64 All 24 point estimates improved; no regressions

The matrix spans single UTF-8, single binary, and mixed primitive/UTF-8 schemas; nullable and non-null data; and 0.1%, 1%, 10%, and 80% selectivity.

Are there any significant user-facing changes?

No.

@boring-cyborg boring-cyborg Bot added the arrow-kernels Crates that transform arrow data (e.g. compute, cast) label Nov 13, 2026
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (618a419) to 4e04fea (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (618a419) to 4e04fea (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.33     12.2±0.08ms        ? ?/sec    1.00      5.2±0.04ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.07      5.5±0.02ms        ? ?/sec    1.00      5.2±0.03ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.13      7.2±0.19ms        ? ?/sec    1.00      6.4±0.22ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.09      6.2±0.12ms        ? ?/sec    1.00      5.7±0.27ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.10     19.9±0.09ms        ? ?/sec    1.00      9.5±0.06ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.07      6.6±0.03ms        ? ?/sec    1.00      6.2±0.03ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.00      6.1±0.10ms        ? ?/sec    1.05      6.4±0.16ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.00      5.1±0.19ms        ? ?/sec    1.19      6.1±0.18ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.84     16.1±0.08ms        ? ?/sec    1.00      5.7±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      3.9±0.15ms        ? ?/sec    1.02      4.0±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.02      3.0±0.01ms        ? ?/sec    1.00      3.0±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.01      2.2±0.00ms        ? ?/sec    1.00      2.2±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.62     23.6±0.09ms        ? ?/sec    1.00      6.5±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.09      5.6±0.09ms        ? ?/sec    1.00      5.2±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.06      3.3±0.03ms        ? ?/sec    1.00      3.1±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.3±0.03ms        ? ?/sec    1.01      2.3±0.03ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.55     26.6±0.16ms        ? ?/sec    1.00     10.4±0.12ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.08     11.7±0.03ms        ? ?/sec    1.00     10.8±0.02ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.00     14.7±0.41ms        ? ?/sec    1.01     14.8±0.57ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.05     15.2±0.54ms        ? ?/sec    1.00     14.5±0.47ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.18     36.2±0.21ms        ? ?/sec    1.00     11.4±0.10ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.09     12.8±0.06ms        ? ?/sec    1.00     11.7±0.04ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.00     12.7±0.20ms        ? ?/sec    1.05     13.4±0.31ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.00     12.4±0.32ms        ? ?/sec    1.16     14.4±0.62ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-lxiegy2m-b02d82b1-lsf8

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

uname:

Linux bench-c6842179539-4883-qzt89 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 250.1s
Peak memory 35.1 MiB
Avg memory 24.6 MiB
CPU user 246.7s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 250.1s
Peak memory 34.9 MiB
Avg memory 24.8 MiB
CPU user 245.9s
CPU sys 0.4s
Peak spill 0 B

File an issue against this benchmark runner

Comment thread arrow-select/src/coalesce/byte.rs Resolved
@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/coalesce-string-indices branch from 618a419 to 7701041 Compare November 13, 2026 07:38
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (7701041) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (7701041) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.21     11.9±0.15ms        ? ?/sec    1.00      5.4±0.08ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.00      5.3±0.04ms        ? ?/sec    1.05      5.5±0.06ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.00      6.7±0.42ms        ? ?/sec    1.02      6.8±0.42ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.00      6.4±0.37ms        ? ?/sec    1.01      6.4±0.44ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.03     19.7±0.17ms        ? ?/sec    1.00      9.7±0.13ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.00      6.4±0.05ms        ? ?/sec    1.04      6.7±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.00      6.0±0.35ms        ? ?/sec    1.08      6.6±0.34ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.00      5.4±0.57ms        ? ?/sec    1.02      5.5±0.44ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.83     16.1±0.08ms        ? ?/sec    1.00      5.7±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      3.8±0.01ms        ? ?/sec    1.09      4.1±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.02      3.0±0.00ms        ? ?/sec    1.00      3.0±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      2.2±0.00ms        ? ?/sec    1.00      2.2±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.58     23.7±0.08ms        ? ?/sec    1.00      6.6±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.00      5.3±0.05ms        ? ?/sec    1.06      5.6±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.00      3.2±0.02ms        ? ?/sec    1.03      3.2±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.2±0.02ms        ? ?/sec    1.01      2.3±0.02ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.46     26.7±0.20ms        ? ?/sec    1.00     10.9±0.20ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.00     11.2±0.05ms        ? ?/sec    1.03     11.6±0.09ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.04     15.6±0.79ms        ? ?/sec    1.00     14.9±1.15ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.00     14.5±1.57ms        ? ?/sec    1.07     15.4±1.35ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.11     35.6±0.41ms        ? ?/sec    1.00     11.4±0.14ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.00     12.5±0.08ms        ? ?/sec    1.03     12.8±0.10ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.00     12.7±0.73ms        ? ?/sec    1.09     13.8±0.85ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.00     12.8±1.02ms        ? ?/sec    1.01     13.0±1.03ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-hysmgqbk-8c5f483c-f2kp

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

uname:

Linux bench-c6847122505-4900-m4kfg 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 245.1s
Peak memory 35.1 MiB
Avg memory 24.7 MiB
CPU user 242.7s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 255.1s
Peak memory 34.8 MiB
Avg memory 24.3 MiB
CPU user 249.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/coalesce-string-indices branch from 7701041 to 6adfdee Compare November 13, 2026 08:06
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (6adfdee) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (6adfdee) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.21     11.7±0.11ms        ? ?/sec    1.00      5.3±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.01      5.3±0.04ms        ? ?/sec    1.00      5.2±0.04ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.05      6.7±0.46ms        ? ?/sec    1.00      6.4±0.53ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.00      5.9±0.42ms        ? ?/sec    1.03      6.0±0.47ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.03     19.5±0.17ms        ? ?/sec    1.00      9.6±0.09ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.00      6.3±0.07ms        ? ?/sec    1.00      6.3±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.00      6.0±0.36ms        ? ?/sec    1.03      6.2±0.25ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.02      5.7±0.39ms        ? ?/sec    1.00      5.6±0.27ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.83     16.1±0.04ms        ? ?/sec    1.00      5.7±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.01      4.1±0.01ms        ? ?/sec    1.00      4.1±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.02      2.8±0.00ms        ? ?/sec    1.00      2.8±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.01      2.1±0.00ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.60     23.5±0.09ms        ? ?/sec    1.00      6.5±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.01      5.5±0.04ms        ? ?/sec    1.00      5.4±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.00      3.1±0.02ms        ? ?/sec    1.01      3.1±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.2±0.02ms        ? ?/sec    1.01      2.2±0.03ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.45     25.8±0.25ms        ? ?/sec    1.00     10.5±0.13ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.00     10.9±0.05ms        ? ?/sec    1.03     11.2±0.06ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.08     15.7±0.89ms        ? ?/sec    1.00     14.5±0.87ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.04     15.7±1.35ms        ? ?/sec    1.00     15.1±0.70ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.10     35.2±0.26ms        ? ?/sec    1.00     11.4±0.11ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.00     12.0±0.08ms        ? ?/sec    1.01     12.1±0.08ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.03     13.2±0.56ms        ? ?/sec    1.00     12.8±0.65ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.00     12.1±1.17ms        ? ?/sec    1.02     12.4±1.03ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-12rv6o5a-dad8edb0-l6rk

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

uname:

Linux bench-c6847585426-4905-v65pm 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 250.1s
Peak memory 35.1 MiB
Avg memory 24.3 MiB
CPU user 246.7s
CPU sys 0.4s
Peak spill 0 B

branch

Metric Value
Wall time 250.1s
Peak memory 37.3 MiB
Avg memory 25.8 MiB
CPU user 248.1s
CPU sys 0.2s
Peak spill 0 B

File an issue against this benchmark runner

@boring-cyborg boring-cyborg Bot added the arrow-core Core crates related to representing arrow data label Nov 13, 2026
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"
resources:
arch: arm64

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"
resources:
arch: amd64

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

show benchmark queue

@adriangbot

Copy link
Copy Markdown

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

Comment Repo PR User Benchmarks Resources Status
#6856719175 apache/arrow-rs #12217 etseidl ["arrow_writer"] — shard 1/4 default running
#6856719175 apache/arrow-rs #12217 etseidl ["arrow_writer"] — shard 2/4 default running
#6856719175 apache/arrow-rs #12217 etseidl ["arrow_writer"] — shard 3/4 default running
#6856719175 apache/arrow-rs #12217 etseidl ["arrow_writer"] — shard 4/4 default running
#6856913001 apache/arrow-rs #12142 etseidl ["metadata"] default running
#6857170273 apache/arrow-rs #11973 Rich-T-kid ["interleave_kernels"] default running
#6857169509 apache/arrow-rs #11973 Rich-T-kid ["concatenate_kernel"] default running
#6857172905 apache/arrow-rs #11973 Rich-T-kid ["zip_kernels"] default running
#6857171997 apache/arrow-rs #11973 Rich-T-kid ["filter_kernels"] default running
#6857171143 apache/arrow-rs #11973 Rich-T-kid ["take_kernels"] default running
#6857173742 apache/arrow-rs #11973 Rich-T-kid ["merge_kernels"] default running
#6857274330 apache/arrow-rs #12223 Rich-T-kid ["coalesce_kernels"] arm64 pending
#6857275140 apache/arrow-rs #12223 Rich-T-kid ["coalesce_kernels"] amd64 pending

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (b283975) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: arm64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (b283975) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: amd64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (b283975) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: amd64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         1.92     10.0±0.35ms        ? ?/sec    1.00      5.2±0.18ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.14      5.5±0.16ms        ? ?/sec    1.00      4.9±0.15ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.11      5.0±0.15ms        ? ?/sec    1.00      4.5±0.12ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.38      5.4±0.16ms        ? ?/sec    1.00      3.9±0.11ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       1.96     16.0±0.46ms        ? ?/sec    1.00      8.2±0.24ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.16      6.6±0.17ms        ? ?/sec    1.00      5.7±0.23ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.01      5.2±0.12ms        ? ?/sec    1.00      5.1±0.14ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.26      5.6±0.14ms        ? ?/sec    1.00      4.4±0.11ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.88     15.8±0.49ms        ? ?/sec    1.00      5.5±0.16ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      6.1±0.18ms        ? ?/sec    1.10      6.7±0.21ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.00      5.6±0.16ms        ? ?/sec    1.25      7.0±0.23ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      5.3±0.17ms        ? ?/sec    1.29      6.8±0.20ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.45     21.5±0.62ms        ? ?/sec    1.00      6.2±0.19ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.04      7.7±0.20ms        ? ?/sec    1.00      7.4±0.23ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.00      5.8±0.15ms        ? ?/sec    1.38      8.0±0.26ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      5.0±0.17ms        ? ?/sec    1.57      7.9±0.25ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.05     22.0±0.56ms        ? ?/sec    1.00     10.7±0.28ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.17     12.1±0.30ms        ? ?/sec    1.00     10.4±0.31ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.14     11.2±0.30ms        ? ?/sec    1.00      9.9±0.24ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.43     13.2±0.39ms        ? ?/sec    1.00      9.2±0.28ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      2.69     29.2±1.19ms        ? ?/sec    1.00     10.8±0.38ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.19     13.0±0.33ms        ? ?/sec    1.00     10.9±0.25ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.02     10.8±0.26ms        ? ?/sec    1.00     10.6±0.32ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.25     12.3±0.28ms        ? ?/sec    1.00      9.9±0.27ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-e10s86d6-7faabcec-pbjl

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

uname:

Linux bench-c6857275140-4946-nrtgn 6.12.105+ #1 SMP Sat Sep 19 07:57:03 UTC 2026 x86_64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
CPU Details (lscpu)
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           52 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               GenuineIntel
Model name:                              INTEL(R) XEON(R) PLATINUM 8581C CPU @ 2.30GHz
CPU family:                              6
Model:                                   207
Thread(s) per core:                      2
Core(s) per socket:                      8
Socket(s):                               1
Stepping:                                2
BogoMIPS:                                4600.00
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Hypervisor vendor:                       KVM
Virtualization type:                     full
L1d cache:                               384 KiB (8 instances)
L1i cache:                               256 KiB (8 instances)
L2 cache:                                16 MiB (8 instances)
L3 cache:                                260 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; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Resource Usage

base (merge-base)

Metric Value
Wall time 260.1s
Peak memory 35.6 MiB
Avg memory 24.7 MiB
CPU user 255.6s
CPU sys 0.4s
Peak spill 0 B

branch

Metric Value
Wall time 255.1s
Peak memory 32.7 MiB
Avg memory 24.7 MiB
CPU user 252.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (b283975) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: arm64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.20     11.6±0.05ms        ? ?/sec    1.00      5.3±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.05      5.2±0.01ms        ? ?/sec    1.00      5.0±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.06      5.6±0.05ms        ? ?/sec    1.00      5.3±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.13      5.0±0.09ms        ? ?/sec    1.00      4.4±0.06ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.03     19.4±0.10ms        ? ?/sec    1.00      9.6±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.16      6.3±0.02ms        ? ?/sec    1.00      5.4±0.03ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.00      5.2±0.04ms        ? ?/sec    1.03      5.4±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.00      4.5±0.04ms        ? ?/sec    1.01      4.5±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.76     15.9±0.03ms        ? ?/sec    1.00      5.7±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.12      4.1±0.00ms        ? ?/sec    1.00      3.7±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.00      2.9±0.00ms        ? ?/sec    1.26      3.7±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      2.2±0.00ms        ? ?/sec    1.41      3.0±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.56     23.7±0.13ms        ? ?/sec    1.00      6.7±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.26      5.3±0.05ms        ? ?/sec    1.00      4.2±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.00      3.1±0.02ms        ? ?/sec    1.38      4.3±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.2±0.04ms        ? ?/sec    1.73      3.9±0.05ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.46     25.9±0.13ms        ? ?/sec    1.00     10.6±0.14ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.08     11.2±0.06ms        ? ?/sec    1.00     10.4±0.04ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.05     12.7±0.11ms        ? ?/sec    1.00     12.1±0.08ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.10     11.9±0.17ms        ? ?/sec    1.00     10.8±0.15ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.06     35.0±0.18ms        ? ?/sec    1.00     11.4±0.12ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.22     12.2±0.04ms        ? ?/sec    1.00     10.0±0.04ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.00     11.1±0.08ms        ? ?/sec    1.05     11.7±0.12ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.00     10.0±0.11ms        ? ?/sec    1.05     10.5±0.12ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-ez8gwx9u-593cc0f5-jvvf

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

uname:

Linux bench-c6857274330-4945-pb55b 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 255.1s
Peak memory 34.8 MiB
Avg memory 24.7 MiB
CPU user 251.8s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 260.1s
Peak memory 31.7 MiB
Avg memory 24.2 MiB
CPU user 256.1s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/coalesce-string-indices branch from b283975 to 510230c Compare November 14, 2026 20:49
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "^take: (single_utf8|single_binary|mixed_utf8), 8192, nulls: (0|0\.1), selectivity: (0\.001|0\.01|0\.1|0\.8)$"
resources:
arch: arm64

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "^take: (single_utf8|single_binary|mixed_utf8), 8192, nulls: (0|0\.1), selectivity: (0\.001|0\.01|0\.1|0\.8)$"
resources:
arch: amd64

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (510230c) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: '^take: (single_utf8|single_binary|mixed_utf8), 8192, nulls: (0|0\.1), selectivity: (0\.001|0\.01|0\.1|0\.8)$'
resources:
  arch: amd64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (510230c) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: '^take: (single_utf8|single_binary|mixed_utf8), 8192, nulls: (0|0\.1), selectivity: (0\.001|0\.01|0\.1|0\.8)$'
resources:
  arch: arm64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (510230c) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: '^take: (single_utf8|single_binary|mixed_utf8), 8192, nulls: (0|0\.1), selectivity: (0\.001|0\.01|0\.1|0\.8)$'
resources:
  arch: amd64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.00     10.7±0.18ms        ? ?/sec    1.00      5.3±0.08ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.16      5.9±0.10ms        ? ?/sec    1.00      5.0±0.06ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.13      5.3±0.08ms        ? ?/sec    1.00      4.7±0.09ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.36      5.7±0.09ms        ? ?/sec    1.00      4.2±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.08     17.3±0.49ms        ? ?/sec    1.00      8.3±0.37ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.20      7.2±0.09ms        ? ?/sec    1.00      6.0±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.24      6.1±0.08ms        ? ?/sec    1.00      4.9±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.39      6.2±0.09ms        ? ?/sec    1.00      4.4±0.06ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.90     16.6±0.33ms        ? ?/sec    1.00      5.7±0.11ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.13      6.6±0.16ms        ? ?/sec    1.00      5.9±0.10ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.05      5.9±0.09ms        ? ?/sec    1.00      5.6±0.07ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      5.7±0.08ms        ? ?/sec    1.00      5.7±0.13ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.58     22.8±0.38ms        ? ?/sec    1.00      6.4±0.16ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.16      8.2±0.14ms        ? ?/sec    1.00      7.1±0.13ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.08      6.1±0.09ms        ? ?/sec    1.00      5.6±0.11ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.04      5.7±0.10ms        ? ?/sec    1.00      5.5±0.07ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.18     23.6±0.38ms        ? ?/sec    1.00     10.8±0.17ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.18     12.9±0.22ms        ? ?/sec    1.00     10.9±0.12ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.18     12.1±0.21ms        ? ?/sec    1.00     10.3±0.16ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.25     13.9±0.20ms        ? ?/sec    1.00     11.1±0.13ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.03     32.6±0.59ms        ? ?/sec    1.00     10.8±0.19ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.24     14.4±0.19ms        ? ?/sec    1.00     11.6±0.14ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.28     12.9±0.19ms        ? ?/sec    1.00     10.1±0.13ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.18     13.1±0.28ms        ? ?/sec    1.00     11.1±0.12ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-2qaq7be7-fd2ba571-v2rh

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

uname:

Linux bench-c6884010063-5092-tgjrc 6.12.105+ #1 SMP Sat Sep 19 07:57:03 UTC 2026 x86_64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
CPU Details (lscpu)
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           52 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               GenuineIntel
Model name:                              INTEL(R) XEON(R) PLATINUM 8581C CPU @ 2.30GHz
CPU family:                              6
Model:                                   207
Thread(s) per core:                      2
Core(s) per socket:                      8
Socket(s):                               1
Stepping:                                2
BogoMIPS:                                4600.00
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Hypervisor vendor:                       KVM
Virtualization type:                     full
L1d cache:                               384 KiB (8 instances)
L1i cache:                               256 KiB (8 instances)
L2 cache:                                16 MiB (8 instances)
L3 cache:                                260 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; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Resource Usage

base (merge-base)

Metric Value
Wall time 250.1s
Peak memory 36.2 MiB
Avg memory 24.7 MiB
CPU user 242.5s
CPU sys 0.4s
Peak spill 0 B

branch

Metric Value
Wall time 260.1s
Peak memory 35.4 MiB
Avg memory 26.3 MiB
CPU user 258.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (510230c) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: '^take: (single_utf8|single_binary|mixed_utf8), 8192, nulls: (0|0\.1), selectivity: (0\.001|0\.01|0\.1|0\.8)$'
resources:
  arch: arm64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.36     12.7±0.49ms        ? ?/sec    1.00      5.4±0.09ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.19      5.6±0.20ms        ? ?/sec    1.00      4.7±0.10ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.19      8.9±0.59ms        ? ?/sec    1.00      7.5±0.60ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.15      8.3±0.40ms        ? ?/sec    1.00      7.2±0.34ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.32     21.3±0.70ms        ? ?/sec    1.00      9.2±0.15ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.15      6.6±0.21ms        ? ?/sec    1.00      5.7±0.13ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.09      7.7±0.62ms        ? ?/sec    1.00      7.1±0.77ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.09      7.2±0.31ms        ? ?/sec    1.00      6.6±0.37ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.88     16.3±0.08ms        ? ?/sec    1.00      5.7±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.26      4.2±0.14ms        ? ?/sec    1.00      3.3±0.10ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.10      3.0±0.02ms        ? ?/sec    1.00      2.7±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.05      2.2±0.02ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.85     23.9±0.19ms        ? ?/sec    1.00      6.2±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.25      5.4±0.07ms        ? ?/sec    1.00      4.3±0.06ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.12      3.1±0.02ms        ? ?/sec    1.00      2.8±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.02      2.3±0.03ms        ? ?/sec    1.00      2.2±0.03ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.69     27.9±0.81ms        ? ?/sec    1.00     10.4±0.17ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.23     11.6±0.27ms        ? ?/sec    1.00      9.4±0.12ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.11     19.6±1.19ms        ? ?/sec    1.00     17.7±0.89ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.16     20.0±0.99ms        ? ?/sec    1.00     17.3±1.20ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.67     37.3±1.19ms        ? ?/sec    1.00     10.2±0.19ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.16     12.2±0.22ms        ? ?/sec    1.00     10.5±0.15ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.05     16.3±1.45ms        ? ?/sec    1.00     15.5±0.85ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.06     16.8±0.71ms        ? ?/sec    1.00     15.9±0.92ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-1ftdidtx-5aca7468-7zn4

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

uname:

Linux bench-c6884009654-5093-pj4m7 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 255.1s
Peak memory 36.6 MiB
Avg memory 24.9 MiB
CPU user 251.7s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 255.1s
Peak memory 34.0 MiB
Avg memory 24.5 MiB
CPU user 249.9s
CPU sys 0.4s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/coalesce-string-indices branch from 510230c to 3245ba5 Compare November 14, 2026 21:44
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"
resources:
arch: arm64

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: arm64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: amd64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: amd64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         1.93      8.2±0.11ms        ? ?/sec    1.00      4.3±0.06ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.16      5.7±0.04ms        ? ?/sec    1.00      4.9±0.04ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.12      4.9±0.04ms        ? ?/sec    1.00      4.3±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.37      5.7±0.02ms        ? ?/sec    1.00      4.2±0.04ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       1.92     13.4±0.20ms        ? ?/sec    1.00      7.0±0.19ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.36      7.9±0.07ms        ? ?/sec    1.00      5.8±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.03      4.9±0.03ms        ? ?/sec    1.00      4.7±0.03ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.39      5.8±0.02ms        ? ?/sec    1.00      4.2±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.80     12.6±0.26ms        ? ?/sec    1.00      4.5±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      4.9±0.07ms        ? ?/sec    1.01      5.0±0.08ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.05      4.7±0.08ms        ? ?/sec    1.00      4.5±0.07ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      4.4±0.07ms        ? ?/sec    1.00      4.4±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.37     17.6±0.29ms        ? ?/sec    1.00      5.2±0.07ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.06      6.3±0.11ms        ? ?/sec    1.00      5.9±0.13ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.07      5.0±0.10ms        ? ?/sec    1.00      4.6±0.07ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.02      4.6±0.07ms        ? ?/sec    1.00      4.5±0.07ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.17     18.2±0.33ms        ? ?/sec    1.00      8.4±0.15ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.19     12.3±0.09ms        ? ?/sec    1.00     10.4±0.14ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.22     12.1±0.13ms        ? ?/sec    1.00      9.9±0.21ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.28     13.8±0.06ms        ? ?/sec    1.00     10.8±0.05ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      2.84     24.1±0.63ms        ? ?/sec    1.00      8.5±0.13ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.39     16.1±0.16ms        ? ?/sec    1.00     11.6±0.18ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.12     10.6±0.32ms        ? ?/sec    1.00      9.5±0.09ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.20     12.6±0.07ms        ? ?/sec    1.00     10.5±0.04ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-1e3im07h-baf3dd5e-ptd2

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

uname:

Linux bench-c6938273726-5251-rknzn 6.12.105+ #1 SMP Sat Sep 19 07:57:03 UTC 2026 x86_64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
CPU Details (lscpu)
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           52 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               GenuineIntel
Model name:                              INTEL(R) XEON(R) PLATINUM 8581C CPU @ 2.30GHz
CPU family:                              6
Model:                                   207
Thread(s) per core:                      2
Core(s) per socket:                      8
Socket(s):                               1
Stepping:                                2
BogoMIPS:                                4600.00
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Hypervisor vendor:                       KVM
Virtualization type:                     full
L1d cache:                               384 KiB (8 instances)
L1i cache:                               256 KiB (8 instances)
L2 cache:                                16 MiB (8 instances)
L3 cache:                                260 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; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Resource Usage

base (merge-base)

Metric Value
Wall time 250.1s
Peak memory 40.7 MiB
Avg memory 26.5 MiB
CPU user 244.8s
CPU sys 0.2s
Peak spill 0 B

branch

Metric Value
Wall time 255.1s
Peak memory 35.1 MiB
Avg memory 25.6 MiB
CPU user 251.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: arm64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.26     11.7±0.09ms        ? ?/sec    1.00      5.2±0.03ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.06      5.1±0.02ms        ? ?/sec    1.00      4.9±0.04ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.09      6.1±0.47ms        ? ?/sec    1.00      5.6±0.41ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.09      5.6±0.56ms        ? ?/sec    1.00      5.1±0.31ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       1.98     19.1±0.08ms        ? ?/sec    1.00      9.7±0.04ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.06      6.2±0.02ms        ? ?/sec    1.00      5.9±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.02      5.4±0.06ms        ? ?/sec    1.00      5.3±0.39ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.08      4.9±0.31ms        ? ?/sec    1.00      4.6±0.23ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.94     15.9±0.06ms        ? ?/sec    1.00      5.4±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      3.8±0.01ms        ? ?/sec    1.09      4.1±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.03      2.9±0.00ms        ? ?/sec    1.00      2.9±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      2.1±0.00ms        ? ?/sec    1.02      2.2±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.82     23.5±0.09ms        ? ?/sec    1.00      6.1±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.03      5.2±0.05ms        ? ?/sec    1.00      5.1±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.06      3.1±0.02ms        ? ?/sec    1.00      3.0±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.2±0.02ms        ? ?/sec    1.03      2.3±0.03ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.52     25.7±0.32ms        ? ?/sec    1.00     10.2±0.06ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.07     10.9±0.08ms        ? ?/sec    1.00     10.2±0.06ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.08     14.3±0.85ms        ? ?/sec    1.00     13.2±1.13ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.00     12.4±0.19ms        ? ?/sec    1.21     15.0±1.68ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.13     34.8±0.42ms        ? ?/sec    1.00     11.1±0.05ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.10     12.1±0.08ms        ? ?/sec    1.00     11.0±0.04ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.16     12.6±0.67ms        ? ?/sec    1.00     10.9±0.78ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.00     12.0±1.50ms        ? ?/sec    1.03     12.4±1.28ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-q1db7b2y-b3409901-thj6

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

uname:

Linux bench-c6938273983-5250-sjhrb 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 250.1s
Peak memory 35.1 MiB
Avg memory 24.3 MiB
CPU user 242.8s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 255.1s
Peak memory 34.5 MiB
Avg memory 25.3 MiB
CPU user 252.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"
resources:
arch: arm64

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: arm64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"
resources:
arch: amd64

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: amd64
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

run benchmark coalesce_kernels
env:
BENCH_FILTER: "take: (single_utf8|mixed_utf8|single_binary),"

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark starting (GKE) | trigger

Target: coalesce_kernels

Sharding factor: 1 (1 workers).

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1

Results will be posted when all workers finish.


File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

id like to attribute the minor regression to noise but lets see 😅

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: amd64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         1.96     10.7±0.15ms        ? ?/sec    1.00      5.5±0.10ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.14      5.9±0.28ms        ? ?/sec    1.00      5.2±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.12      5.4±0.14ms        ? ?/sec    1.00      4.8±0.05ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.27      5.8±0.09ms        ? ?/sec    1.00      4.5±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.00     17.3±0.27ms        ? ?/sec    1.00      8.7±0.21ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.11      7.0±0.11ms        ? ?/sec    1.00      6.3±0.08ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.11      5.5±0.06ms        ? ?/sec    1.00      4.9±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.19      5.5±0.09ms        ? ?/sec    1.00      4.6±0.08ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.92     16.8±0.36ms        ? ?/sec    1.00      5.8±0.16ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.04      6.6±0.12ms        ? ?/sec    1.00      6.3±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.05      6.0±0.09ms        ? ?/sec    1.00      5.7±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.00      5.7±0.12ms        ? ?/sec    1.00      5.7±0.10ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.49     23.2±0.39ms        ? ?/sec    1.00      6.7±0.12ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.09      8.2±0.14ms        ? ?/sec    1.00      7.5±0.13ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.06      6.1±0.09ms        ? ?/sec    1.00      5.7±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      5.6±0.15ms        ? ?/sec    1.00      5.6±0.10ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.14     23.7±0.50ms        ? ?/sec    1.00     11.1±0.32ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.15     12.8±0.19ms        ? ?/sec    1.00     11.1±0.16ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.12     12.0±0.27ms        ? ?/sec    1.00     10.7±0.18ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.21     13.9±0.19ms        ? ?/sec    1.00     11.5±0.15ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      2.84     31.7±0.55ms        ? ?/sec    1.00     11.2±0.17ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.14     14.0±0.30ms        ? ?/sec    1.00     12.4±0.31ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.11     11.4±0.13ms        ? ?/sec    1.00     10.3±0.08ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.19     13.2±0.17ms        ? ?/sec    1.00     11.1±0.08ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-1e3im07h-ade29973-sqkt

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

uname:

Linux bench-c6938823091-5257-c9d2w 6.12.105+ #1 SMP Sat Sep 19 07:57:03 UTC 2026 x86_64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
CPU Details (lscpu)
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           52 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               GenuineIntel
Model name:                              INTEL(R) XEON(R) PLATINUM 8581C CPU @ 2.30GHz
CPU family:                              6
Model:                                   207
Thread(s) per core:                      2
Core(s) per socket:                      8
Socket(s):                               1
Stepping:                                2
BogoMIPS:                                4600.00
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Hypervisor vendor:                       KVM
Virtualization type:                     full
L1d cache:                               384 KiB (8 instances)
L1i cache:                               256 KiB (8 instances)
L2 cache:                                16 MiB (8 instances)
L3 cache:                                260 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; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Resource Usage

base (merge-base)

Metric Value
Wall time 255.1s
Peak memory 35.7 MiB
Avg memory 24.7 MiB
CPU user 249.5s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 265.1s
Peak memory 35.3 MiB
Avg memory 25.5 MiB
CPU user 258.9s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.43     12.0±0.10ms        ? ?/sec    1.00      4.9±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.16      5.3±0.02ms        ? ?/sec    1.00      4.6±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.18      5.6±0.11ms        ? ?/sec    1.00      4.8±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.09      4.9±0.13ms        ? ?/sec    1.00      4.5±0.14ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.06     19.3±0.11ms        ? ?/sec    1.00      9.4±0.03ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.16      6.4±0.03ms        ? ?/sec    1.00      5.5±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.19      5.4±0.09ms        ? ?/sec    1.00      4.5±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.16      4.6±0.12ms        ? ?/sec    1.00      3.9±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.97     16.1±0.23ms        ? ?/sec    1.00      5.4±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      4.2±0.02ms        ? ?/sec    1.02      4.3±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.06      2.9±0.00ms        ? ?/sec    1.00      2.8±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.02      2.2±0.00ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.89     23.8±0.27ms        ? ?/sec    1.00      6.1±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.04      5.3±0.06ms        ? ?/sec    1.00      5.1±0.05ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.07      3.1±0.03ms        ? ?/sec    1.00      2.9±0.03ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.2±0.02ms        ? ?/sec    1.01      2.3±0.03ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.61     26.6±0.67ms        ? ?/sec    1.00     10.2±0.05ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.16     11.2±0.06ms        ? ?/sec    1.00      9.7±0.03ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.15     12.7±0.18ms        ? ?/sec    1.00     11.1±1.41ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.02     11.9±0.35ms        ? ?/sec    1.00     11.6±0.39ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.22     35.3±0.26ms        ? ?/sec    1.00     11.0±0.07ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.17     12.2±0.05ms        ? ?/sec    1.00     10.4±0.04ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.20     11.5±0.17ms        ? ?/sec    1.00      9.6±0.13ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.10     10.4±0.31ms        ? ?/sec    1.00      9.4±0.26ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-q1db7b2y-cf67b4a9-pqnh

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

uname:

Linux bench-c6938825792-5258-rftwn 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 250.1s
Peak memory 37.4 MiB
Avg memory 26.2 MiB
CPU user 247.8s
CPU sys 0.2s
Peak spill 0 B

branch

Metric Value
Wall time 265.1s
Peak memory 34.5 MiB
Avg memory 24.9 MiB
CPU user 260.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Target: coalesce_kernels

Comparing rich-T-kid/coalesce-string-indices (8d0d96a) to 4ea4d22 (merge-base) diff

Run configuration
run benchmark coalesce_kernels
env:
  BENCH_FILTER: 'take: (single_utf8|mixed_utf8|single_binary),'
resources:
  arch: arm64
shards: 1
Details
group                                                        base                                   changed
-----                                                        ----                                   -------
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.001         2.42     11.7±0.14ms        ? ?/sec    1.00      4.8±0.01ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.01          1.17      5.3±0.01ms        ? ?/sec    1.00      4.6±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.1           1.20      5.7±0.10ms        ? ?/sec    1.00      4.8±0.09ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0, selectivity: 0.8           1.14      4.9±0.14ms        ? ?/sec    1.00      4.3±0.12ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001       2.13     19.5±0.21ms        ? ?/sec    1.00      9.2±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01        1.18      6.5±0.02ms        ? ?/sec    1.00      5.5±0.02ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1         1.19      5.4±0.09ms        ? ?/sec    1.00      4.6±0.07ms        ? ?/sec
take: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8         1.13      4.5±0.12ms        ? ?/sec    1.00      4.0±0.11ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.001      2.99     16.0±0.18ms        ? ?/sec    1.00      5.4±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.01       1.00      4.0±0.01ms        ? ?/sec    1.03      4.1±0.09ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.1        1.04      2.8±0.00ms        ? ?/sec    1.00      2.7±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0, selectivity: 0.8        1.03      2.2±0.00ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.001    3.86     23.6±0.10ms        ? ?/sec    1.00      6.1±0.01ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.01     1.07      5.3±0.10ms        ? ?/sec    1.00      5.0±0.04ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.1      1.06      3.0±0.03ms        ? ?/sec    1.00      2.9±0.02ms        ? ?/sec
take: single_binary, 8192, nulls: 0.1, selectivity: 0.8      1.00      2.2±0.03ms        ? ?/sec    1.00      2.2±0.02ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.001        2.69     25.8±0.24ms        ? ?/sec    1.00      9.6±0.01ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.01         1.18     11.3±0.03ms        ? ?/sec    1.00      9.6±0.05ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.1          1.19     12.8±0.25ms        ? ?/sec    1.00     10.8±0.16ms        ? ?/sec
take: single_utf8, 8192, nulls: 0, selectivity: 0.8          1.08     12.0±0.39ms        ? ?/sec    1.00     11.1±0.34ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.001      3.27     35.1±0.29ms        ? ?/sec    1.00     10.7±0.01ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.01       1.19     12.3±0.05ms        ? ?/sec    1.00     10.4±0.04ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.1        1.20     11.5±0.19ms        ? ?/sec    1.00      9.6±0.15ms        ? ?/sec
take: single_utf8, 8192, nulls: 0.1, selectivity: 0.8        1.06     10.2±0.32ms        ? ?/sec    1.00      9.7±0.32ms        ? ?/sec

Per-runner information
coalesce_kernels — shard 1/1

Node: gk3-benchmark-cluster-nap-q1db7b2y-cf67b4a9-hfwx

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

uname:

Linux bench-c6938820494-5256-k4jks 6.12.105+ #1 SMP Sat Sep 19 07:55:25 UTC 2026 aarch64 GNU/Linux

BENCH_COMMAND:

cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
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
Resource Usage

base (merge-base)

Metric Value
Wall time 260.1s
Peak memory 35.1 MiB
Avg memory 24.7 MiB
CPU user 255.8s
CPU sys 0.3s
Peak spill 0 B

branch

Metric Value
Wall time 260.1s
Peak memory 34.5 MiB
Avg memory 25.3 MiB
CPU user 258.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

turns out it was noise

@alamb alamb left a comment

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.

Thanks for this @Rich-T-kid

I am a little worried that some of this code could be being overfit to the benchmarks. I wonder if we have any sense of how much is general purpose or if there is any way to reuse these pattens somehow

Comment thread arrow-select/src/coalesce/byte.rs Resolved
Comment thread arrow-select/src/coalesce.rs Resolved
Comment thread arrow-select/src/coalesce.rs Resolved
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

I am a little worried that some of this code could be being overfit to the benchmarks. I wonder if we have any sense of how much is general purpose or if there is any way to reuse these pattens somehow

@alamb I'm not sure what you mean by this. If you mean the common pattern of taking data from a source array and appending it to an output array, I agree. While working on the coalescer kernel, I noticed it would be a great fit if the take kernel accepted a src and dst instead of always creating its own buffers/arrays.

It's somewhat similar to #6430, which I've had my eye on for a while, but I haven't found a tangible use case in DataFusion that I could point to that would make it clearly useful.

besides that ive addressed your review comments 🙇

@alamb

alamb commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

I am a little worried that some of this code could be being overfit to the benchmarks. I wonder if we have any sense of how much is general purpose or if there is any way to reuse these pattens somehow

@alamb I'm not sure what you mean by this. If you mean the common pattern of taking data from a source array and appending it to an output array, I agree.

Sorry -- I should have been more clear. What I was was worried about was if the patterns in this PR are very specific / only work well for the distribution of values that are found in the benchmarks, rather than being broadly applicable. That being said on second look I think it looks better

While working on the coalescer kernel, I noticed it would be a great fit if the take kernel accepted a src and dst instead of always creating its own buffers/arrays.

Yes, in my mind that was in fact the key rationale for coalesce kernel in the first place (avoid the copying of intermediate arrays in the take and filter kernels)

Thank you for pushing it along

@Rich-T-kid
Rich-T-kid marked this pull request as draft November 23, 2026 19:43
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

Sorry -- I should have been more clear. What I was was worried about was if the patterns in this PR are very specific / only work well for the distribution of values that are found in the benchmarks, rather than being broadly applicable. That being said on second look I think it looks better

ah I see what you mean. yea this is challenging since the exact cutoff variess between arch/machines. but I agree this isnt ideal to have seemingly random cutoff constants in the code base

marking this as a draft since its based on #12399

mkleen pushed a commit to mkleen/arrow-rs that referenced this pull request Nov 25, 2026
# Which issue does this PR close?

- Relates to apache#12223.

# Rationale for this change

Keep indexed-copy capabilities with their implementations, as suggested
in [this review
comment](https://github.com/apache/arrow-rs/pull/12223/changes#r4656794087).

# What changes are included in this PR?

Adds `supports_dense_indexed_copy` to `InProgressArray`, with `true` for
implementations that specialize `copy_rows_by_indices`.

# Are these changes tested?

A table-driven unit test covers each in-progress array implementation.

# Are there any significant user-facing changes?

No.
@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/coalesce-string-indices branch from d0d97f3 to d90e331 Compare November 30, 2026 08:27
@Rich-T-kid
Rich-T-kid marked this pull request as ready for review November 30, 2026 08:27
@Rich-T-kid
Rich-T-kid requested a review from alamb November 30, 2026 08:34
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

rebased on main, ready for another review 🙇

This branch has not been deployed

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

Labels

arrow-core Core crates related to representing arrow data arrow-kernels Crates that transform arrow data (e.g. compute, cast) performance Speed or memory optimizations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[coalesce] Add specialized StringArray path for push_batch_with_indices

3 participants