| Index: PerformanceTests/Parser/query-selector-all-id-last.html
|
| diff --git a/PerformanceTests/Parser/query-selector-id-last.html b/PerformanceTests/Parser/query-selector-all-id-last.html
|
| similarity index 69%
|
| copy from PerformanceTests/Parser/query-selector-id-last.html
|
| copy to PerformanceTests/Parser/query-selector-all-id-last.html
|
| index e161cd1724438e4a52785b37e23bc4f2f3e37d2c..8040f9b49a43e9ecf52b53afead1d5220574d42d 100644
|
| --- a/PerformanceTests/Parser/query-selector-id-last.html
|
| +++ b/PerformanceTests/Parser/query-selector-all-id-last.html
|
| @@ -16,10 +16,10 @@ h1.className = "class";
|
| document.body.lastChild.appendChild(h1);
|
|
|
| PerfTestRunner.measureRunsPerSecond({
|
| - description: "This benchmark tests querySelector() for an element that appears near the tail of the document, and is a child of an element with a given id",
|
| + description: "This benchmark tests querySelectorAll() for an element that appears near the tail of the document, and is a child of an element with a given id",
|
| run: function() {
|
| for (var i = 0; i < 100; i++) {
|
| - var res = document.querySelector("#foo999 > h1");
|
| + var res = document.querySelectorAll("#foo999 > h1");
|
| }
|
| }});
|
| </script>
|
|
|