Bug 59796

Summary: Firefox is twice as fast as WebKit on some selector matching tests
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eae, koivisto, phiw2, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://scope.bitbucket.org/tests/selector-matching-performance/index.html
Attachments:
Description Flags
Screenshot of results (FF on left) none

Simon Fraser (smfr)
Reported 2011-04-29 08:33:26 PDT
Created attachment 91687 [details] Screenshot of results (FF on left) On the test at http://scope.bitbucket.org/tests/selector-matching-performance/index.html Firefox is much faster on some tests. I compared FF 4 with WebKit nightly r84622
Attachments
Screenshot of results (FF on left) (323.92 KB, image/png)
2011-04-29 08:33 PDT, Simon Fraser (smfr)
no flags
Antti Koivisto
Comment 1 2011-04-30 07:27:07 PDT
Yeah, attribute selectors take a very slow path. They are not that common though. The test setup is interesting, the current test content less so. No descendant and child selectors at all...
Note You need to log in before you can comment on or make changes to this bug.