bevy/examples/stress_tests
François a52ca170ac
foxes shouldn't march in sync (#10070)
# Objective

- All foxes in `many_foxes` are running in sync
- It's scary
- It can also be a source of optimisation that won't be useful in a
general case

## Solution

- Advance the animation of each fox so that they are not synced anymore
by default
- Add a cli arg to enable them running in sync
2023-10-09 22:45:02 +00:00
..
bevymark.rs Use EntityHashMap<Entity, T> for render world entity storage for better performance (#9903) 2023-09-27 08:28:28 +00:00
many_animated_sprites.rs Remove useless single tuples and trailing commas (#9720) 2023-09-08 21:46:54 +00:00
many_buttons.rs Have a separate implicit viewport node per root node + make viewport node Display::Grid (#9637) 2023-09-19 15:14:46 +00:00
many_cubes.rs Use EntityHashMap<Entity, T> for render world entity storage for better performance (#9903) 2023-09-27 08:28:28 +00:00
many_foxes.rs foxes shouldn't march in sync (#10070) 2023-10-09 22:45:02 +00:00
many_gizmos.rs Fix CI for Rust 1.72 (#9562) 2023-08-25 12:34:24 +00:00
many_glyphs.rs Have a separate implicit viewport node per root node + make viewport node Display::Grid (#9637) 2023-09-19 15:14:46 +00:00
many_lights.rs Remove useless single tuples and trailing commas (#9720) 2023-09-08 21:46:54 +00:00
many_sprites.rs Remove useless single tuples and trailing commas (#9720) 2023-09-08 21:46:54 +00:00
README.md Add a stress test profile (#6901) 2022-12-20 15:59:41 +00:00
text_pipeline.rs use AutoNoVsync in stress tests (#9229) 2023-07-21 20:15:13 +00:00
transform_hierarchy.rs Remove some old references to CoreSet (#9833) 2023-09-18 01:07:11 +00:00
warning_string.txt Added performance warning when running stress test examples in debug mode (#5029) 2022-07-13 19:13:46 +00:00

Stress tests

These examples are used to stress test Bevy's performance in various ways. These should be run with the "stress-test" profile to accurately represent performance in production, otherwise they will run in cargo's default "dev" profile which is very slow.

Example Command

cargo run --profile stress-test --example <EXAMPLE>