Bug 256607 - [macOS] When a background WebProcess uses too much CPU in the background, suspend it
Summary: [macOS] When a background WebProcess uses too much CPU in the background, sus...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-10 12:59 PDT by Chris Dumez
Modified: 2023-05-10 16:32 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-05-10 12:59:38 PDT
When a background WebProcess uses too much CPU in the background, suspend it when process suspension is enabled. We would previously terminate the process which is not as user-friendly and unnecessary when we can suspend to process to stop it from using CPU.
Comment 1 Chris Dumez 2023-05-10 13:03:20 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13712
Comment 2 EWS 2023-05-10 16:31:13 PDT
Committed 263937@main (55f474a36d80): <https://commits.webkit.org/263937@main>

Reviewed commits have been landed. Closing PR #13712 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-05-10 16:32:20 PDT
<rdar://problem/109178181>