Add a balanced benchmark for QuerySelector
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 May 2013 22:31:02 +0000 (22:31 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 May 2013 22:31:02 +0000 (22:31 +0000)
commit6969247944a58279b1f412ff7d6227366539293a
tree8a1645270b6995b8fbcb1bace118798af8575bd5
parentd1c6003c5fb4e1de9bc02aed1a2375976069d03a
Add a balanced benchmark for QuerySelector
https://bugs.webkit.org/show_bug.cgi?id=116811

Reviewed by Sam Weinig.

The goal of this benchmark is to have an overview of querySelector as typically used
by webpages.

It uses queries similar to what is used by popular websites and applies somewhat
similar weighting for each type of query.

The tree used for the queries is intentionally kept simple to ensure we measure QuerySelector
a not purely the overhead of traversal.

* CSS/QuerySelector.html: Added.
* CSS/resources/query-selector.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/CSS/QuerySelector.html [new file with mode: 0644]
PerformanceTests/CSS/resources/query-selector.html [new file with mode: 0644]
PerformanceTests/ChangeLog