Skip to content
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

CPU usages is just ~13% even after setting everything correctly #99

Open
chaoticgood1 opened this issue Oct 2, 2021 · 2 comments
Open

Comments

@chaoticgood1
Copy link

chaoticgood1 commented Oct 2, 2021

OS: Ubuntu 20.04
Bevy: 0.5
Bevy Rapier: 10.02
CPU: Ryzen 4600H

Set the features: https://github.com/Nickan/bevytest/blob/master/Cargo.toml
Set the profile.release https://github.com/Nickan/bevytest/blob/master/.cargo/config
And the run cargo run --release

Added just 30000 ColliderBundles: https://github.com/Nickan/bevytest/blob/6df6ea9c40838c2cb138355813074f547f891903/src/main.rs#L45

RapierConfiguration::query_pipeline_active to false jumps the fps to 60fps

Actual Result: Still I am just getting ~20fps and only using 13% of CPU

Expected Result: 60fps and use more than 13% of CPU

Edit: Updated CPU percent

@chaoticgood1 chaoticgood1 changed the title CPU uages is just ~7% even after setting everything correctly CPU usages is just ~7% even after setting everything correctly Oct 2, 2021
@chaoticgood1
Copy link
Author

Closing the issue because it is not as close as the problem I am having.

@chaoticgood1 chaoticgood1 changed the title CPU usages is just ~7% even after setting everything correctly CPU usages is just ~13% even after setting everything correctly Oct 7, 2021
@chaoticgood1
Copy link
Author

Reopening issue because I forgot to
.add_plugin(RapierPhysicsPlugin::<NoUserData>::default())
https://github.com/Nickan/bevytest/blob/6df6ea9c40838c2cb138355813074f547f891903/src/main.rs#L16

@chaoticgood1 chaoticgood1 reopened this Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant