Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: libuv patches to address child_process.spawn slowness #33337

Merged
merged 2 commits into from Mar 23, 2022
Merged

Conversation

nornagon
Copy link
Member

Description of Change

Closes #26143.

This backports six PRs from libuv 1.44.1 to fix slow child_process spawning
behavior on macOS Big Sur and later.

libuv references:

Checklist

Release Notes

Notes: Fixed slowness when using child_process.spawn and related methods on macOS Big Sur and newer.

@nornagon nornagon requested review from a team as code owners March 18, 2022 18:40
@nornagon nornagon added semver/patch backwards-compatible bug fixes target/15-x-y labels Mar 18, 2022
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Mar 18, 2022
Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking to avoid accidental merge.

@deepak1556
Copy link
Member

Failing tests are unrelated, merging.

@deepak1556 deepak1556 merged commit f912130 into main Mar 23, 2022
@deepak1556 deepak1556 deleted the patch-libuv branch March 23, 2022 13:30
@release-clerk
Copy link

release-clerk bot commented Mar 23, 2022

Release Notes Persisted

Fixed slowness when using child_process.spawn and related methods on macOS Big Sur and newer.

@trop
Copy link
Contributor

trop bot commented Mar 23, 2022

I have automatically backported this PR to "16-x-y", please check out #33405

@trop
Copy link
Contributor

trop bot commented Mar 23, 2022

I have automatically backported this PR to "15-x-y", please check out #33406

@trop trop bot removed the target/16-x-y label Mar 23, 2022
@trop
Copy link
Contributor

trop bot commented Mar 23, 2022

I have automatically backported this PR to "18-x-y", please check out #33407

@trop
Copy link
Contributor

trop bot commented Mar 23, 2022

I have automatically backported this PR to "17-x-y", please check out #33408

bavulapati pushed a commit to bavulapati/electron that referenced this pull request Apr 29, 2022
…33337)

* fix: libuv patches to address child_process.spawn slowness

* chore: backport additional patches

Co-authored-by: deepak1556 <hop2deep@gmail.com>
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
…33337)

* fix: libuv patches to address child_process.spawn slowness

* chore: backport additional patches

Co-authored-by: deepak1556 <hop2deep@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

child_process spawn locks up renderer for 300 - 3000ms on signed app on macOS Big Sur
3 participants