-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Parallelize pruning utf8 fuzz test #13947
Conversation
.map(|c| c.join("")), | ||
); | ||
} | ||
async fn test_utf8_eq() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the individual predicates are now run in their own test that shows up in the output
There may be additional improvements we could make to improve the overall speed of these tests but I focused on parallelization first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! 12s is much better. I bet we can get that way down as well if we improve the speed of each test. Then we might even be able to crank up the search space that is being fuzzed 😄
Thanks for the review @adriangb ❤️
The other thing that maybe we could do is run these fuzzing tests on commits to main (rather than on each PR) in release mode 🤔 The challenge there is that we need someone to triage / monitor the tests and it is not lear we have anyone who will do so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍
Which issue does this PR close?
datafusion::fuzz fuzz_cases::pruning::test_fuzz_utf8
test #13946Rationale for this change
like
expressions (prefix matching) #12978 from @adriangb (❤️ ) the test_fuzz_utf8 test takes over a minute to run on my machineWhat changes are included in this PR?
New output: longest test now takes 12 seconds
Example:
Are these changes tested?
Yes, by CI
Are there any user-facing changes?