This is a backport PR for branch 44-x-y
codebytere

#53144: perf: start the first sandboxed window in a pre-warmed renderer

Merged
Created: Aug 24, 2026, 7:14:03 AM
Merged: Aug 24, 2026, 3:16:16 PM
1 comments
Target: 44-x-y

Backport of #53116

See that PR for details. 44-x-y lacks disableWakeLocks, the per-process sandbox-state map and the static IsSandboxed(webPreferences) helper, so those parts of the WebContentsPreferences / ElectronBrowserClient hunks were dropped; the content patch is re-exported against Chromium 152.

Notes: The first sandboxed BrowserWindow now starts in a renderer process launched ahead of time when the default session already exists, shortening the time from window creation to the page's first script; apps that open many windows can keep a spare renderer warm at all times with --enable-features=SpareRendererForSitePerProcess.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Aug 24, 2026, 6:32:43 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron