bevy/examples/stress_tests
Nicola Papale a96b3b2e2f Add stress test for many ui elements (#5253)
# Objective

Bevy need a way to benchmark UI rendering code,
this PR adds a stress test that spawns a lot of buttons.

## Solution

- Add the `many_buttons` stress test.

---

## Changelog

- Add the `many_buttons` stress test.
2022-07-21 14:39:03 +00:00
..
bevymark.rs Improve ergonomics and reduce boilerplate around creating text elements. (#5343) 2022-07-20 14:14:29 +00:00
many_animated_sprites.rs Add TextureAtlas stress test based on many_sprites and sprite_sheet examples (#5087) 2022-07-04 13:04:15 +00:00
many_buttons.rs Add stress test for many ui elements (#5253) 2022-07-21 14:39:03 +00:00
many_cubes.rs Visibilty Inheritance, universal ComputedVisibility and RenderLayers support (#5310) 2022-07-15 23:24:42 +00:00
many_foxes.rs Add VisibilityBundle and use it to fix gltfs, scenes, and examples (#5335) 2022-07-16 02:47:23 +00:00
many_lights.rs update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
many_sprites.rs update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
README.md Added performance warning when running stress test examples in debug mode (#5029) 2022-07-13 19:13:46 +00:00
transform_hierarchy.rs Added performance warning when running stress test examples in debug mode (#5029) 2022-07-13 19:13:46 +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 --release argument to cargo or equivalent optimization, otherwise they will be very slow.