Skip to content

Commit 32914f6

Browse files
Trottjoesepi
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: nodejs#35078 Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
1 parent a8d5520 commit 32914f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/perf_hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ setImmediate(() => {
101101
});
102102
```
103103

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

0 commit comments

Comments
 (0)