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

Add benchmark for substr_index #9878

Merged
merged 20 commits into from
Apr 1, 2024
Merged

Add benchmark for substr_index #9878

merged 20 commits into from
Apr 1, 2024

Conversation

Omega359
Copy link
Contributor

@Omega359 Omega359 commented Mar 30, 2024

Which issue does this PR close?

Closes #9877

Rationale for this change

substr_index function may have some optimization potential so adding a benchmark to allow for others to test potential optimizations

What changes are included in this PR?

benchmark, toml update.

Are these changes tested?

Are there any user-facing changes?

No.

@Omega359 Omega359 marked this pull request as ready for review March 30, 2024 22:47
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.

Thank you @Omega359 -- looks good to me 🙏

I had one suggestion, but I don't think it is required

I filed #9890 to track actually optimizing this function

datafusion/functions/benches/substr_index.rs Outdated Show resolved Hide resolved
@Omega359
Copy link
Contributor Author

Test failures are unrelated to this issue.

@Omega359 Omega359 marked this pull request as draft April 1, 2024 13:43
@Omega359 Omega359 marked this pull request as ready for review April 1, 2024 13:44
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @Omega359

@comphead comphead merged commit d8d521a into apache:main Apr 1, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add benchmark for substr_index
3 participants