bevy/examples/stress_tests
Nicola Papale 6beb4634f6 Cleanup many sprites stress tests (#7436)
Since the new renderer, no frustum culling is applied to 2d components
(be it Sprite or Mesh2d), the stress_tests docs is therefore misleading
and should be updated.

Furthermore, the `many_animated_sprites` example, unlike `many_sprites`
kept vsync enabled, making the stress test less useful than it could be.
We now disable vsync for `many_animated_sprites`.

Also, `many_animated_sprites` didn't have the stress_tests warning
message, instead, it had a paragraph in the module doc. I replaced the
module doc paragraph by the warning message, to be more in line with
other examples.

## Solution

- Remove the paragraph about frustum culling in the `many_sprites`
  and `many_animated_sprites` stress tests
2023-02-01 21:07:11 +00:00
..
bevymark.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
many_animated_sprites.rs Cleanup many sprites stress tests (#7436) 2023-02-01 21:07:11 +00:00
many_buttons.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
many_cubes.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
many_foxes.rs Make the many_foxes plane smaller to fix shadow issues. (#7339) 2023-01-23 15:42:08 +00:00
many_lights.rs Use Time resource instead of Extracting Time (#7316) 2023-01-21 17:55:39 +00:00
many_sprites.rs Cleanup many sprites stress tests (#7436) 2023-02-01 21:07:11 +00:00
README.md Add a stress test profile (#6901) 2022-12-20 15:59:41 +00:00
transform_hierarchy.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +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>