NEW 98734
enclosingLayer() walks the entire parent chain, making it slow for deep trees
https://bugs.webkit.org/show_bug.cgi?id=98734
Summary enclosingLayer() walks the entire parent chain, making it slow for deep trees
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.