4 <h1 id=
"id" class=
"class"></h1>
5 <script src=
"../resources/runner.js"></script>
7 PerfTestRunner
.measureRunsPerSecond({
8 description
: "This benchmark tests querySelectorAll() for an element that appears near the head of the document",
10 for (var i
= 0; i
< 1000; i
++) {
11 document
.querySelectorAll("#id");