Skip to content

Commit

Permalink
doc: avoid double-while sentence in perf_hooks.md
Browse files Browse the repository at this point in the history
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 <shishugi@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
  • Loading branch information
Trott committed Sep 10, 2020
1 parent f07f420 commit 4c9b79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ setImmediate(() => {
});
```

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

Expand Down

0 comments on commit 4c9b79e

Please sign in to comment.