projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752585d
)
benchmark: print score to five decimal places
author
Yosuke Furukawa
<yosuke.furukawa@gmail.com>
Mon, 19 Jan 2015 19:12:29 +0000
(
04:12
+0900)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Wed, 21 Jan 2015 00:21:44 +0000
(
01:21
+0100)
PR-URL: https://github.com/iojs/io.js/pull/516
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
benchmark/common.js
patch
|
blob
|
history
diff --git
a/benchmark/common.js
b/benchmark/common.js
index
a6a1d87
..
d4b8bdf
100644
(file)
--- 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);
};