flutter / flutter/devtools

optimize `_updateLocalClasses` in Inspector Service

Ouverte
#4,393 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
P3
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

_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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.