Browse Source

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>
v6
Diego Rodríguez Baquero 8 years ago
committed by Anna Henningsen
parent
commit
c5a0dcedd3
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      doc/api/process.md

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

Loading…
Cancel
Save