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
Constant CPU load #262
Comments
Can you record a profile using |
Here it is:
Most of time was solvespace in background. Runnning 6.7 minutes. |
That's interesting. Looks like something in your window system continuously requests the text window to be repainted. How's your desktop set up? |
I am using tiling wm i3. No compositing manager running. It's quite bare setup, nothing fancy. I tried to run solvespace in fluxbox and if textwindow was not visible, CPU load dropped to 0.
Whenever it was visible, CPU load jumped back to 10%. If I switch to different virtual desktop in i3, there is no change and i3 has no feature like minimizing window (tiling WM...). |
I use i3 too and don't observe such behavior. Weird. |
I have i3 built from git quite recently, comparing to last stable release from Nov 8, 2016 . Not sure which version you use. Fluxbox test showed, that text window is being constantly repainted once it is visible. This is not ok IMO. |
I'm not choosing when to repaint it while idle, GTK does. I'm not sure what's going on here. |
I've done major restructuring of the platform backend recently, which might have fixed this. Can you please recheck? |
Issue seems solved, thanks! |
System information
SolveSpace version: 3.0~33b6e517 (It would be nice to have it selectable to copy)
Operating system: Archlinux
Expected behavior
Minimal CPU load when not focused or focused and not doing anything.
Actual behavior
Constant CPU load around 10% in average (~2s), even when unfocused and somewhere in background.
Additional information
Processor i7-3610QM running above 3GHz, not exactly slow one...
The text was updated successfully, but these errors were encountered: