bevy/benches/benches/bevy_ecs/benches.rs
James Liu 8e82c88131
Basic event benchmarks (#8251)
# 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>
2023-03-31 07:12:18 +00:00

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,
);