Skip to content

Commit

Permalink
doc: fix math error in process.md
Browse files Browse the repository at this point in the history
Updates benchmark result output to actual real result.

1 * 1e9 + 552 = 1000000552 not 1000000527

PR-URL: #11158
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
DiegoRBaquero authored and addaleax committed Feb 4, 2017
1 parent 23cda7d commit c5a0dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```

Expand Down

0 comments on commit c5a0dce

Please sign in to comment.