-
Notifications
You must be signed in to change notification settings - Fork 79
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
Output the probability of being faster (slower) when compare results #22
Comments
I like the idea. You formula only works if the two lists have the same
number of samples, right?
|
No, it works for different numbers of samples. The formula itself has the computational complexity |
The estimated error of the probability estimation sqrt(p*(1-p)/len(times1)/len(limes2)) |
@serhiy-storchaka would you be interested to write a pull request to implement this idea? |
I opened #118. Is there still interest? |
When compare two results it would be helpful to output a probability of one result be faster then other.
If
times1
andtimes2
are sets of measured times, then the probability of the first benchmark being faster than the second one is estimated as:Actually you can sort one of sets and use binary search for optimization.
The text was updated successfully, but these errors were encountered: