Browse Source

benchmark: print score to five decimal places

PR-URL: https://github.com/iojs/io.js/pull/516
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v1.8.0-commit
Yosuke Furukawa 10 years ago
committed by Ben Noordhuis
parent
commit
5d014637b6
  1. 2
      benchmark/common.js

2
benchmark/common.js

@ -201,7 +201,7 @@ Benchmark.prototype.end = function(operations) {
Benchmark.prototype.report = function(value) { Benchmark.prototype.report = function(value) {
var heading = this.getHeading(); var heading = this.getHeading();
if (!silent) if (!silent)
console.log('%s: %s', heading, value.toFixed(0)); console.log('%s: %s', heading, value.toFixed(5));
process.exit(0); process.exit(0);
}; };

Loading…
Cancel
Save