bevy/examples/stress_tests
Rob Parrett bcbab18f37
Fix panic in examples using argh on the web (#11513)
# Objective

Fixes #11503

## Solution

Use an empty set of args on the web.

## Discussion

Maybe in the future we could wrap this so that we can use query args on
the web or something, but this was the minimum changeset I could think
of to keep the functionality and make them not panic on the web.
2024-01-24 21:16:10 +00:00
..
bevymark.rs Fix panic in examples using argh on the web (#11513) 2024-01-24 21:16:10 +00:00
many_animated_sprites.rs Texture Atlas rework (#5103) 2024-01-16 13:59:08 +00:00
many_buttons.rs Fix panic in examples using argh on the web (#11513) 2024-01-24 21:16:10 +00:00
many_cubes.rs Fix panic in examples using argh on the web (#11513) 2024-01-24 21:16:10 +00:00
many_foxes.rs Fix panic in examples using argh on the web (#11513) 2024-01-24 21:16:10 +00:00
many_gizmos.rs Replace DiagnosticId by DiagnosticPath (#9266) 2024-01-20 15:42:51 +00:00
many_glyphs.rs Rename TextAlignment to JustifyText. (#10854) 2023-12-05 03:00:41 +00:00
many_lights.rs Use impl Into<A> for Assets::add (#10878) 2024-01-08 22:14:43 +00:00
many_sprites.rs Use a consistent scale factor and resolution in stress tests (#10474) 2023-11-09 22:05:32 +00:00
README.md Add a stress test profile (#6901) 2022-12-20 15:59:41 +00:00
text_pipeline.rs Rename TextAlignment to JustifyText. (#10854) 2023-12-05 03:00:41 +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>