Poor SVG performance on Android |
||||||||
Issue descriptionhttp://output.jsbin.com/xeveval/quiet - a little test which scales an <img> pointing to an SVG. Performance on Android is alarmingly slow compared to other devices, and Firefox on the same device. At larger sizes we take >1s to paint whereas other browsers do it within 16ms. Results: https://docs.google.com/spreadsheets/d/11zeChJSgO3MFmhXW-Hrs8xQvjWr7gySGDtCnf3h7V1c/edit#gid=0 We seem equally slow with inline SVG.
,
Feb 15 2017
The timing results are consistent with re-rastering or otherwise doing per-pixel work on the Pixel, but not on any other platforms. Is there something special about the Pixel GPU?
,
Feb 15 2017
,
Feb 15 2017
Raster is slow on this example because it triggers the ganesh veto, due to complex path rendering. There is a plan to be able to get rid of this veto in about a quarter, with a new algorithm by senorblanco@. You can test by forcing on GPU raster for all layers in about:flags.
,
Feb 16 2017
I've added the results for the same device with GPU forced. Much better, but still slower than Firefox on the same device. Also, the second demo on http://output.jsbin.com/xeveval/quiet, which is scaling within an overflow:auto container is significantly slower. I guess we can't clip as much here?
,
Feb 16 2017
I added this feature to Canary and all my GIFS in Twitter look like the attached
,
Aug 21 2017
ping for senorblanco - can we make progress here?
,
Aug 22 2017
The Ganesh veto-to-software is gone as of M60. I do have some plans to improve non-MSAA performance, but I don't have further work planned for the MSAA path (which is likely what Pixel is using here). I suspect we're blocked on something other than path rasterization, although a trace would be helpful.
,
Aug 22 2017
,
Aug 22
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 22
Assigning this to senorblanco to triage/investigate/WontFix. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by pdr@chromium.org
, Feb 15 20174.1 MB
4.1 MB View Download