Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Extreme CPU usage #76

Open
2 tasks
lukors opened this issue Jan 30, 2022 · 0 comments
Open
2 tasks

Extreme CPU usage #76

lukors opened this issue Jan 30, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request tracking Waiting for a third party

Comments

@lukors
Copy link
Owner

lukors commented Jan 30, 2022

One core is always used 100% by the program. This needs to be fixed.


The reason is that it was running at an unbounded frame rate. Enabling vsync fixes the issue, but also adds a lot of input lag. This brings CPU utilization down from ~150% to ~30% on my laptop. It can and should be close to zero percent when the user is not interacting with the app, but I'm going to wait for Bevy's official GUI before I do anything like that.

Here are a couple of related issues in the Bevy repo:

I'm leaving this issue open as the CPU usage could still be regarded as extreme (considering it should be close to zero) to track progress towards solving these issues in Bevy.

@lukors lukors added bug Something isn't working enhancement New feature or request labels Jan 30, 2022
@lukors lukors added this to the Alpha 3 milestone Jan 31, 2022
@lukors lukors added the tracking Waiting for a third party label Jan 31, 2022
@lukors lukors removed this from the Alpha 3 milestone Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request tracking Waiting for a third party
Projects
None yet
Development

No branches or pull requests

1 participant