Index: PerformanceTests/Parser/query-selector-all-id-deep.html |
diff --git a/PerformanceTests/Parser/query-selector-id-deep.html b/PerformanceTests/Parser/query-selector-all-id-deep.html |
similarity index 70% |
copy from PerformanceTests/Parser/query-selector-id-deep.html |
copy to PerformanceTests/Parser/query-selector-all-id-deep.html |
index 3b9fc1aa75ab8732f238dac65af46c8e8fdd17d7..f3624cf2faaa11ed755bfab35313f5ce3b61c6b6 100644 |
--- a/PerformanceTests/Parser/query-selector-id-deep.html |
+++ b/PerformanceTests/Parser/query-selector-all-id-deep.html |
@@ -18,10 +18,10 @@ h1.className = "class"; |
parentDiv.appendChild(h1); |
PerfTestRunner.measureRunsPerSecond({ |
- description: "This benchmark tests querySelector() for an element that appears in the depths in the document, and is a descendant of an element with a given id", |
+ description: "This benchmark tests querySelectorAll() for an element that appears in the depths in the document, and is a descendant of an element with a given id", |
run: function() { |
for (var i = 0; i < 100; i++) { |
- var res = document.querySelector("#foo998 h1"); |
+ var res = document.querySelectorAll("#foo998 h1"); |
} |
}}); |
</script> |