From ef28db1a1048e3a77d21af23ce6d0498567f101c Mon Sep 17 00:00:00 2001 From: "rniwa@webkit.org" Date: Tue, 31 Jan 2012 21:35:51 +0000 Subject: [PATCH] PerfTestRunner should automatically create pre#log https://bugs.webkit.org/show_bug.cgi?id=77469 Reviewed by Tony Chang. Automatically generate
 if there isn't one.

* Bindings/event-target-wrapper.html:
* DOM/Accessors.html:
* DOM/CloneNodes.html:
* DOM/CreateNodes.html:
* DOM/DOMDivWalk.html:
* DOM/DOMTable.html:
* DOM/DOMWalk.html:
* DOM/Events.html:
* DOM/GetElement.html:
* DOM/GridSort.html:
* DOM/Template.html:
* Dromaeo/dom-query.html:
* Dromaeo/resources/dromaeorunner.js:
* Parser/html-parser.html:
* Parser/html5-full-render.html:
* Parser/simple-url.html:
* Parser/tiny-innerHTML.html:
* Parser/url-parser.html:
* Parser/xml-parser.html:
* resources/runner.js:
(PerfTestRunner.log):
(PerfTestRunner.printStatistics):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
---
 .../Bindings/event-target-wrapper.html             |  1 -
 PerformanceTests/ChangeLog                         | 32 ++++++++++++++++++++++
 PerformanceTests/DOM/Accessors.html                |  1 -
 PerformanceTests/DOM/CloneNodes.html               |  1 -
 PerformanceTests/DOM/CreateNodes.html              |  1 -
 PerformanceTests/DOM/DOMDivWalk.html               |  1 -
 PerformanceTests/DOM/DOMTable.html                 |  1 -
 PerformanceTests/DOM/DOMWalk.html                  |  1 -
 PerformanceTests/DOM/Events.html                   |  1 -
 PerformanceTests/DOM/GetElement.html               |  1 -
 PerformanceTests/DOM/GridSort.html                 |  1 -
 PerformanceTests/DOM/Template.html                 |  1 -
 PerformanceTests/Dromaeo/dom-query.html            |  1 -
 .../Dromaeo/resources/dromaeorunner.js             |  4 +--
 PerformanceTests/Parser/html-parser.html           |  2 +-
 PerformanceTests/Parser/html5-full-render.html     |  1 -
 PerformanceTests/Parser/simple-url.html            |  1 -
 PerformanceTests/Parser/tiny-innerHTML.html        |  1 -
 PerformanceTests/Parser/url-parser.html            |  1 -
 PerformanceTests/Parser/xml-parser.html            |  1 -
 PerformanceTests/resources/runner.js               | 21 ++++++++------
 21 files changed, 48 insertions(+), 28 deletions(-)

diff --git a/PerformanceTests/Bindings/event-target-wrapper.html b/PerformanceTests/Bindings/event-target-wrapper.html
index a530a11..04ff844 100644
--- a/PerformanceTests/Bindings/event-target-wrapper.html
+++ b/PerformanceTests/Bindings/event-target-wrapper.html
@@ -1,6 +1,5 @@
 
 
-

 
 Click here to start
 
 
 
diff --git a/PerformanceTests/DOM/CloneNodes.html b/PerformanceTests/DOM/CloneNodes.html
index a8dbbaa..4aef2b5 100644
--- a/PerformanceTests/DOM/CloneNodes.html
+++ b/PerformanceTests/DOM/CloneNodes.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/CreateNodes.html b/PerformanceTests/DOM/CreateNodes.html
index 31f3e04..13e3d44 100644
--- a/PerformanceTests/DOM/CreateNodes.html
+++ b/PerformanceTests/DOM/CreateNodes.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/DOMDivWalk.html b/PerformanceTests/DOM/DOMDivWalk.html
index 960cf69..a46c14c 100644
--- a/PerformanceTests/DOM/DOMDivWalk.html
+++ b/PerformanceTests/DOM/DOMDivWalk.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/DOMTable.html b/PerformanceTests/DOM/DOMTable.html
index 5db09e8..1709963 100644
--- a/PerformanceTests/DOM/DOMTable.html
+++ b/PerformanceTests/DOM/DOMTable.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/DOMWalk.html b/PerformanceTests/DOM/DOMWalk.html
index d270560..ffd71c5 100644
--- a/PerformanceTests/DOM/DOMWalk.html
+++ b/PerformanceTests/DOM/DOMWalk.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/Events.html b/PerformanceTests/DOM/Events.html
index 5b5e089..daca4e1 100644
--- a/PerformanceTests/DOM/Events.html
+++ b/PerformanceTests/DOM/Events.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/GetElement.html b/PerformanceTests/DOM/GetElement.html
index 7d18b9b..ca6c655 100644
--- a/PerformanceTests/DOM/GetElement.html
+++ b/PerformanceTests/DOM/GetElement.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/GridSort.html b/PerformanceTests/DOM/GridSort.html
index 82fbfc9..a89b3c9 100644
--- a/PerformanceTests/DOM/GridSort.html
+++ b/PerformanceTests/DOM/GridSort.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/DOM/Template.html b/PerformanceTests/DOM/Template.html
index 8241ccc..602586f 100644
--- a/PerformanceTests/DOM/Template.html
+++ b/PerformanceTests/DOM/Template.html
@@ -2,7 +2,6 @@
 
 
 
-

 
 
 
diff --git a/PerformanceTests/Dromaeo/dom-query.html b/PerformanceTests/Dromaeo/dom-query.html
index 5743a06..89a806a 100644
--- a/PerformanceTests/Dromaeo/dom-query.html
+++ b/PerformanceTests/Dromaeo/dom-query.html
@@ -11,6 +11,5 @@ $(document).ready(function() {
 
 
 
-

 
 
diff --git a/PerformanceTests/Dromaeo/resources/dromaeorunner.js b/PerformanceTests/Dromaeo/resources/dromaeorunner.js
index d6b833d..136093e 100644
--- a/PerformanceTests/Dromaeo/resources/dromaeorunner.js
+++ b/PerformanceTests/Dromaeo/resources/dromaeorunner.js
@@ -61,7 +61,7 @@
 
          teardown: function(data) {
              var scores = DRT.computeScores(data.result);
-             PerfTestRunner.printStatistics(scores, DRT.log);
+             PerfTestRunner.printStatistics(scores);
              window.setTimeout(function() {
                  if (window.layoutTestController)
                      layoutTestController.notifyDone();
@@ -75,7 +75,7 @@
          },
 
          log: function(text) {
-             document.getElementById("console").innerHTML += (text + "\n");
+             PerfTestRunner.log(text);
          }
      };
 
diff --git a/PerformanceTests/Parser/html-parser.html b/PerformanceTests/Parser/html-parser.html
index a016ffa..6c1c062 100644
--- a/PerformanceTests/Parser/html-parser.html
+++ b/PerformanceTests/Parser/html-parser.html
@@ -1,6 +1,5 @@
 
 
-

 
 
 
diff --git a/PerformanceTests/Parser/html5-full-render.html b/PerformanceTests/Parser/html5-full-render.html
index 78962ec..d84d0f4 100644
--- a/PerformanceTests/Parser/html5-full-render.html
+++ b/PerformanceTests/Parser/html5-full-render.html
@@ -1,6 +1,5 @@
 
 
-