| Index: sky/benchmarks/resources/runner.sky
|
| diff --git a/sky/benchmarks/resources/runner.sky b/sky/benchmarks/resources/runner.sky
|
| index e307c0d2732923a0eedfd0fc7814401ba5d0dc49..8497a612dbf0a72f7efe7806e27739704bcb6ffb 100644
|
| --- a/sky/benchmarks/resources/runner.sky
|
| +++ b/sky/benchmarks/resources/runner.sky
|
| @@ -4,14 +4,14 @@ function PerfRunner(options) {
|
| this.iterationsRemaining_ = options.iterations || 10;
|
| this.results_ = [];
|
| this.setup_ = options.setup;
|
| + this.logLines_ = [];
|
| }
|
|
|
| PerfRunner.prototype.log = function(line) {
|
| - console.log(line);
|
| + this.logLines_.push(line);
|
| };
|
|
|
| PerfRunner.prototype.recordResult = function(result) {
|
| - console.log(result);
|
| this.results_.push(result);
|
| };
|
|
|
| @@ -82,6 +82,7 @@ PerfRunner.prototype.logStatistics = function(title) {
|
|
|
| PerfRunner.prototype.finish = function () {
|
| this.logStatistics("Time:");
|
| + internals.notifyTestComplete(this.logLines_.join('\n'));
|
| }
|
|
|
| module.exports = PerfRunner;
|
|
|