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

Previews cause high CPU usage when using Delta inputs #34

Closed
evilC opened this issue Sep 4, 2018 · 0 comments
Closed

Previews cause high CPU usage when using Delta inputs #34

evilC opened this issue Sep 4, 2018 · 0 comments

Comments

@evilC
Copy link
Collaborator

evilC commented Sep 4, 2018

The preview bars cause excessive CPU usage for Delta inputs if the Profile window is active.
Even if the Profile window is not visible on-screen due to being behind another window, this persists.
Maybe we should try to implement something like this, to stop the Previews from rendering unless actually visible.
Obviously doing this for each control would not be very efficient, I am thinking we would want one thread always running that periodically checks if the Profile window is currently visible, and if not, to disable rendering of Previews.

Snoothy added a commit that referenced this issue Jun 6, 2019
… disable previews if window is not active, fixes #34
@Snoothy Snoothy closed this as completed Jun 6, 2019
t-l-k pushed a commit to t-l-k/UCR that referenced this issue Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants