[Webkit-unassigned] [Bug 33520] Mapping from local to container coord space is O(N^2)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 10 18:45:10 PST 2010


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





--- Comment #33 from James Robinson <jamesr at chromium.org>  2010-03-10 18:45:10 PST ---
I've updated the patch based on feedback.  It now keeps the offset on the stack
during updateLayerPositions() and doesn't rely on the RenderView at all.  The
offset is used for outlineBoundsForRepaint() and for the convertToLayerCoords()
call in updateLayerPositions().

The amount of time spent in updateLayerPositions() on the position:relative
testpage goes from ~580ms to ~105ms on my macbook pro.

This patch doesn't cache an offset for composited layers or their children. 
This should be very easy to add in a follow-up patch.

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