Issue metadata
Sign in to add a comment
|
Performance issue: d3 svg rendering regression
Reported by
rjmcn...@mtu.edu,
Mar 16 2016
|
||||||||||||||||||||||||
Issue descriptionChrome Version : 48.0.2564.103 (64-bit) vs 49.0.2623.87 (64-bit) Operating System and Version: OSX 10.9.5 URLs (if applicable) : http://jsfiddle.net/x3xp7yt1/6/ Description of performance problem: I'm noticing a regression in how svgs are rendered, specifically an svg created by d3 with zooming / panning functionality, but I doubt it matters how the svg was created. See the following jsfiddle: http://jsfiddle.net/x3xp7yt1/6/. 100 "nodes" are added with some random text via d3. Panning and zooming on the 48 version is very smooth, whereas panning and zooming on the 49 version is very choppy and slow. See the attached videos, I tried to perform roughly the same actions. I've also attached performance traces where I did roughly the same actions on both chrome versions. If needed, I can cut back the example and remove the use of d3 (since I suspect the regression is all about how svgs get rendered). I left the use of d3 in because it allows panning / zooming which makes the regression easier to notice. Increasing the length of the text in each node enhances the regression. Thanks!
,
Mar 17 2016
,
Mar 17 2016
I'm getting separate reports of this from a partner, and it turns their experience from smooth to ~10fps on Chrome for Android.
,
Mar 17 2016
The cause is almost certainly https://chromium.googlesource.com/chromium/src/+/fa7fc32c5940dfd3d734ed3231b1295da4c3303e (complex text). Sending to pdr, as I think this is a dup of the other bugs he's working on.
,
Mar 17 2016
Discussion offline and comments here indicate we should likely get this fixed in an M49 respin. Tagging as a stable blocker there.
,
Mar 17 2016
,
Mar 17 2016
,
Mar 17 2016
Thanks for taking the time to file this rjmcnama@mtu.edu. This is indeed https://crbug.com/589525 ( https://crbug.com/589525#c23 is the tl;dr). I will be merging a partial fix for this into M49 today.
,
Mar 17 2016
Thanks! Which chrome release will this be getting in to? The next 49 one?
,
Mar 18 2016
This will be in the next M49 push but it's hard to say a concrete date because they don't all go out at once. This is only a partial fix unfortunately. It knocks the constant factor down but we will still have quadratic behavior until M51. If have a real page affected by this bug, I'd love to hear if it is any better or worse next week (please reply in https://crbug.com/589525 ). I'll include your feedback in deciding what to do for M50 (currently beta).
,
Mar 19 2016
There's been a performance regression on https://jakearchibald.github.io/svgomg/ too, is this the same issue? (go to the demo image and zoom in)
,
Mar 19 2016
@jakearchibald, I think that is a separate issue :'( I've filed a new bug at https://crbug.com/596253. If you have any additional info, please add it to the bug.
,
Mar 23 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by rnimmagadda@chromium.org
, Mar 17 2016Components: Blink>Rendering
Labels: -Type-Bug M-50 OS-Linux OS-Mac OS-Windows Type-Bug-Regression
Owner: dcheng@chromium.org
Status: Assigned (was: Unconfirmed)