Issue metadata
Sign in to add a comment
|
Long frame times when scrolling a lot of <canvas> elements (was ok on Chrome 49)
Reported by
r...@emweb.be,
May 18 2016
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Steps to reproduce the problem: I haven't personally been able to reproduce the problem. I have however received some timelines of someone who experienced the issue: http://redmine.webtoolkit.eu/issues/4890 What is the expected behavior? What went wrong? It seems to be unrelated to the framework. The same software, when viewed on Chrome 49 or Chrome 50 performs very differently when scrolling. There are 150 ms frame times on Chrome 49, but frame times higher than one second on Chrome 50. Oddly enough, it seems that nothing is happening in this extra time. There's this grey area, but I'm not sure what that means. Did this work before? Yes Chromium 49 Chrome version: 50.0.2661.94 Channel: stable OS Version: 10 Flash Version:
,
May 20 2016
,
May 26 2016
We still require a reduction. roel@ perhaps you could connect Max with this issue as he indicated in your issue 4890 . We require some reproduction or tracing in chrome itself.
,
May 27 2016
Hi! The part of our application that produces the behaviour is not easy for me to extract in a html file. What I can do for you: 1) Provide more detailed debugging/profiling information from within chrome (developer tools) if you guide me. 2) Show the problem live on my desktop with skype+teamviewer. 3) Setup a webserver running a demo of our application and give you the steps to reproduce. Or something else if you have a better idea. Thanks in advance and best regards, Max
,
May 27 2016
Please post a trace of the application behaving badly. Maybe that will give us a hint. https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/recording-tracing-runs
,
Jun 6 2016
Hi! Please excuse the late answer. Attached is a trace of the issue. Thanks!
,
Jun 6 2016
You had many tabs open when you recorded that trace. I assume the problematic one is the "ALEX" tab? There was a lot of CPU activity from the process showing a Boston Globe article about Muhammad Ali, which may have inteferred. The stall in the "ALEX" tab is coming from ProxyImpl::ScheduledActionActivateSyncTree, so I am going to flag this as a compositor bug. It would be very helpful if you did 3) so that we can reproduce the issue on our side.
,
Jun 7 2016
Hi! Here the "cleaned" trace, without background noises. Please excuse my first one. I will prepare a test app for you to reproduce the issue and send you a description as soon as possible.
,
Jun 7 2016
Hi! The test server is reachable under: http://mail.bitfactory.at:9999/Alex 0) I made the test with a chromium window size of 1920x1080... 1) Login with user: developer, pwd: developer. 2) click first entry in "zuletzt verwendet" in left pane, must be "Mai 2016, Abgeschlossen, 1_VERKAUF PLANUNG" and wait for grid to load. 3) Scroll the grid with the scrollbar on the right side. -> slow!
,
Jun 9 2016
,
Jun 23 2016
I've included a couple of traces from my runs. It clear shows that the BeginMainFrames take like 136ms and that seems to be the cause of the slow scrolling. Removing the scrolling component as this seems to be a compositing issue.
,
Jun 28 2016
,
Jun 28 2016
,
Jun 28 2016
From the traces, it looks like this could be caused by a scheduling experiment that starts the main frame before activation. See issue 612596 . Marking as a potential blocker for issue 612596 . If you run with the --disable-main-frame-before-activation command line flag, does it improve?
,
Jun 28 2016
Hmm. I was looking at the traces in #11, but the traces in #8 look completely different. Sunny also mentioned that the scheduling experiment isn't active on the M50 branch, which this bug is filed against - so I'm unblocking issue 612596 . From the trace in #8, simply activating the pending tree takes an entire second for some of the frames. +vmpstr in case he's seen this before.
,
Aug 24 2016
Each of the canvases is being promoted to a layer, so this page has thousands of composited layers. Most of the canvases are small (e.g. 171x40, 20x20, etc.). Justin, are these small canvases meant to be composited? Did we change canvas compositing reasons between Chrome 49 and Chrome 50?
,
Aug 24 2016
,
Aug 29 2016
I think this bug justifies revising the layer promotion heuristic. I'll take it.
,
Jul 25
,
Jul 25
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by ssamanoori@chromium.org
, May 20 2016Labels: Needs-Feedback