-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
core(lightwallet): remove tolerance from timing budgets API #9770
Conversation
Thanks @khempenius!
In LHCI we currently call this WDYT of any of these alternatives? (and potentially moving to 'min'/'max' in place of 'optimistic'/'pessimistic' if we replace with statistical*)
Strongly agree with dropping
I think |
Oh for |
I think I prefer |
Interesting. Would |
Two separate strategies. |
Makes sense! Should we add anything more verbose to ensure they're connected to the statistics of multiple run measurements? Nothing jumps out that isn't super super long to me though Also thoughts on moving to |
I think I'm probably very slightly opposed to moving to |
Ah, for budgets it's done only at the file level rather than individual metric/assertion level I suppose, hmmmm. This is a tricky one then 🤔 |
While writing some docs I also came up with
which appeal to me to cover methods that don't have to be directly related to statistics (like in LHCI how we have the |
I really really like |
Sounds good I'll align on |
…nto timing_budget
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.
LGTM % potential leftovers
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.
we should probably call this out as a breaking change somewhere in the 6.0 docs (not sure if anyone was using this yet, though)
LGTM!
afaik it was undocumented i'm cool with not calling it breaking. btw i love this approach. 👍 |
Summary
This updates the existing, un-implemented API for timing budgets.
Comments
measurementStrategy
andruns
is a better way to deal with variance than setting atolerance
, hence its removal.Related Issues
(same issue, filed two different places)
Related PRs
I will update this with the PR that implements this.