Skip to content

Add List and ListView take benchmarks - #9626

Merged
Dandandan merged 1 commit into
apache:mainfrom
AdamGS:adamg/add-list-take-benchmarks
Apr 3, 2026
Merged

Add List and ListView take benchmarks#9626
Dandandan merged 1 commit into
apache:mainfrom
AdamGS:adamg/add-list-take-benchmarks

Conversation

@AdamGS

@AdamGS AdamGS commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Adding benchmarks makes it easier to measure performance and evaluate the impact of changes to the implementation. I also have a PR including some significant improvements, but figured its worth splitting it into two parts, LMK if its better to do that in one step.

What changes are included in this PR?

Add a couple of utility functions to generate list and list_view arrays without providing a seed

Are these changes tested?

Benchmarks run locally, same setup as other benchmarks.

Are there any user-facing changes?

No

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Mar 30, 2026
@Dandandan
Dandandan merged commit 2b851d9 into apache:main Apr 3, 2026
25 checks passed
@Dandandan

Copy link
Copy Markdown
Contributor

Thanks @AdamGS

alamb pushed a commit that referenced this pull request Apr 16, 2026
# Which issue does this PR close?

- Closes #NNN.

# Rationale for this change

This PR builds on top of #9626, improving the results on those
benchmarks.

# What changes are included in this PR?

1. Similar to #9625, branch the function into the null and non-null
paths
2. Copy the list elements in a single pass while building the offsets,
allocating less intermediate state.

# Are these changes tested?

Added a few tests for sliced list arrays.

# Are there any user-facing changes?

No

---------

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Rich-T-kid pushed a commit to Rich-T-kid/arrow-rs that referenced this pull request Jun 2, 2026
# Which issue does this PR close?

- Closes apache#9627.

# Rationale for this change

Adding benchmarks makes it easier to measure performance and evaluate
the impact of changes to the implementation. I also have a PR including
some significant improvements, but figured its worth splitting it into
two parts, LMK if its better to do that in one step.

# What changes are included in this PR?

Add a couple of utility functions to generate list and list_view arrays
without providing a seed

# Are these changes tested?

Benchmarks run locally, same setup as other benchmarks.

# Are there any user-facing changes?

No
Rich-T-kid pushed a commit to Rich-T-kid/arrow-rs that referenced this pull request Jun 2, 2026
# Which issue does this PR close?

- Closes #NNN.

# Rationale for this change

This PR builds on top of apache#9626, improving the results on those
benchmarks.

# What changes are included in this PR?

1. Similar to apache#9625, branch the function into the null and non-null
paths
2. Copy the list elements in a single pass while building the offsets,
allocating less intermediate state.

# Are these changes tested?

Added a few tests for sliced list arrays.

# Are there any user-facing changes?

No

---------

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List and ListView are missing take benchmarks

2 participants