-
Notifications
You must be signed in to change notification settings - Fork 809
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
Avoid running subsystem-benchmarks with nextest #3716
Conversation
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.
(no opinion on the code but it fixes my issue)
I don't get how this fix fixes the issue? I also have the fundamental question, why do we have a benchmark registered as Generally not sure why this is also not just wrapped into Criterion. I mean you have there logic for warmup etc that would all be done by criterion automatically. |
@bkchr About why it's done by tests: they are a bit specific, so we need to implement them in that way without criterion. |
Okay fine, but you don't need to use criterion. If you use |
Yes, but what do you mean? |
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.
It's kind of odd to have 2 features in use now. I also don't really get why this fixes the issue.
@@ -51,3 +51,4 @@ required-features = ["subsystem-benchmarks"] | |||
|
|||
[features] | |||
subsystem-benchmarks = [] | |||
subsystem-benchmarks-helpers = [] |
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.
subsystem-benchmarks
feature seems to no longer be used at all.
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.
It's in use. We require that feature to run regression tests. That way we don't mix normal and regression tests.
Can't the test just be skipped if feature not defined ? |
No, |
I mean this: #3741 |
Closing in favor of: #3741 |
Fixes #3704