This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-11503-13b403956baa70fa63756bf7cf5b702001570f2a in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
commit 4c67abc4505344425fd9d5172037bd0f468f8b42 Author: dhruv tanwar <[email protected]> AuthorDate: Sun Oct 11 14:42:16 2026 +0000 bench: add boolean interleave benchmarks (#11503) ## Summary - Add Boolean arrays without nulls and with approximately 10% nulls to the interleave benchmarks. - Add benchmark cases for both Boolean arrays to measure interleave performance across selection sizes. ## Context This PR separates the benchmark additions from the Boolean interleave implementation so the benchmark bot can compare performance independently. --- arrow/benches/interleave_kernels.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arrow/benches/interleave_kernels.rs b/arrow/benches/interleave_kernels.rs index ee5bfb13d9..3ccc82fa1f 100644 --- a/arrow/benches/interleave_kernels.rs +++ b/arrow/benches/interleave_kernels.rs @@ -69,6 +69,8 @@ fn bench_values(c: &mut Criterion, name: &str, len: usize, values: &[&dyn Array] fn add_benchmark(c: &mut Criterion) { let i32 = create_primitive_array::<Int32Type>(1024, 0.); let i32_opt = create_primitive_array::<Int32Type>(1024, 0.5); + let boolean = create_boolean_array(1024, 0.0, 0.5); + let boolean_opt = create_boolean_array(1024, 0.1, 0.5); let string = create_string_array_with_len::<i32>(1024, 0., 20); let string_opt = create_string_array_with_len::<i32>(1024, 0.5, 20); let values = create_string_array_with_len::<i32>(10, 0.0, 20); @@ -163,6 +165,8 @@ fn add_benchmark(c: &mut Criterion) { let ree_dict = RunArray::<Int32Type>::try_new(&ree_run_ends, &dict_for_ree).unwrap(); let cases: &[(&str, &dyn Array)] = &[ + ("bool(0.0)", &boolean), + ("bool(0.1)", &boolean_opt), ("i32(0.0)", &i32), ("i32(0.5)", &i32_opt), ("str(20, 0.0)", &string),
