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 authored and MylesBorins committed Nov 16, 2020
1 parent 607f3c5 commit 85c47d7
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 @@ -211,7 +211,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 85c47d7

Please sign in to comment.