From 85c47d753c932cc7d37f2b6c9b7b1b639c7d3060 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 09340803e5da6e..eb919f109051bb 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -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.