bevy/examples/stress_tests
Jakob Hellermann 1ff4b98755
fix new clippy lints before they reach stable (#8700)
# Objective

- fix clippy lints early to make sure CI doesn't break when they get
promoted to stable
- have a noise-free `clippy` experience for nightly users

## Solution

- `cargo clippy --fix`
- replace `filter_map(|x| x.ok())` with `map_while(|x| x.ok())` to fix
potential infinite loop in case of IO error
2023-05-29 07:23:50 +00:00
..
bevymark.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_animated_sprites.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_buttons.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_cubes.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_foxes.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
many_gizmos.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_glyphs.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_lights.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
many_sprites.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
README.md Add a stress test profile (#6901) 2022-12-20 15:59:41 +00:00
text_pipeline.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
transform_hierarchy.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +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>