-
Notifications
You must be signed in to change notification settings - Fork 66
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
Crash in statistics #213
Comments
I also got another failure:
This time with the same module as in the previous gist, but with different jobs:
|
And another one:
with
I seem to be very lucky today 😂 |
Woah! Yeah, I guess there's a bug in there, probably around getting units for memory management. I'll take a peek. Oh, and thanks for the reproduction script! |
We hadn't handled the calculation of statistics when given a whole bunch of 0s, which is a complication since we're doing a lot of division in there. Technically if we're in a situation where we're supposed to divide by 0 the answer is Infinity, but instead of introducing that, for now I'm just returning 0 as well. Addresses the first reported bug in #213.
At least the crashing part should now be completely handled in #214 The trouble is some of them don't collect memory at all, to cite @devonestes from slack (so we don't lose it):
|
Follow up to #213 Decided to inline the relevant parts of it to the test suite as it highlighted so many problems. One of which I don't know how to test. Moreover, with it highlighting so many problems it might highlight them again later. Also removed some dead code from said benchmark and added attribution to @michalmuskala
Thank you both for your hard work on benchee! ❤️ |
I'm getting following crashes on master right before statistics are calculated:
example script: https://gist.github.com/michalmuskala/5ff53581b4b53adec2fff7fb4d69fd52
The text was updated successfully, but these errors were encountered: