Bug 159597 - Perf dashboard can consume 50-70% of CPU on MacBook even if user is not interacting at all
Summary: Perf dashboard can consume 50-70% of CPU on MacBook even if user is not inter...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Perf Dashboard (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-08 23:31 PDT by Ryosuke Niwa
Modified: 2016-07-09 15:59 PDT (History)
8 users (show)

See Also:


Attachments
Fixes the bug (20.62 KB, patch)
2016-07-08 23:49 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Use Set for render queue (20.62 KB, patch)
2016-07-08 23:53 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2016-07-08 23:31:21 PDT
Apparently continuously polling on requestAnimationFrame isn't great for battery life :(
Comment 1 Ryosuke Niwa 2016-07-08 23:49:33 PDT
Created attachment 283247 [details]
Fixes the bug
Comment 2 Ryosuke Niwa 2016-07-08 23:53:34 PDT
Created attachment 283248 [details]
Use Set for render queue
Comment 3 Chris Dumez 2016-07-09 08:17:54 PDT
Comment on attachment 283248 [details]
Use Set for render queue

rs=me
Comment 4 WebKit Commit Bot 2016-07-09 15:59:36 PDT
Comment on attachment 283248 [details]
Use Set for render queue

Clearing flags on attachment: 283248

Committed r203035: <http://trac.webkit.org/changeset/203035>
Comment 5 WebKit Commit Bot 2016-07-09 15:59:43 PDT
All reviewed patches have been landed.  Closing bug.