* resources/runner.js:
(PerfTestRunner._perSecondRunner):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116976
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-05-14 Ryosuke Niwa <rniwa@webkit.org>
+
+ Build fix. Don't adjust calls per iteration in the second run.
+
+ * resources/runner.js:
+ (PerfTestRunner._perSecondRunner):
+
2012-05-13 Ryosuke Niwa <rniwa@webkit.org>
performance tests should be able to measure runs/sec rather than time
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;