Title: [116976] trunk/PerformanceTests
Revision
116976
Author
[email protected]
Date
2012-05-14 11:59:03 -0700 (Mon, 14 May 2012)

Log Message

Build fix. Don't adjust calls per iteration in the second run.

* resources/runner.js:
(PerfTestRunner._perSecondRunner):

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (116975 => 116976)


--- trunk/PerformanceTests/ChangeLog	2012-05-14 18:57:34 UTC (rev 116975)
+++ trunk/PerformanceTests/ChangeLog	2012-05-14 18:59:03 UTC (rev 116976)
@@ -1,3 +1,10 @@
+2012-05-14  Ryosuke Niwa  <[email protected]>
+
+        Build fix. Don't adjust calls per iteration in the second run.
+
+        * resources/runner.js:
+        (PerfTestRunner._perSecondRunner):
+
 2012-05-13  Ryosuke Niwa  <[email protected]>
 
         performance tests should be able to measure runs/sec rather than time

Modified: trunk/PerformanceTests/resources/runner.js (116975 => 116976)


--- trunk/PerformanceTests/resources/runner.js	2012-05-14 18:57:34 UTC (rev 116975)
+++ trunk/PerformanceTests/resources/runner.js	2012-05-14 18:59:03 UTC (rev 116976)
@@ -196,7 +196,7 @@
     while (totalTime < timeToRun) {
         totalTime += this._perSecondRunnerIterator(callsPerIteration);
         i += callsPerIteration;
-        if (this._completedRuns <= 0 && totalTime < 100)
+        if (this._completedRuns < 0 && totalTime < 100)
             callsPerIteration = Math.max(10, 2 * callsPerIteration);
     }
     this._callsPerIteration = callsPerIteration;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to