You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
This adds a custom profile for testing against stress tests. Bevy seemingly gets notably faster with LTO turned on. To more accurately depict production level performance, LTO and other rustc-level optimizations should be enabled when performance testing on stress tests.
Also updated the stress test docs to reflect that users should be using it.
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.
3
+
These examples are used to stress test Bevy's performance in various ways. These
4
+
should be run with the "stress-test" profile to accurately represent performance
5
+
in production, otherwise they will run in cargo's default "dev" profile which is
6
+
very slow.
7
+
8
+
## Example Command
9
+
10
+
```bash
11
+
cargo run --profile stress-test --example <EXAMPLE>
0 commit comments