| Index: PerformanceTests/Parser/query-selector-all-last.html
|
| diff --git a/PerformanceTests/Parser/query-selector-last.html b/PerformanceTests/Parser/query-selector-all-last.html
|
| similarity index 66%
|
| copy from PerformanceTests/Parser/query-selector-last.html
|
| copy to PerformanceTests/Parser/query-selector-all-last.html
|
| index 45c1cdbe9100c474d665bbc4d620a1b5034b5576..c9f205b9b4c266b3113f5e049ccd96456c289720 100644
|
| --- a/PerformanceTests/Parser/query-selector-last.html
|
| +++ b/PerformanceTests/Parser/query-selector-all-last.html
|
| @@ -16,12 +16,12 @@ h1.className = "class";
|
| document.body.appendChild(h1);
|
|
|
| PerfTestRunner.measureRunsPerSecond({
|
| - description: "This benchmark tests querySelector() for an element that appears near the tail of the document",
|
| + description: "This benchmark tests querySelectorAll() for an element that appears near the tail of the document",
|
| run: function() {
|
| for (var i = 0; i < 100; i++) {
|
| - document.querySelector("h1");
|
| - document.querySelector("#id");
|
| - document.querySelector(".class");
|
| + document.querySelectorAll("h1");
|
| + document.querySelectorAll("#id");
|
| + document.querySelectorAll(".class");
|
| }
|
| }});
|
| </script>
|
|
|