Skip to content

Commit

Permalink
perf: patch libuv to use posix_spawn on macOS
Browse files Browse the repository at this point in the history
Spawning child processes in an Electron application with a hardened runtime has become slow in macOS Big Sur.

This patch is a cherry-pick of libuv/libuv#3064. This patch should be removed when Electron's libuv version is updated to a version containing this fix.

Fixes: libuv/libuv#3050
Fixes: electron#26143
PR-URL: libuv/libuv#3064

Authored-by: Juan Pablo Canepa <[email protected]>
Co-authored-by: Marcello Bastéa-Forte <[email protected]>
  • Loading branch information
2 people authored and Ubuntu committed Dec 20, 2021
1 parent 27a2f89 commit 61a0402
Show file tree
Hide file tree
Showing 2 changed files with 574 additions and 0 deletions.
1 change: 1 addition & 0 deletions patches/node/.patches
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ fix_event_with_invalid_timestamp_in_trace_log.patch
test_fix_test-datetime-change-notify_after_daylight_change.patch
test_add_fixture_trim_option.patch
fix_crash_caused_by_gethostnamew_on_windows_7.patch
perf_patch_libuv_to_use_posix_spawn_on_macos.patch
Loading

0 comments on commit 61a0402

Please sign in to comment.