Issue metadata
Sign in to add a comment
|
Severe performance drop in Canvas based application
Reported by
boczu...@goodgamestudios.com,
Sep 7
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce the problem: In two applications that our team is developing we noticed severe performance drops after updating to Chrome 69. Due to legal reasons I can't provide a link to any of them (it will be provided to the Chrome team via a private channel). It seems like drawing operations on a Canvas DOM element are a lot slower in Chrome 69. What is the expected behavior? Performance is on par with previous versions of Chrome. What went wrong? FPS ratio in both our applications is reduced by a large factor (it drops from 60 FPS to 20 FPS when switching from Chrome 68 to Chrome 69). Did this work before? Yes 68 and previous Does this work in other browsers? Yes Chrome version: 69.0.3497.81 Channel: stable OS Version: 10.0.16299 Flash Version: We narrowed down the revision range that is causing performance problems by using the bisect tool to: https://chromium.googlesource.com/chromium/src/+log/d74ed58a4e15bee655a1b3398a7b1c8046f8d39e..739049871256fb512841d91a0b8142d695c35546 This is the commit that we suspect of introducing the performance drop: https://chromium.googlesource.com/chromium/src/+/79531c77e491dc9536c985d6c4f5dcd8c6bb48b8
,
Sep 7
We're cutting RC today for M69 respin next week, pls take a look at this ASAP. Thank you.
,
Sep 7
Seems like junov@ is no longer working on chrome, fserb@ is OOO. zmo@, could you ptal ASAP?
,
Sep 7
In theory that CL was supposed to be pure refactoring and should not have produced any noticeable changes in behavior or performance (at least not intentionally) I am not set up for working on Chrome anymore, but if someone can capture traces from before vs after the the suspected CL and attach them to this bug, I'd be glad to take a look at them.
,
Sep 7
Hey Ken/ Victor, any suggestions?
,
Sep 7
,
Sep 7
We should check how this looks after Sunny's fix for Issue 880901 . My understanding is the regression ranges don't overlap, but it may be that they have similar root causes.
,
Sep 7
Reporter: Could you please check if the regression can be reproduced on the latest Canary build? The regression sounds similar to Issue 880620 , which seems to have recovered on Canary.
,
Sep 7
I'm not able to reproduce this locally with the test case the customer provided offline. On macOS the framerate on Stable and Canary is the same (60 FPS). On Windows with 69.0.3497.81 (Official Build) (64-bit) (cohort: 69_win_81) it gets 60 FPS. On Windows with 71.0.3545.1 (Official Build) canary-dcheck (32-bit) (cohort: ASAN) the test case also gets 60 FPS. In all cases the test case is reporting: "Alert: The connection to the server was interrupted. Please try to reconnect." But the intro screen claims to be rendering at 60 FPS regardless. about:gpu from Chrome Stable on my Windows workstation attached. zmo@ is out right now so let me reassign this to Sunny because he has a good fix for other canvas based apps.
,
Sep 10
Great news – Sunny's fixes for Issue 880901 in particular have fixed this regression. Just tested the not-yet-released 69.0.3497.91, and the game is back to full speed (~53 FPS on my late 2013 MacBook Pro with NVIDIA discrete GPU). Duplicating this into the other issue.
,
Sep 10
Hmm. I think I duplicated this into the wrong issue; not sure the fix for Issue 880901 has been merged back to Chrome 69 yet. However, the recent Chrome 69 build does run at full speed. Let me investigate further.
,
Sep 10
Confirmed that Chrome 69.0.3497.81 is slow and 69.0.3497.91 is fast with the customer's test case. This is a duplicate of Issue 872117 .
,
Sep 11
Good news: 69.0.3497.92 is now available with the fix on Chrome Stable. You can force an update by visiting chrome://chrome. Thank you. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by lafo...@chromium.org
, Sep 7Labels: -Pri-2 M-69 ReleaseBlock-Stable Pri-1
Owner: junov@chromium.org
Status: Assigned (was: Unconfirmed)