-
Notifications
You must be signed in to change notification settings - Fork 272
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
Add failure summary option to resultsComparer #1807
base: main
Are you sure you want to change the base?
Conversation
- Prints the aggregate counts and benchmark id(s) for failures when it detects: Base Valid + Diff Null, Base Null + Diff Valid, Base Null + Diff Null - Fix a bug when only failures are found, but we are still printing: "No differences found between..."
Example output for when we compare base and diff for a single benchmark where the diff results are null but base results are valid: Before:
After:
With the failure summary option enabled, we also get the relevant counts and ids: After:
|
Any suggested improvements I can make to this feature? Thanks. |
@L2 Could you please say something more about the problem are you trying to solve? Are you running into a situation where some benchmarks runs have failed and you don't get an apples-to-apples comparison? BenchmarkDotNet exposes a possibility to stop on the first error: --stopOnFirstError true And this is something that our CI uses, so that is why we most probably never get into such a situation. |
Thanks @adamsitnik , sorry I should have added a bit more earlier on:
|
@adamsitnik looks like your questions were answered, do you think we should take this PR? |
Base Valid + Diff Null,
Base Null + Diff Valid,
Base Null + Diff Null
"No differences found between..."