Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benches: add lower benches for stringview #12152

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

tshauck
Copy link
Contributor

@tshauck tshauck commented Aug 24, 2024

Which issue does this PR close?

Follow up for #11855.

Rationale for this change

I updated the impl of upper and lower to support stringview, but didn't update the benchmarks to include stringview cases. This may be useful in the future if certain optimizations can be added.

It does add a number of new cases, so I can trim them if there's general concern about overall benchmark runtime.

What changes are included in this PR?

Just update the lower benches. I could also update the upper if it's good for completeness, but the lower and upper share 95% of their implementation.

Are these changes tested?

Yes, ran the benchmarks.

@tshauck tshauck marked this pull request as ready for review August 24, 2024 19:24
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

👍 thanks @tshauck

@tshauck tshauck changed the title benches: add lower benches benches: add lower benches for stringview Aug 25, 2024
@alamb alamb merged commit 55a1459 into apache:main Aug 26, 2024
26 checks passed
@tshauck tshauck deleted the add-string-view-lower-benches branch August 26, 2024 19:20
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.

2 participants