[Webkit-unassigned] [Bug 62837] [chromium]Optimize GraphicsLayerChromium::setChildren

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 23 01:35:53 PDT 2011


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





--- Comment #5 from zeng huiqing <huiqing.zeng at intel.com>  2011-06-23 01:35:53 PST ---
For page load performance test, we find that while load a page that has 3D CSS transformation property, disable h/w accleration is 2x of enable h/w acceleration on chromium both on Linux and Win7.

Through analysis, we find the root cause is that with hardware acceleration enabled, when update the compositingLayers, the
GraphicsLayerChromium::setChildren will call GraphicsLayer::setChildren, and it will call addChild() for each child, which will end up calling updateChildList() N times. This is potentially(N^2).

The patch is to add an flag(m_setChildren)in class 'GraphicsLayerChromium' to avoid the unnecessary call, and the gap between disable h/w and enable h/w becomes < 10%.

-- 
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