Bug 98734

Summary: enclosingLayer() walks the entire parent chain, making it slow for deep trees
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jamesr, jchaffraix, simon.fraser, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 98798    

Eric Seidel (no email)
Reported 2012-10-09 02:31:27 PDT
enclosingLayer() walks the entire parent chain, making it slow for deep trees It makes repaint/layout samples account for about 30% of: http://www.robohornet.org/tests/descendantselector.html (which I'm not suggesting is either a good or bad benchmark, merely one which triggers this condition.)
Attachments
Simon Fraser (smfr)
Comment 1 2012-10-09 10:21:57 PDT
I assume you mean "slow for deep, layer-sparse trees"?
Eric Seidel (no email)
Comment 2 2012-10-10 11:03:21 PDT
Yes, deep, layer-sparse. :)
Note You need to log in before you can comment on or make changes to this bug.