Opened 13 years ago
Last modified 10 years ago
#8337 new enhancement
Icons screensaver sucking too much CPU?
Reported by: | humdinger | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Add-Ons/Screen Savers | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev43696.
I love the screensaver "Icons". But judging from ActivityMonitor it seems to suck a bit too much CPU for what it is doing. Between 15 and 20%, I'd say. I have a Core2Duo, 2ghz, 2gb RAM and a supported Nvidia GForce 7600 GO in this notebook.
Can anyone see an easy optimization of the code?
Attachments (2)
Change History (7)
comment:1 by , 13 years ago
comment:2 by , 11 years ago
Humdinger, can you retest this on your machine on a revision sometime after hrev46759?
On a virtual machine I'm seeing minimal activity above baseline when running Icons.
comment:3 by , 11 years ago
I captured the time the Icons screensaver is active with ActivityMonitor, see the attached screenshot. The white horizontal line is the 50% mark. So it seems to vary between 25% and 50%. I guess the peaks is where the icon fading takes place. This is with hrev46974.
by , 11 years ago
Attachment: | Icons-screensaver_activity.png added |
---|
ActivityMonitor log when Icons saver is active
comment:4 by , 11 years ago
by , 11 years ago
Attachment: | Icons-screensaver_activity_Power-Saving.png added |
---|
...with scheduler setting "Power saving"
comment:5 by , 10 years ago
I don't think we can do better. Alpha blending pictures in software is a cosly operation. as axel says, it would be nice to have an option in the screensaver settings to change the framerate.
Not having looked at the code, the easiest option would always be to lower the frame rate.