-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor performance in bench_players
example.
#323
Comments
Updating to bevy 0.11-dev in #392 improved the situation significantly, but there's still an unacceptably high MSPT here.
However, for some strange reason, if I have singleplayer Minecraft open on my machine at the same time I'm running bench_players, the performance actually improves.
Maybe something to do with the way the OS is scheduling the process? I'm more inclined to believe what criterion is telling me now, but something still seems wrong here. |
## Description - Update to a recent development version of bevy 0.11 in an effort to solve #323. - Resolve footgun with event loop by moving it to a dedicated schedule that runs after `PreUpdate`. - Miscellaneous code quality improvements. - Disable `dump_schedule` tool because it's stuck on bevy 0.10.
Valence Version
abf9064
What You Did
The
bench_players
example is indicating poor performance. This is running in release mode without any players connected:But the
idle_update
benchmark is under similar conditions, and seems to suggest that a tick should take ~300 microseconds.What Went Wrong
The
bench_players
example should have a MSPT similar to theidle_update
benchmark, but it does not.Additional Information
cargo flamegraph
does not seem to indicate anything. Possibly a bug in the app's runner?The text was updated successfully, but these errors were encountered: