Issues leading to rebuilding more of the RenderObject and Layer trees than necessary #61651
Labels
c: performance
Relates to speed or footprint issues (see "perf:" labels)
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
perf: speed
Performance issues related to (mostly rendering) speed
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Flutter consists of a number of levels of trees (as described in the Mahogany Staircase talk). When a change is made to the Widget tree, those changes must be propagated into the Element, RenderObject, and Layer trees. Each level has code that attempts to reuse parts of the lower level trees on each pass to minimize the work. Unfortunately, there is still a lot of rebuilding going on for some simple changes to a tree, and a fair bit of developer involvement in minimizing the effect in their apps. In particular:
These are some of the issues discovered while attempting to minimize repaints at the engine level (see #33939) and represent areas where we could achieve better efficiency both for minimizing the work done at the framework level when a widget changes and, by extension, the work needed to repaint the scene.
The text was updated successfully, but these errors were encountered: