bevy/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
..
benches Use single threaded executor for archetype benches (#9835) 2023-09-18 16:06:42 +00:00
Cargo.toml Fix erronenous glam version (#9653) 2023-08-31 12:55:17 +00:00