From 5d014637b618af7eac6ab0fce8d67884598c7b35 Mon Sep 17 00:00:00 2001 From: Yosuke Furukawa Date: Tue, 20 Jan 2015 04:12:29 +0900 Subject: [PATCH] benchmark: print score to five decimal places PR-URL: /~https://github.com/iojs/io.js/pull/516 Reviewed-By: Ben Noordhuis --- benchmark/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/common.js b/benchmark/common.js index a6a1d87af84f9e..d4b8bdfa51d14b 100644 --- a/benchmark/common.js +++ b/benchmark/common.js @@ -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); };