flutter / flutter/devtools

optimize `_updateLocalClasses` in Inspector Service

未关闭
#4,393 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P3
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

_updateLocalClasses fetches each of the objects individually. This causes a performance bottleneck on pub root directory change.
If this class ends up being needed, the we will need to find a call that batches the request, to avoid overloading the vm with rpc calls.

**NOTE:** `isLocalClass` may not be hooked up to the fronted properly yet. So doing this optimization may not be needed until that is accomplished

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。