CPU Usage Plastik&Keramik style

Waldo Bastian bastian at suse.com
Mon Nov 22 17:42:58 GMT 2004


The Plastik&Keramik styles have a performance issue. When progress bar 
animation is enabled it fires a timer 20 times per second. This would be 
acceptable if it does that when showing a progressbar, but the problem is 
that this timer runs all of the time, for each and every application. The 
problem is that this causes otherwise idle processes to be scheduled in all 
the time.

I have made a patch to only start the timer when there is actually a progress 
bar around. That improves the situation a lot already, but it seems that 
konqueror always keeps a progressbar around (the one in KonqFrameStatusBar), 
even though it isn't shown most of the time. Any ideas how to solve that?

Cheers,
Waldo
-- 
bastian at kde.org   |   Free Novell Linux Desktop 9 Evaluation Download
bastian at suse.com  |   http://www.novell.com/products/desktop/eval.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plastik.diff
Type: text/x-diff
Size: 2430 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041122/2567be68/attachment.diff>


More information about the kde-core-devel mailing list