This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new e37fdec869 bench(coalesce): cover inline indexed views (#12216)
e37fdec869 is described below
commit e37fdec8691c5a1c51ea14b9ee89b496cd749963
Author: RIchard Baah <[email protected]>
AuthorDate: Tue Nov 17 12:57:41 2026 +0000
bench(coalesce): cover inline indexed views (#12216)
# Which issue does this PR close?
N/A, independent change.
# Rationale for this change
The indexed ByteView benchmark does not isolate all-inline values.
# What changes are included in this PR?
Add an all-inline `Utf8View` case.
# Are these changes tested?
Covered by the `coalesce_kernels` benchmark.
# Are there any significant user-facing changes?
No.
---
arrow/benches/coalesce_kernels.rs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arrow/benches/coalesce_kernels.rs
b/arrow/benches/coalesce_kernels.rs
index 594fe7c18c..104ebc1725 100644
--- a/arrow/benches/coalesce_kernels.rs
+++ b/arrow/benches/coalesce_kernels.rs
@@ -606,6 +606,12 @@ fn add_all_gather_benchmarks(c: &mut Criterion, operation:
GatherOperation) {
max_string_len: 30,
schema: &single_schema,
},
+ GatherBenchmarkScenario {
+ name: "single_utf8view (max_string_len=8)",
+ num_output_batches: 50,
+ max_string_len: 8,
+ schema: &single_schema,
+ },
GatherBenchmarkScenario {
name: "single_binaryview",
num_output_batches: 50,