-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
BENCH: Masked array benchmarks #8929
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
Conversation
import numpy as np | ||
|
||
|
||
class MA(Benchmark): |
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.
This was moved from bench_core
. Is this a bad idea for asv
?
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.
You mean, do we lose history?
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.
@pv Does this cause problems, or do cached results get recreated at some point.
f83c6ca
to
78a1837
Compare
There's no cron job re-running for past commits.
But maybe there's nothing interesting in the history so you don't care.
|
Of course, anyone interested can always re-run the benchmarks on their
own machine(s).
|
Would doing "from bench_core import _MA as MA" solve this problem? |
Sorry, I mean the other way around - move the source as I've done here, but leave the test accessible under |
I suggest to not add any workarounds and just ignore the issue. Past
benchmark results can always be regenerated if there's some need for them.
|
Agree. The reorganization looks natural going forward. |
Thanks Eric. |
This adds some benchmarks that will hopefully detect the effects of #8910 and #8924.
Is this a reasonable set of things to benchmark, and is this the right way to structure them?