Skip to content

Commit

Permalink
benchmark: print score to five decimal places
Browse files Browse the repository at this point in the history
PR-URL: #516
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
yosuke-furukawa authored and bnoordhuis committed Jan 21, 2015
1 parent 752585d commit 5d01463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

Expand Down

0 comments on commit 5d01463

Please sign in to comment.