-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Create benchmark for groupby #5772
Conversation
Hello @Illviljan! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-09-14 02:19:50 UTC |
Someone who understands asv is free to try it out. Every time I managed to get asv running my entire pc froze and I had to force restart it. |
This looks great, thanks @Illviljan We may want to make the array much bigger, given the overhead. And (could be a TODO), parameterize the cardinality. Sorry to hear re asv. Does it install the environment successfully? That can take a while. But maybe not worth exploring more if it brings down the PC... 😬 |
I agree we should have more array sizes. I was thinking grouping small, medium, large, 1d, 2d, Nd arrays. It froze during the tests, for example I explicitly tested repr.py because I thought it would be an easy one. PC still froze. |
self.ds = self.ds.chunk({"dim_0": 50}) | ||
|
||
|
||
class GroupByDataFrame(GroupBy): |
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.
I'm not sure we really need the dataframe tests.
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.
I think it's good to have some kind of "competitor" comparison, because performance complaints will always be relative to them anyway. It might not be needed for more than just a few of the (future) tests though.
Thanks @Illviljan |
pre-commit run --all-files