-
Notifications
You must be signed in to change notification settings - Fork 152
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
Give bench_local
the option to run stable benchmarks
#1778
Conversation
eabc24c
to
aedb577
Compare
I think that unless @nnethercote objects, we could just allow stable benchmarks by default, by removing the line that filters them out. But for what it's worth, I don't think that it is intuitive to deal with categories in |
Hm, a different flag does not make sense to me, I could want |
|
Yeah that's how I thought about it. Doesn't feel more a hack than lint groups and lints using an identical namespace like |
Some thoughts:
Would that run all the primary benchmarks + We also have a problem that some of the stable benchmark names are prefixes of some of the primary benchmark names, e.g. the ones I mentioned above, so it would be impossible to run the primary benchmark Also, if it's done with just |
I agree with @nnethercote, and I would suggest #1780 as an alternative solution to your problem. |
Probably not tbf. I always use an explicit list myself. #1780 works for me! |
In #1777 I noticed that I couldn't run
category: stable
benchmarks locally; this PR makes this possible.We can now specify
primary
/secondary
/stable
in--include
and--exclude
. If there's no--include
/--exclude
it defaults to--exclude stable
which preserves today's behavior. This does change behavior for anyone runningbench_local --exclude ...
: they would need to add--exclude ...,stable
to bench the same set as today.