-
Notifications
You must be signed in to change notification settings - Fork 16
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
Run benchmarks locally with criterion #380
Conversation
} | ||
|
||
#[cfg(feature = "iai")] |
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.
maybe a macro would be justified to generate the code from here to the bottom of the file
Cool!
Do you want to port all the benches? If yes I can do it once you are satisfied with the general layout (...I would like to have more time to contribute, but at least I can do the small things :) In any case, I think it's nice to keep |
|
Yes and no. In any case the current CI benches are not bad. Although I would like to have some coverage on resampling, upmixing and granular synth. Any help is appreciated, maybe you can help with the macro's? and maybe copy over 3 or 4 of the lightweight benches from examples/ to benches/? Another interesting observation is that |
hah, you triggered the bench action with your previous comment. |
Fixes #188
You can now run
cargo bench
locally to run the same benches as we run in CI.It's a lot of boilerplate currently, I'm still looking for improvements.
Also we need to move to unify examples/benchmarks.rs in here.