html-parser.html takes too long to run
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Jan 2012 04:39:04 +0000 (04:39 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Jan 2012 04:39:04 +0000 (04:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=75515

Reviewed by Eric Seidel.

In working on runner.js, we introduced a factor of 10 increase to the
running time of this benchmark.  This patch dials down the number of
iterations to something more user-friendly.

* Parser/html-parser.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104006 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/Parser/html-parser.html

index 098972b..3611c54 100644 (file)
@@ -1,3 +1,16 @@
+2012-01-03  Adam Barth  <abarth@webkit.org>
+
+        html-parser.html takes too long to run
+        https://bugs.webkit.org/show_bug.cgi?id=75515
+
+        Reviewed by Eric Seidel.
+
+        In working on runner.js, we introduced a factor of 10 increase to the
+        running time of this benchmark.  This patch dials down the number of
+        iterations to something more user-friendly.
+
+        * Parser/html-parser.html:
+
 2011-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
 
         Web Inspector: move heap data stats to separate tab.
index a9bcd68..390daa3 100644 (file)
@@ -5,7 +5,7 @@
 <script>
 var spec = loadFile("resources/html5.html");
 
-start(20, function() {
+start(10, function() {
     var iframe = document.createElement("iframe");
     iframe.style.display = "none";  // Prevent creation of the rendering tree, so we only test HTML parsing.
     iframe.sandbox = '';  // Prevent external script loads which could cause write() to return before completing the parse.
@@ -14,6 +14,6 @@ start(20, function() {
     iframe.contentDocument.write(spec);
     iframe.contentDocument.close();
     document.body.removeChild(iframe);
-});
+}, 1);
 </script>
 </body>