Repository navigation
Closes #3571: Update in1d_benchmark - #4651
Merged
Merged
Conversation
ajpotts
force-pushed
the
3571_Update_in1d_benchmark
branch
from
June 23, 2025 17:53
cc87917 to
4942980
Compare
ajpotts
marked this pull request as ready for review
June 23, 2025 17:54
ajpotts
force-pushed
the
3571_Update_in1d_benchmark
branch
4 times, most recently
from
June 25, 2025 14:07
4d347fc to
0a46d3a
Compare
vasslitvinov
suggested changes
Jun 26, 2025
vasslitvinov
left a comment
Contributor
There was a problem hiding this comment.
I think io_benchmark.py was included unintentionally.
I also do not see numpy benchmarking, despite it was claimed in the PR description. Instead I see @pytest.mark.skip_numpy(True) added. Please reconcile.
ajpotts
force-pushed
the
3571_Update_in1d_benchmark
branch
2 times, most recently
from
June 30, 2025 20:40
083c4e6 to
cbb5b4b
Compare
vasslitvinov
approved these changes
Jul 2, 2025
vasslitvinov
reviewed
Jul 2, 2025
ajpotts
force-pushed
the
3571_Update_in1d_benchmark
branch
from
July 7, 2025 16:10
cbb5b4b to
4b46495
Compare
ajpotts
added this pull request to the merge queue
Jul 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR: Refactor
in1d_benchmark.pywith NumPy and Correctness Testing SupportThis PR updates the
in1dbenchmark to follow the standardized Arkouda benchmarking format with enhanced flexibility and validation.✅ Key Enhancements
Support for
--numpynp.isin(...)for baseline comparison.to_ndarray()to convert Arkouda arraysSupport for
--correctness_onlyak.in1d(...)results matchnp.isin(...)Multi-Type & Threshold Scaling
dtype ∈ {int64, uint64, str}size ∈ {MEDIUM (below threshold), LARGE (above threshold)}In1d.chpl:thresholddefault (2**23)Benchmark Metadata
🔧 Technical Notes
size * 8 + nbytesdtype in pytest.dtypeconditional enables external filtering (e.g., CLI--dtype)This refactor ensures
in1dperformance and correctness are robustly measured across Arkouda and NumPy, and is consistent with other benchmark modules.Closes #3571: Update in1d_benchmark