flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.53k stars 313 forks source link

Inspector tree is traversed more times than necessary #7980

Open elliette opened 5 days ago

elliette commented 5 days ago

There are two methods that traverse the inspector tree:

Ideally these two methods could be combined, so that we don't have to modify our tree traversal logic in two places. Furthermore, on initial load of the tree we should build all rows in a single traversal of the tree, instead of traversing it n times.

Further optimizations: