[Webkit-unassigned] [Bug 20180] Firefox is faster than webkit on :nth-child tests on SlickSpeed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 10 19:22:26 PDT 2008


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





------- Comment #2 from catfish.man at gmail.com  2008-09-10 19:22 PDT -------
Created an attachment (id=23333)
 --> (https://bugs.webkit.org/attachment.cgi?id=23333&action=view)
Another unsatisfactory but working patch

This is about a 10% speedup for :nth-child on slickspeed. Unfortunately, it's
basically just manually inlining part of Node::renderStyle(). The correct
solution is to make renderStyle() non-virtual and have it call a virtual
function only in the uncommon case, but for reasons unknown that doesn't speed
things up. Attempts to inline it (which presumably would speed things up as
this does) have run into circular include issues.


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



More information about the webkit-unassigned mailing list