Crummy web site chewing CPU and battery on macOS (but not Windows?) |
|||
Issue description54.0.2829.0 (Official Build) canary (64-bit) on macOS 54.0.2829.0 (Official Build) canary (64-bit) on Win10 http://www.labradortraininghq.com/labrador-training/how-to-crate-train-a-puppy/#How_Long_DoesIt_Take_To_Crate_Train_A_Puppy This site uses an eensy bit of CPU on my Windows machine. On my corp 8 core MBP, it's using 50-90 "CPU" in Chrome's Task Manager. On my personal 2 core MBP, it regularly hits 100, which I guess means it's burning one of my only two cores. Almost anything else I do on the machine makes the fans whip into high gear. I don't know what the page is doing, but it seems wrong that it should drain my battery and melt my machine. Can we do better? I have no idea who would be appropriate to investigate. pinkerton: sending to you for little reason; please forward as desired. Thanks.
,
Aug 17 2016
Forgot to mention: I think (but am not certain) that the tab takes more CPU after it has been open for some time. I noticed this site when trying to figure out why my machine was hot: another user account had this tab open. CPU usage went down after I switched to that account and reloaded the page. The following day, CPU usage was back up to 100% for the tab. There were multiple sleep/wake cycles during this time. Just mentioning it in case it's somehow relevant.
,
Aug 19 2016
I let the page run for a while on both Chrome and Safari. Safari had about half of Chrome's CPU usage.
,
Aug 19 2016
Recorded the site for future replay, in case it changes. Confirmed that the saved site still exhibits same problems.
,
Aug 31 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9c3c0a38de1c83ac9e6a9f683bad1291e12e2885 commit 9c3c0a38de1c83ac9e6a9f683bad1291e12e2885 Author: erikchen <erikchen@chromium.org> Date: Wed Aug 31 16:31:07 2016 Add a new benchmark for cpu power measurements on steady state sites. The site in question is known to have high CPU usage, even though there appears to be no visual changes to the site. BUG= 640398 , 638365 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.perf:android_s5_perf_cq;master.tryserver.chromium.perf:linux_perf_cq;master.tryserver.chromium.perf:mac_retina_perf_cq;master.tryserver.chromium.perf:winx64_10_perf_cq Review-Url: https://codereview.chromium.org/2271793003 Cr-Commit-Position: refs/heads/master@{#415654} [modify] https://crrev.com/9c3c0a38de1c83ac9e6a9f683bad1291e12e2885/tools/perf/benchmarks/power.py [add] https://crrev.com/9c3c0a38de1c83ac9e6a9f683bad1291e12e2885/tools/perf/page_sets/data/idle_after_loading_stories.json [add] https://crrev.com/9c3c0a38de1c83ac9e6a9f683bad1291e12e2885/tools/perf/page_sets/data/idle_after_loading_stories_001.wpr.sha1 [add] https://crrev.com/9c3c0a38de1c83ac9e6a9f683bad1291e12e2885/tools/perf/page_sets/idle_after_loading_stories.py
,
Sep 1 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6380c710d7ee2d6739e563d2957fc7475d663f70 commit 6380c710d7ee2d6739e563d2957fc7475d663f70 Author: rnephew <rnephew@chromium.org> Date: Thu Sep 01 01:17:59 2016 [BattOr] Add mac BattOr test for steady state cases. BUG= 640398 , 638365 , 639308 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.perf:android_s5_perf_cq;master.tryserver.chromium.perf:linux_perf_cq;master.tryserver.chromium.perf:mac_retina_perf_cq;master.tryserver.chromium.perf:winx64_10_perf_cq Review-Url: https://codereview.chromium.org/2301653002 Cr-Commit-Position: refs/heads/master@{#415832} [modify] https://crrev.com/6380c710d7ee2d6739e563d2957fc7475d663f70/tools/perf/benchmarks/battor.py [modify] https://crrev.com/6380c710d7ee2d6739e563d2957fc7475d663f70/tools/perf/page_sets/idle_after_loading_stories.py
,
Sep 1 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6380c710d7ee2d6739e563d2957fc7475d663f70 commit 6380c710d7ee2d6739e563d2957fc7475d663f70 Author: rnephew <rnephew@chromium.org> Date: Thu Sep 01 01:17:59 2016 [BattOr] Add mac BattOr test for steady state cases. BUG= 640398 , 638365 , 639308 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.perf:android_s5_perf_cq;master.tryserver.chromium.perf:linux_perf_cq;master.tryserver.chromium.perf:mac_retina_perf_cq;master.tryserver.chromium.perf:winx64_10_perf_cq Review-Url: https://codereview.chromium.org/2301653002 Cr-Commit-Position: refs/heads/master@{#415832} [modify] https://crrev.com/6380c710d7ee2d6739e563d2957fc7475d663f70/tools/perf/benchmarks/battor.py [modify] https://crrev.com/6380c710d7ee2d6739e563d2957fc7475d663f70/tools/perf/page_sets/idle_after_loading_stories.py
,
Sep 14 2016
+shrike
,
Sep 18 2016
erikchen@ - have you had a chance to look into this? I'm just wondering what Chrome or JavaScript tracing show to be the issue.
,
Sep 19 2016
Not yet, but it's on the list.
,
Nov 10 2016
There's nothing to be done for this bug. The excessive CPU usage is caused by ads which do not load deterministically under WPR. There's no way to guarantee the same ads play in Safari and Chrome, which also means there's no way to determine what we should be fixing [if anything] in Chrome. When I open the live site in both Chrome and Safari, sometimes Chrome uses more CPU, sometimes Safari uses more CPU. Sorry, but I don't think further investigation into this issue is worthwhile. See https://docs.google.com/document/d/1YVO9FGRBF1RUsedU28H6P8lt9bDpOci0vi0CLSkFih8/edit#heading=h.yifmz8ib67c8 for more details. |
|||
►
Sign in to add a comment |
|||
Comment 1 by erikc...@chromium.org
, Aug 16 2016Labels: -Pri-2 Pri-1
Owner: erikc...@chromium.org
Status: Assigned (was: Untriaged)