-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Mac] Implement App Nap behaviour for background renderers"
This reverts commit ac1cbbb. Reason for revert: Failing tests: referrer-policy-mismatch.html external/wpt/speculation-rules/prerender/referrer-policy-mismatch.html https://ci.chromium.org/ui/p/chromium/builders/ci/Mac13%20Tests/2874/blamelist Original change's description: > [Mac] Implement App Nap behaviour for background renderers > > With App Nap, sleeping processes are blocked from using too much of > the system's resources. Under the hood, this is achieved by applying > a suppression policy to the processes. > > With this change, background renderers will have that same suppression > policy applied to them, which should have a significant effect on the > performance of other processes. > > Another consequence of App Nap is that the OS gives that process a > default task role of TASK_FOREGROUND_APPLICATION, and its QoS > settings are set to tier 0. > > Thus this CL also updates the `SetCurrentTaskDefaultRole` function to > apply the same default values to each child process. (The browser > process already has those settings applied by the OS). > > This change only affect MacOS. > > Bug: 1466479 > Change-Id: I156606714f586774ec1a9615358a2627c87f6763 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4788107 > Reviewed-by: Mark Mentovai <mark@chromium.org> > Commit-Queue: Patrick Monette <pmonette@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1185246} Bug: 1466479 Change-Id: Iaff6cc39fa715714f370c188b57f7720db892b07 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4794455 Commit-Queue: Solomon Kinard <solomonkinard@google.com> Owners-Override: Solomon Kinard <solomonkinard@google.com> Auto-Submit: Solomon Kinard <solomonkinard@chromium.org> Reviewed-by: Patrick Monette <pmonette@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1185414}
- Loading branch information
1 parent
6dcf5f6
commit c2228fa
Showing
2 changed files
with
56 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters