Skip to content

Commit 85c47d7

Browse files
TrottMylesBorins
authored andcommitted
doc: avoid double-while sentence in perf_hooks.md
This improves readability, as well as awkward reptition of the word _while_ with two different meanings in a single sentence. Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/w/while PR-URL: #35078 Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Derek Lewis <[email protected]>
1 parent 607f3c5 commit 85c47d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ setImmediate(() => {
211211
});
212212
```
213213

214-
While the CPU is mostly idle while running this script the value of
214+
Although the CPU is mostly idle while running this script, the value of
215215
`utilization` is 1. This is because the call to [`child_process.spawnSync()`][]
216216
blocks the event loop from proceeding.
217217

0 commit comments

Comments
 (0)