flutter / flutter/devtools

optimize `_updateLocalClasses` in Inspector Service

Open
#4,393 1 comment 0 reactions 0 assignees View on GitHub
P3
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.