mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
359e6c718d
# 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. |
||
---|---|---|
.. | ||
benches | ||
Cargo.toml |