-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
removing kendall tests #29401
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
removing kendall tests #29401
Conversation
Thanks for the PR. So we don't necessarily want to remove these as much as see if moving them somewhere else in the module saves a lot of time running the benchmarks. Do you know how long it took before / after to run this module? |
I did run the tests before making the changes, if that's what you mean by before / after.
|
No not the benchmark timings themselves as those shouldn't change. Just how long it took to run from start to finish |
Ah! I am afraid I didn't time them. |
Before: 10m24s |
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 don’t think we want to remove e this entirely
just reduce the sizes so these take a reasonable total
time
also i don’t think we need then bottleneck flags anymore
…rame/series dimensions
By halving the dimensions and removing the bottleneck flags, one could get a runtime of about 5m14s. |
…frame/series dimensions
asv_bench/benchmarks/stat_ops.py
Outdated
@@ -102,7 +102,7 @@ def time_average_old(self, constructor, pct): | |||
class Correlation: | |||
|
|||
params = [["spearman", "kendall", "pearson"], [True, False]] | |||
param_names = ["method", "use_bottleneck"] | |||
param_names = ["method"] | |||
|
|||
def setup(self, method, use_bottleneck): |
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.
Can you remove the parametrization of use_bottleneck
here and in other methods? Also can remove the import / USE_BOTTLENECK assignment in setup
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.
Done!
@deepandas11 this looks close to ready. can you see why the CI is failing and update? |
Sorry for not being able to resolve this sooner. Was a bit swamped. |
hmm this looks ok, I think just merge master and good to go. |
Thanks @deepandas11 ! |
closes #29270
Following is the output after removing "kendall"