You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a rule for each crate to run benchmarks. Here everything depend on libtest
Add a method to actually run benchmarks in check.rs. Probably just modify the existing krate method to just call cargo bench instead of cargo test.
And I think that's it! After that ./x.py bench should run all the benchmarks we've got for all crates, and specific crates could be selected like ./x.py bench src/libcollections.
Add rustbuild command `bench`
Add command bench to rustbuild, so that `./x.py bench <path>` can compile and run benchmarks.
`./x.py bench --stage 1 src/libcollections` and `./x.py bench --stage 1 src/libstd` should both compile well. Just `./x.py bench` runs all benchmarks for the libstd crates.
Fixes#37897
Rustbuild should allow building / testing / running benchmarks
I imagine rustbuild's approach will be a lot better for benchmark development and running compared to the old makefiles.
Optional parts:
The text was updated successfully, but these errors were encountered: