Issue metadata
Sign in to add a comment
|
Inconsistent canvas jankiness between new browser and new tab
Reported by
andyfoul...@gmail.com,
Dec 12 2016
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 Steps to reproduce the problem: 1. Open http://www.screentoys.com/ in new browser whilst none other open. 2. Onen above in new tab. 3. Compare playback What is the expected behavior? Consistent smooth playback. What went wrong? New browser is noticeably laggy and jittery when compared to new tab or multiple browsers open. Did this work before? Yes pervious one. Chrome version: 54.0.2840.99 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 23.0 r0 I created Screentoys three years ago to take advantage of Chrome's blistering JavaScript performance and it was awarded a spot on ChromeExperiments.com and an FWA award. However in the years since I have noticed a steady decline in the smoothness of playback with each update, to the point where, since the most recent one, it is now worse than Firefox, and even IE10!
,
Dec 13 2016
Adding 'Needs-Milestone' label, TE will check the issue and update the bug with comments & tag with respective Mstone
,
Dec 14 2016
,
Dec 14 2016
andyfoulds12@, could you take some time to record a performance tracing for analysis by developers? http://dev.chromium.org/developers/how-tos/submitting-a-performance-bug describes how to record a performance log on your Chrome browser (developer tools). If you could take both (one for new-browser,new-tab and the other for multi-tab) profiles, it would be very helpful to analyze what are going on. Thanks!
,
Dec 14 2016
Couldn't repro this behavior on linux M54 (it's consistently jittery). On mac M55 and M57 I don't see any difference between a fresh chrome instance and several tabs open, however my macbook is consistently smoother. On linux we're gpu bound with massive 150ms pauses in between while on mac I see only max 10ms pauses. I cannot reproduce the behavior on a windows laptop either (M56 and M57) Looking at a timeline recording in DevTools I see 30% of the time spent in drawImage, another 5.7% in transform. Summing all those items up yields ~57% of the time spent in drawing primitives. So from a JS programming point of view this looks good, also there are very few IC-misses and very few deopts. In conclusion, this is probably not a JavaScript issue but related to rendering.
,
Dec 15 2016
cbruni@ thanks for the investigation on JavaScript side. @andyfoulds12@, still we appreciate if you could post your trace data when you encounter the sluggishness.
,
Dec 28 2016
Extending the next action date as it's holiday season.
,
Dec 30 2016
Apologies for the late reply.. away. Thanks for your attention. I'm pleased to learn that the cause is probably not my coding :) I have the jittery, laggy playback at all times as - if compared to Chrome of around the mid-thirties versions of when this site was first produced - the playback has progressively degenerated with each update until it has reached the point that the other major browsers are the same or better.
,
Jan 3 2017
,
Jan 6 2017
,
Feb 21 2017
Hi, I'm not sure why your comments got deleted, but I did get to read them via e-mail notifications. The team has just been very busy lately, but were are taking this issue seriously. It appears that the GPU rate-limiter mechanism is kicking in in situations where it should not. The problem is exacerbated on platforms with OpenGL drivers that do not support sync queries.
,
Feb 22 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9ac0ae9669662fadaf27f247d0c46d6e14e075fe commit 9ac0ae9669662fadaf27f247d0c46d6e14e075fe Author: junov <junov@chromium.org> Date: Wed Feb 22 16:03:54 2017 Simplify rate limiter logic in Canvas2DLayerBridge This CL is a follow-up to https://codereview.chromium.org/2653933003/. It refactors the rate-limiter code to make it stop using it own task observer, in favor of piggy-backing on top of the finalize frame signal BUG= 653548 , 673469 Review-Url: https://codereview.chromium.org/2700833002 Cr-Commit-Position: refs/heads/master@{#452071} [modify] https://crrev.com/9ac0ae9669662fadaf27f247d0c46d6e14e075fe/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp [modify] https://crrev.com/9ac0ae9669662fadaf27f247d0c46d6e14e075fe/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
,
Feb 22 2017
Thank you for your time. I look forward to Chrome regaining it's crown :)
,
Feb 24 2017
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by kochi@chromium.org
, Dec 13 2016