Bug 170460

Summary: Tweak how long we allow a process to go over its background CPU limit
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, ggaren, kling, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2017-04-04 11:18:42 PDT
Tweak how long we allow a process to go over its background CPU limit. We currently use a conservative 15 minutes but we should probably use something lower to prevent unnecessary battery drain.
Comment 1 Radar WebKit Bug Importer 2017-04-04 11:44:27 PDT
<rdar://problem/31433141>
Comment 2 Chris Dumez 2017-05-01 08:42:20 PDT
Created attachment 308721 [details]
Patch
Comment 3 Geoffrey Garen 2017-05-01 10:38:49 PDT
Comment on attachment 308721 [details]
Patch

r=me

What methodology are we going to use to evaluate these limits? Do we keeps statistics on aggregate kills, or on aggregate battery usage in the field?
Comment 4 WebKit Commit Bot 2017-05-01 11:09:55 PDT
Comment on attachment 308721 [details]
Patch

Clearing flags on attachment: 308721

Committed r216020: <http://trac.webkit.org/changeset/216020>
Comment 5 WebKit Commit Bot 2017-05-01 11:09:56 PDT
All reviewed patches have been landed.  Closing bug.