diff options
author | Rich Trott <rtrott@gmail.com> | 2020-09-06 21:29:29 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-09-10 05:47:10 +0300 |
commit | 4c9b79ed5a776b6e1b99703ec9976312ae9b5fae (patch) | |
tree | 95a264d82dc9e7be5eafad8397ae8ce6beb3ce51 /doc/api/perf_hooks.md | |
parent | f07f4207522075fb5b3062afac24a19ecbb83825 (diff) |
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: https://github.com/nodejs/node/pull/35078
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Diffstat (limited to 'doc/api/perf_hooks.md')
-rw-r--r-- | doc/api/perf_hooks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index c5679f56012..51eff2e736d 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -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. |