-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add in list bench #4068
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 in list bench #4068
Conversation
liukun4515
left a comment
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
|
I took the liberty of merging up from master and fixing a conflict |
|
Benchmark runs are scheduled for baseline = 8cd6129 and contender = 396b5aa. 396b5aa is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
* Add InList benchmark * Reduce cases * Add additional test case * RAT Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
## Which issue does this PR close? N/A - benchmark fix discovered during performance analysis of #18832. ## Rationale for this change The `in_list` benchmark (introduced in #4068) had inverted null generation logic: `null_percent=0` was producing 100% nulls instead of 0% nulls. ## What changes are included in this PR? Fix the `random_bool(null_percent).then(...)` pattern to use `random_bool(1.0 - null_percent)` so that `null_percent` correctly represents the percentage of null values. ## Are these changes tested? Benchmark-only change. Verified by running the benchmark and observing expected performance characteristics. ## Are there any user-facing changes? No.
Which issue does this PR close?
Closes #.
Rationale for this change
Adds benchmarks so that I can verify #4057 doesn't cause a regression
What changes are included in this PR?
Are there any user-facing changes?