mirror of
https://github.com/bevyengine/bevy.git
synced 2026-07-01 08:12:51 -04:00
0d00c9109f
# Objective #24206 boxes the large error in `GltfError` but it's not sufficient after https://github.com/rust-lang/rust-clippy/issues/17070 is fixed. ## Solution Box `AssetLoadError::RequestedHandleTypeMismatch` so that it is reduced to 120 bytes which is below 128 bytes. Also fix some other trivial clippy warnings. ## Testing Use the latest nightly clippy which has https://github.com/rust-lang/rust-clippy/issues/17070 fixed: ``` cargo +nightly clippy --workspace --all-features --all-targets -- -D warnings ```
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>