Forbes, Politico very Janky and consuming a lot of CPU/Power on Mac Pro |
|||||||||
Issue descriptionVersion: 51.0.2702.0 (Official Build) canary (64-bit) (also seen on 48 stable) OS: OS X 10.11.3 What steps will reproduce the problem? (1) Load http://www.politico.com/magazine/story/2016/04/donald-trump-2016-silvio-berlusconi-italy-213797 on a Mac Pro (trashcan design) (2) Scroll the page What is the expected output? Smooth scrolling What do you see instead? A fair number of bad janks. Please use labels and text to provide additional information. Trace attached. (Taken from Canary). My very naive skim of the trace leads me to believe it's something about synchronous communication with a flash ad? Safari doesn't have the same problem on my machine (I don't have Flash installed, so Safari doesn't load the ad).
,
Apr 8 2016
I just reloaded the page again and still see the same issue. So it seems to be pretty reproducible (at least right now).
,
Apr 8 2016
Also, if you leave the tab open for awhile and then come back, the page gets REALLY janky.
,
May 10 2016
This problem still happens. If you remove the <object> element the jank immediately disappears.
,
May 27 2016
Similar issue it seems on Forbes: CPU spike, fan spinning (even after the Flash video disappears).
,
May 27 2016
,
May 27 2016
How can we tell who's causing the issue here: Chrome, Flash, Forbes, the ad network?
,
May 30 2016
Adding some additional folks to the issue, who maybe able to advise on how best to diagnose.
,
May 31 2016
It just occurred to me: I have "Plugins" set to the default "Detect and run important plugin content". Shouldn't that have meant that these ads causing the performance problem shouldn't have run? Or are they small one that are exempted?
,
May 31 2016
Looking at the Flash content that's getting loaded (using Flash Control), I have a feeling PPS Tiny might be the correct intervention for this site... this is a pretty good case study in pixel tracking. --enable-features=BlockSmallPluginContent Even with that feature enabled, I'm still seeing some content peeking in.
,
Jun 10 2016
I've started a deep dive [1], here is what I've found so far: 1. Hammered CPU: several third parties doing viewability without IntersectionObserver [2] 2. Hammered CPU: some over-triggering third party code 3. Scroll jankiness: at least one third party is using a wheel event handler, the generic recommendation is to consider Passive Event Listeners. However, the third party use case being viewability, the better recommendation is IntersectionObserver. IntersectionObserver is the right answer to 1. and 3. I'm getting in touch with the relevant stakeholders. For 2: a. the upcoming intervention to throttle timers of offscreen frames might help provided that the culprits are in sub frames ( issue 616519 ). b. regardless of the intervention noted above, this doesn't feel like a sane behavior so I've reached out to the owners of that code. [1]: https://docs.google.com/presentation/d/1172haFf9Aw8Abpyxgx9cpTs8cXQFBvP_GCjXRDruv4Y/edit#slide=id.p [2]: http://blog.chromium.org/2016/05/new-apis-to-help-developers-improve.html
,
Jul 11 2016
Forbes and Politico are also impacted by issue 626202 (triggered by an increasingly janky scroll on AndroidAuthority), in particular the findings in comment #14 to #17.
,
Apr 5 2017
Probably not much additional insights, closing. |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by rsch...@chromium.org
, Apr 7 2016Labels: -Pri-3 Pri-2