Don't use Number#toPrecision(), it switches to scientific notation for
numbers with more digits than the precision; use Number#toFixed().
PR-URL: https://github.com/iojs/io.js/pull/185
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Benchmark.prototype.report = function(value) {
var heading = this.getHeading();
if (!silent)
- console.log('%s: %s', heading, value.toPrecision(5));
+ console.log('%s: %s', heading, value.toFixed(0));
process.exit(0);
};