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:
parent
23cda7d9de
commit
c5a0dcedd3
@ -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);
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user