Skip to content
Permalink
Browse files

doc: fix math error in process.md

Updates benchmark result output to actual real result.

1 * 1e9 + 552 = 1000000552 not 1000000527

PR-URL: #11158
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information...
DiegoRBaquero authored and addaleax committed Feb 4, 2017
1 parent 23cda7d commit c5a0dcedd3eb0c4b1d8cead36a0a7d735d6f3f3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/process.md
@@ -1052,7 +1052,7 @@ setTimeout(() => {
// [ 1, 552 ]
console.log(`Benchmark took ${diff[0] * NS_PER_SEC + diff[1]} nanoseconds`);
// benchmark took 1000000527 nanoseconds
// benchmark took 1000000552 nanoseconds
}, 1000);
```

0 comments on commit c5a0dce

Please sign in to comment.
You can’t perform that action at this time.