New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692588 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Poor SVG performance on Android

Project Member Reported by jakearchibald@chromium.org, Feb 15 2017

Issue description

http://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.
 

Comment 1 by pdr@chromium.org, Feb 15 2017

Labels: -Pri-3 Pri-2
Looks like we are swamped in the commit. Possibly we are not clipping properly?
trace_trace.json
4.1 MB View Download
Components: -Blink>SVG -Blink>Paint Internals>Compositing
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?
Components: -Internals>Compositing Internals>Compositing>Rasterization
Cc: senorblanco@chromium.org
Owner: senorblanco@chromium.org
Status: Assigned (was: Untriaged)
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.
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?

Comment 6 by rwur...@gmail.com, Feb 16 2017

I added this feature to Canary and all my GIFS in Twitter look like the attached
Capture.PNG
270 KB View Download
ping for senorblanco - can we make progress here?
Cc: sunn...@chromium.org vmi...@chromium.org
Status: Available (was: Assigned)
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.
Owner: ----
Project Member

Comment 10 by sheriffbot@chromium.org, Aug 22

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Owner: senorblanco@chromium.org
Status: Assigned (was: Untriaged)
Assigning this to senorblanco to triage/investigate/WontFix.

Sign in to add a comment