[Webkit-unassigned] [Bug 106309] [Qt] High CPU load with CSS animations in Qt5's WebKit compared to Qt4.8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 24 09:12:43 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=106309





--- Comment #4 from bugzilla at kaffeeschluerfer.com  2013-04-24 09:11:03 PST ---

(In reply to comment #3)
Thank you Allan! With your help we have now a much better performance compared to the initial solution. The hint with box-shadow did the trick.

I tested now only on Windows XP single-core and will retest on Windows 7 later:

If we delete box-shadow the CPU usage goes down from around 40-60% to around 8-19%

If we delete box-shadow AND add '-webkit-transform: translateZ(0);' the CPU usage goes down to 10-16%. It looks like its the same in average but it does not oscillate so much...

If we leave the box-shadow and add '-webkit-transform: translateZ(0);' as in your last comment, then the CPU load also drops but only down to around 25-35%. Still better than original. Maybe we will leave this for design-reasons and live with that performance.


Of course, compared to Chrome/Chromium it still uses  much more CPU but at least our application will not be blocked due to the CSS animations.

I will now take a deeper look to what '-webkit-transform: translateZ(0);' really means :-)

Thanks!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list