bevy/benches/benches
Nicola Papale 359e6c718d
Use single threaded executor for archetype benches (#9835)
# Objective

`no_archetype` benchmark group results were very noisy

## Solution

Use the `SingeThreaded` executor.

On my machine, this makes the `no_archetype` bench group 20 to 30 times
faster. Meaning that most of the runtime was accounted by the
multithreaded scheduler. ie: the benchmark was not testing system
archetype update, but the overhead of multithreaded scheduling.

With this change, the benchmark results are more meaningful.

The add_archetypes function is also simplified.
2023-09-18 16:06:42 +00:00
..
bevy_ecs Use single threaded executor for archetype benches (#9835) 2023-09-18 16:06:42 +00:00
bevy_math Rename Bezier to CubicBezier for clarity (#9554) 2023-08-28 17:37:42 +00:00
bevy_reflect Add reflect path parsing benchmark (#9364) 2023-08-25 14:30:26 +00:00
bevy_tasks Fix clippy issue for benches crate (#6806) 2023-01-11 09:32:07 +00:00