From 0a2610a7aa54291fd3127c90e3a73c14c77923b3 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 6 Sep 2020 11:29:29 -0700 Subject: [PATCH] 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 Reviewed-By: Derek Lewis --- doc/api/perf_hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index c821cd49dd6a25..6540c686da3345 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.