Skip to content

GH-37106: [C++] Remove overflowed integer rounding benchmarks - #37109

Merged
pitrou merged 1 commit into
apache:mainfrom
js8544:jinshang/fix_round_benchmark
Aug 10, 2023
Merged

pitrou merged 1 commit into
apache:mainfrom
js8544:jinshang/fix_round_benchmark

Conversation

@js8544

@js8544 js8544 commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

Rationale for this change

The valid range of 8 and 16 bit integers is too small, which causes failures on round benchmarks.

What changes are included in this PR?

Round benchmarks for <32 bit integers are removed. Arithmetic on small int widths is probably uncommon.

Are these changes tested?

The benchmark is now running successfully on my machine.

Are there any user-facing changes?

No.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #37106 has been automatically assigned in GitHub to PR creator.

@js8544

js8544 commented Aug 10, 2023

Copy link
Copy Markdown
Contributor Author

@ursabot please benchmark lang=C++

@ursabot

ursabot commented Aug 10, 2023

Copy link
Copy Markdown

Benchmark runs are scheduled for commit 4c3f11d. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@js8544
js8544 requested a review from pitrou August 10, 2023 14:20

@pitrou pitrou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks reasonable to me.

@conbench-apache-arrow

Copy link
Copy Markdown

Thanks for your patience. Conbench analyzed the 3 benchmarking runs that have been run so far on PR commit 4c3f11d.

There were 15 benchmark results indicating a performance regression:

The full Conbench report has more details.

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit f0904b3.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…pache#37109)

### Rationale for this change

The valid range of 8 and 16 bit integers is too small, which causes failures on `round` benchmarks.

### What changes are included in this PR?

`Round` benchmarks for <32 bit integers are removed. Arithmetic on small int widths is probably uncommon.

### Are these changes tested?

The benchmark is now running successfully on my machine.

### Are there any user-facing changes?

No.

* Closes: apache#37106

Authored-by: Jin Shang <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C++] arrow-compute-scalar-round-benchmark fails with Rounding to -5 digits is out of range for type int16

3 participants