-
-
Notifications
You must be signed in to change notification settings - Fork 18.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
CLN: ASV eval benchmark #18500
CLN: ASV eval benchmark #18500
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18500 +/- ##
==========================================
+ Coverage 91.3% 91.32% +0.02%
==========================================
Files 163 163
Lines 49781 49781
==========================================
+ Hits 45451 45463 +12
+ Misses 4330 4318 -12
Continue to review full report at Codecov.
|
FYI the random see is already defined in separate PR for this. |
self.index = date_range('20010101', periods=self.N, freq='T') | ||
self.s = Series(self.index) | ||
np.random.seed(1234) | ||
self.N = 10**6 |
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.
When you are cleaning up, you can also remove such unneeded self.
's, for things that are only used in init (they are a left over from the autogeneration of this code when the benchmarks were translated to asv)
@jreback I think the random seed should be included in the
|
ok then let’s remove from the global name space (or maybe put a comment there) and add to setup as u r already doing |
I think the module level setup is a good idea |
Added
np.random.seed(1234)
in setup classes where random data is created xref BENCH: put in np.random.seed on vbenches #8144Ran flake8 and replaced star imports
Removed some initialization of variables within the
time_*
methods