
# Objective Fix #7731. Add basic Event sending and iteration benchmarks to bevy_ecs's benchmark suite. ## Solution Add said benchmarks scaling from 100 to 50,000 events. Not sure if I want to include a randomization of the events going in, the current implementation might be too easy for the compiler to optimize. --------- Co-authored-by: JoJoJet <21144246+JoJoJet@users.noreply.github.com>
16 lines
283 B
Rust
16 lines
283 B
Rust
use criterion::criterion_main;
|
|
|
|
mod components;
|
|
mod events;
|
|
mod iteration;
|
|
mod scheduling;
|
|
mod world;
|
|
|
|
criterion_main!(
|
|
components::components_benches,
|
|
events::event_benches,
|
|
iteration::iterations_benches,
|
|
scheduling::scheduling_benches,
|
|
world::world_benches,
|
|
);
|