flutter / flutter/devtools

optimize `_updateLocalClasses` in Inspector Service

Offen
#4,393 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
P3
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

_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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.