5 <div class=
"foo" bar=
"baz">
6 <div class=
"foo" bar=
"baz">
7 <div class=
"foo" bar=
"baz">
8 <div class=
"foo" bar=
"baz"></div>
9 <div class=
"foo" bar=
"baz"></div>
10 <div class=
"foo" bar=
"baz"></div>
11 <div class=
"foo" bar=
"baz"></div>
12 <div class=
"foo" bar=
"baz"></div>
13 <div class=
"foo" bar=
"baz"></div>
14 <div class=
"foo" bar=
"baz"></div>
15 <div class=
"foo" bar=
"baz"></div>
16 <div class=
"foo" bar=
"baz"></div>
17 <div class=
"foo" bar=
"baz"></div>
19 <div class=
"foo" bar=
"baz"></div>
20 <div class=
"foo" bar=
"baz"></div>
21 <div class=
"foo" bar=
"baz"></div>
22 <div class=
"foo" bar=
"baz"></div>
23 <div class=
"foo" bar=
"baz"></div>
24 <div class=
"foo" bar=
"baz"></div>
25 <div class=
"foo" bar=
"baz"></div>
26 <div class=
"foo" bar=
"baz"></div>
27 <div class=
"foo" bar=
"baz"></div>
29 <div class=
"foo" bar=
"baz"></div>
30 <div class=
"foo" bar=
"baz"></div>
31 <div class=
"foo" bar=
"baz"></div>
32 <div class=
"foo" bar=
"baz"></div>
33 <div class=
"foo" bar=
"baz"></div>
34 <div class=
"foo" bar=
"baz"></div>
35 <div class=
"foo" bar=
"baz"></div>
36 <div class=
"foo" bar=
"baz"></div>
37 <div class=
"foo" bar=
"baz"></div>
39 <div class=
"foo" bar=
"baz"></div>
40 <div class=
"foo" bar=
"baz"></div>
41 <div class=
"foo" bar=
"baz"></div>
42 <div class=
"foo" bar=
"baz"></div>
43 <div class=
"foo" bar=
"baz"></div>
44 <div class=
"foo" bar=
"baz"></div>
45 <div class=
"foo" bar=
"baz"></div>
46 <div class=
"foo" bar=
"baz"></div>
47 <div class=
"foo" bar=
"baz"></div>
49 <script src=
"../resources/runner.js"></script>
51 PerfTestRunner
.measureRunsPerSecond({
52 description
: "This benchmark tests querySelectorAll() on complex attributes",
54 for (var i
= 0; i
< 1000; i
++) {
55 document
.querySelectorAll("[bar^=baz]");
56 document
.querySelectorAll("[bar*=baz]");