mirror of
https://github.com/bevyengine/bevy
synced 2024-11-24 21:53:07 +00:00
2d91a6fc39
# Objective To capture the performance impact of removing and adding UI nodes add a `respawn` commandline argument to the `many_buttons` stress test example that despawns the existing UI layout and then spawns a new layout to replace it every frame. ## Testing To run the example with the new changes use: ```cargo run --example many_buttons --release -- --respawn``` |
||
---|---|---|
.. | ||
bevymark.rs | ||
many_animated_sprites.rs | ||
many_buttons.rs | ||
many_cameras_lights.rs | ||
many_cubes.rs | ||
many_foxes.rs | ||
many_gizmos.rs | ||
many_glyphs.rs | ||
many_lights.rs | ||
many_sprites.rs | ||
README.md | ||
text_pipeline.rs | ||
transform_hierarchy.rs | ||
warning_string.txt |
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>