Skip to content

Commit c5a0dce

Browse files
DiegoRBaqueroaddaleax
authored andcommitted
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 <[email protected]>
1 parent 23cda7d commit c5a0dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ setTimeout(() => {
10521052
// [ 1, 552 ]
10531053

10541054
console.log(`Benchmark took ${diff[0] * NS_PER_SEC + diff[1]} nanoseconds`);
1055-
// benchmark took 1000000527 nanoseconds
1055+
// benchmark took 1000000552 nanoseconds
10561056
}, 1000);
10571057
```
10581058

0 commit comments

Comments
 (0)