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)
commit6943fd3b00622d3e827924336bf78d74363b99f0
tree8a1645270b6995b8fbcb1bace118798af8575bd5
parent38b8dd27555aeddb418f4afb3a7e47f9efda22e8
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: http://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