High CPU usage on Reddit "Top scoring links" page
Reported by
khym.cha...@gmail.com,
May 23 2016
|
|||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Example URL: https://www.reddit.com/r/SubredditDrama/top/?sort=top&t=all&count=275&after=t3_31g1s5 Steps to reproduce the problem: 1. Open the given link. What is the expected behavior? After is finishes loading the page should use a small amount of CPU. What went wrong? Page uses a large amount of CPU. Does it occur on multiple sites: No Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 50.0.2661.102 Channel: stable OS Version: Fedora 23 Flash Version: Shockwave Flash 21.0 r0 This appears to be specific to the SubbreditDrama subreddit. Top links pages for other subreddits don't have this problem.
,
Jun 1 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 6 2016
i think it's because of two CSS animations on the page scroll down until you see "moderators" in the right side panel, then enable paint flashing in the dev tools (i attached a still of it) the first one (spinning teddy bear) has a text-indent value of -9999px, causing it to repaint a needlessly large area the second one (animated progress bar) just runs at 60fps all the time
,
Jul 6 2016
Thanks. Can someone from CSS help triage this? TaskManager is not the right component for pages that have high CPU usage.
,
Jul 6 2016
,
Jul 7 2016
Setting update level to quarterly since this is a non-regression issue.
,
Jul 7 2016
These animations (pointed out by #3) seem to be causing main thread repaints of the entire page. Inspecting the DevTools timeline shows 0.3ms in rendering and 1.7ms in painting every frame. It's painting 945x4047 which (based on the screenshot) is the entire page. The tile workers aren't being used at all. Hopefully one day we'll get background-position animations composited like transform and opacity...
,
Jul 7 2016
I'm not seeing anything unexpected on Linux 52.0.2743.49. Paint flashing in devtools just show repaint of the image areas, not an entire layer. Low CPU usage. Am I missing something?
,
Jul 8 2016
,
Jul 8 2016
Running Linux Chrome 52 I see 25-28% CPU usage in Chrome's task manager (animations not visible on page). I can't explain the disparity between the repaint flashes and paint profiler but I would trust that the tracing data is accurate. See above screenshot.
,
Jul 8 2016
I'll own it for a while. I'll dump the SkPictures and see what's happening.
,
Jul 9 2016
This issue has been moved once and is lower than Pri-1. Removing the milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 13 2017
Ping for schenney - is this still a valid bug?
,
Jul 14 2017
I think we WontFix this. It was a specific reddit link and may well just be expensive invalidation since we are not actually repainting. We've done a bunch of work speeding up invalidation and there's not much specific to be done for this. |
|||||||||||||
►
Sign in to add a comment |
|||||||||||||
Comment 1 by ssamanoori@chromium.org
, May 24 2016Labels: M-52 OS-Mac
Status: Untriaged (was: Unconfirmed)