PerformanceTests: Another build fix after r125178.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Aug 2012 20:01:04 +0000 (20:01 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Aug 2012 20:01:04 +0000 (20:01 +0000)
* resources/runner.js:

LayoutTests: Fix a test after r125178.

* fast/harness/perftests/runs-per-second-log-expected.txt:
* fast/harness/perftests/runs-per-second-log.html:

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

LayoutTests/ChangeLog
LayoutTests/fast/harness/perftests/runs-per-second-log-expected.txt
LayoutTests/fast/harness/perftests/runs-per-second-log.html
PerformanceTests/ChangeLog
PerformanceTests/resources/runner.js

index c4cd44a..67193cb 100644 (file)
@@ -1,3 +1,10 @@
+2012-08-09  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Fix a test after r125178.
+
+        * fast/harness/perftests/runs-per-second-log-expected.txt:
+        * fast/harness/perftests/runs-per-second-log.html:
+
 2012-08-09  Shawn Singh  <shawnsingh@chromium.org>
 
         [chromium] Pass mask scale and offset to shaders for correct masking
index 58f355c..65ed77a 100644 (file)
@@ -14,10 +14,12 @@ PerfTestRunner._perSecondRunnerIterator = function (callsPerIteration) {
     return 1000 / runs;
 }
 
+PerfTestRunner.storeHeapResults = function () { }
+
 var printStatistics = PerfTestRunner.printStatistics;
 PerfTestRunner.printStatistics = function (statistics) {
     statistics.stdev = statistics.stdev.toPrecision(3);
-    return printStatistics.call(PerfTestRunner, statistics);
+    return printStatistics.call(PerfTestRunner, statistics, 'Time:');
 }
 
 PerfTestRunner.runPerSecond({
index 6144cb2..32c855f 100644 (file)
@@ -1,3 +1,9 @@
+2012-08-09  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Another build fix after r125178.
+
+        * resources/runner.js:
+
 2012-08-09  Zoltan Horvath  <zoltan@webkit.org>
 
         Add memory measurement to balls.html and dromaeorunner.js
index 94242e8..62ba715 100755 (executable)
@@ -128,7 +128,7 @@ PerfTestRunner._runLoop = function () {
         if (this._description)
             this.log("Description: " + this._description);
         this.logStatistics(this._results, this.unit, "Time:");
-        if (window.internals) {
+        if (this._jsHeapResults.length) {
             this.logStatistics(this._jsHeapResults, "bytes", "JS Heap:");
             this.logStatistics(this._fastMallocHeapResults, "bytes", "FastMalloc:");
         }