-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
TST: Remove tm.rands/rands_array #54368
Conversation
asv_bench/benchmarks/array.py
Outdated
@@ -80,7 +78,7 @@ def setup(self, multiple_chunks): | |||
import pyarrow as pa | |||
except ImportError: | |||
raise NotImplementedError | |||
strings = tm.rands_array(3, 10_000) | |||
strings = np.array(["a"] * 10_000, dtype=object) |
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.
there's no scenario where having random data could make a difference? i could imagine pyarrow having some optimization for constant data
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.
Not sure if they hash values or anything but that's a good point. I'll make sure the benchmark use unique values
Looks like the failures here we unrelated so merging. Happy to follow up |
No description provided.