Skip to content

Commit f69c111

Browse files
perf: patch libuv to use posix_spawn on macOS (#27026)
* perf: patch libuv to use posix_spawn on macOS patch libuv to fix a performance regression in macOS >= 11 Spawning child processes in an Electron application with a hardened runtime has become slow in macOS Big Sur. This patch is a squashed version of libuv/libuv#3064 This patch should be removed when libuv PR 3064 is merged. Fixes: libuv/libuv#3050 Fixes: #26143 PR-URL: libuv/libuv#3064 Authored-by: Juan Pablo Canepa <[email protected]> Co-authored-by: Marcello Bastéa-Forte <[email protected]> Electron patch prepared by: Pat DeSantis <[email protected]> * Remove trailing whitespaces from patch file * update patches * Update patch description Co-authored-by: Electron Bot <[email protected]>
1 parent 0dcc623 commit f69c111

File tree

2 files changed

+575
-0
lines changed

2 files changed

+575
-0
lines changed

patches/node/.patches

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ allow_preventing_preparestacktracecallback.patch
3131
fix_add_safeforterminationscopes_for_sigint_interruptions.patch
3232
remove_makeexternal_case_for_uncached_internal_strings.patch
3333
fix_remove_outdated_--experimental-wasm-bigint_flag.patch
34+
darwin_libuv_use_posix_spawn.patch

0 commit comments

Comments
 (0)