Add back test.runCount for runPerSecond as it's used by tests in fast/harness/perftests.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2012 07:36:47 +0000 (07:36 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2012 07:36:47 +0000 (07:36 +0000)
* resources/runner.js:
(PerfTestRunner.runPerSecond):

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

PerformanceTests/ChangeLog
PerformanceTests/resources/runner.js

index 467c532..9d5f543 100644 (file)
@@ -1,3 +1,10 @@
+2012-09-28  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Add back test.runCount for runPerSecond as it's used by tests in fast/harness/perftests.
+
+        * resources/runner.js:
+        (PerfTestRunner.runPerSecond):
+
 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
 
         Build fix after r129824.
index bb4e52b..e6fc999 100755 (executable)
@@ -226,7 +226,7 @@ PerfTestRunner.measureTime = function (test) {
 }
 
 PerfTestRunner.runPerSecond = function (test) {
-    this._runCount = 20;
+    this._runCount = test.runCount || 20; // Only used by tests in fast/harness/perftests
     this.unit = 'runs/s';
     this._runner = this._measureRunsPerSecondOnce;
     this._start(test);