From e757122912825fb4d73f328a0e151524def18225 Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Sun, 14 Jan 2024 22:46:09 -0500 Subject: [PATCH 1/2] doc: remove reference to resolved child_process v8 issue The linked v8 issue is closed. The NodeJS half of that issue has also been resolved. While there still may be issues related to child_process spawn performance, they are not related to this v8 issue. Refs: https://bugs.chromium.org/p/v8/issues/detail?id=7381 Refs: https://github.com/nodejs/node/pull/48523 Refs: https://github.com/nodejs/performance/issues/138 --- doc/api/child_process.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 5d7842a0730138..7c752f18c618bc 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -875,9 +875,7 @@ normally without the process being held open by the open IPC channel._ On Unix-like operating systems, the [`child_process.spawn()`][] method performs memory operations synchronously before decoupling the event loop -from the child. Applications with a large memory footprint may find frequent -[`child_process.spawn()`][] calls to be a bottleneck. For more information, -see [V8 issue 7381](https://bugs.chromium.org/p/v8/issues/detail?id=7381). +from the child. See also: [`child_process.exec()`][] and [`child_process.fork()`][]. From 9cca93061688ea6bbeb729b4093b4c9341b35c9f Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Wed, 17 Jan 2024 01:44:46 +0000 Subject: [PATCH 2/2] Update child_process.md --- doc/api/child_process.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 7c752f18c618bc..eb4095b6b71a3e 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -873,10 +873,6 @@ child registers an event handler for the [`'disconnect'`][] event or the [`'message'`][] event. This allows the child to exit normally without the process being held open by the open IPC channel._ -On Unix-like operating systems, the [`child_process.spawn()`][] method -performs memory operations synchronously before decoupling the event loop -from the child. - See also: [`child_process.exec()`][] and [`child_process.fork()`][]. ## Synchronous process creation