0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

doc: fix math error in process.md

Updates benchmark result output to actual real result.

1 * 1e9 + 552 = 1000000552 not 1000000527

PR-URL: https://github.com/nodejs/node/pull/11158
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Diego Rodríguez Baquero 2017-02-03 22:50:48 -05:00 committed by Anna Henningsen
parent 23cda7d9de
commit c5a0dcedd3
No known key found for this signature in database
GPG Key ID: D8B9F5AEAE84E4CF

View File

@ -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);
```