Aggressive de-layerization on low-end Android |
|||||
Issue descriptionCurrently, Blink generates the same number of layers on low-end Android and full Android. While we'll have more fine-grained control with SPV2, there may be a heavy "on-off" switch type approach we can use to reduce layers on low-end devices, under certain circumstances. It would be worth doing a finch trial to go into a "minimal-layerization" mode for sites which meet some threshold (more than 3 layers deep, anywhere?). Additionally, behavior like this could be used to mitigate memory usage on high-end machines with ultra-high-resolution monitors. See crbug.com/695427 Per chrishtr@'s comment on an email thread: The simplest thing without sacrificing correctness is to turn off accelerated fixed-position and scrolling layers. The latter I don't think will help a lot, because there isn't a whole lot of non-root scrolling going on on mobile, but not accelerating fixed-position elements will reduce layer count and layer explosion. Furthermore, we could stop triggering compositing on "3D" matrices that are not actually 3D like translateZ(0), or will-change: transform. We could also turn off accelerated canvas (which has probably already been discussed). The rest of the compositing triggers (just went through the list) are mostly needed for correctness or because of their effect on composited descendants. The correctness ones are almost all related to 3D transforms. We could also turn off those triggers, and end up with output that is drawn incorrectly/flattened in many cases.
,
Jun 1 2017
,
Jun 1 2017
>> We could also turn off accelerated canvas (which has probably already been discussed). > I think it hasn't, actually. Canvas elements are rare on the web, anyway, so it probably doesn't much matter one way or the other. junov@ looked at turning off accelerated canvas in 726462, but found that it was low savings and high performance cost. Canvas is actually more common than you think (probably due to Ads use), we estimated through UMA to be 20% of web pages.
,
Jun 2 2017
,
Jun 4 2018
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
,
Jun 4 2018
This has been investigated in other bugs. Closing this one. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by aelias@chromium.org
, May 18 2017