-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi @evanwashere !
Consider the following setup where a mitata.group is used to group together a bunch of parametrized benchmarks:
import * as mitata from 'mitata';
mitata.group(`some elaborate name for the list of benchmarks`, () => {
mitata.bench(`x=$x`, function* (state: mitata.k_state) {
const x = Query.parse(state.get('x'));
yield () => {
mitata.do_not_optimize(x * x);
}
}).args({
'x': [1,2,4,5,6],
});
});
await mitata.run({
filter: /elaborate/,
});Ideally, I'd love to run the benches using the filter option in mitata.run that filters by the group name.
This doesn't work today; would you be open to this functionality?
P.S. thank you for the awesome project: mitata is a joy to use.
PandaWorker
Metadata
Metadata
Assignees
Labels
No labels