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

ofSketch app eats up ~20% CPU when idle #140

Open
mikewesthad opened this issue Oct 21, 2014 · 10 comments
Open

ofSketch app eats up ~20% CPU when idle #140

mikewesthad opened this issue Oct 21, 2014 · 10 comments

Comments

@mikewesthad
Copy link

I see that setup() locks the framerate, but could one of the threads be running beyond that rate (on windows)? Or is ~20% to be expected for the app?

@bakercp
Copy link
Member

bakercp commented Oct 21, 2014

it should be doing nothing .. what platform?

@mikewesthad
Copy link
Author

Win 8.1

@mikewesthad
Copy link
Author

image

@mikewesthad
Copy link
Author

(Not a big deal at all, just noticed by fans always spin up when I open up ofSketch)

@brannondorsey
Copy link
Member

Any empty openFrameworks project does that for me. Does your machine
generally handle oF apps well?

@mikewesthad
Copy link
Author

Afk, but I did test that yesterday. Simple oF apps were taking around 10
percent. I'll verify with actually numbers later

@bakercp
Copy link
Member

bakercp commented Oct 22, 2014

The latest build of ofSketch, which isn't released yet, doesn't use a window, but rather CEF (chrome embedded framework). It doesn't even have a GL context, so theoretically we should be able to convert it to an async event based system rather than the standard loop, which is what is likely eating up CPU. It should basically be using 0% CPU unless it is compiling.

@mikewesthad
Copy link
Author

Re: percentages. ~20% oF sketch app, ~12% particle system, ~0 empty example

Cool to the new unrelased version

@mikewesthad
Copy link
Author

jonathan + nate were talking about how hot their computers get when running ofSketch. they're at ~90% cpu. just figured I'd tack that on here

@bakercp
Copy link
Member

bakercp commented Oct 23, 2014

🔥 🔥 🔥 🔥 🚒 💧 💧 💧 💧 👍

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

3 participants