benchmark: print score to five decimal places

PR-URL: https://github.com/iojs/io.js/pull/516
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Yosuke Furukawa 2015-01-20 04:12:29 +09:00 committed by Ben Noordhuis
parent 752585db63
commit 5d014637b6

View File

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