"edit.getFixes"/"edit.getAssists" can be slow and called a lot by IntelliJ/Android Studio #60292
Labels
area-devexp
Developer experience items (DevTools, IDEs, analysis server, completions, refactorings, ...).
model-performance
Performance/memory issues in analyzer/cfe
type-performance
Issue relates to performance or code size
There are multiple performance issues coming up in #55281 which makes it a bit hard to track them (and their solutions), so I'm adding sub-issues for some individual issues that have been identified.
One issue is that IntelliJ/Android Studio can call
edit.getFixes
andedit.getAssists
quite frequently, and sometimes these requests can be slow and back the server up.@jensjoha added some notes about this at #55281 (comment) and has added some debouncing at https://dart-review.googlesource.com/c/sdk/+/413682, however I think this request is also taking too long and it might be that the client should also have some delay/debouncing to avoid so many requests while typing?
An example of how this appears in the diagnostic repo can be found attached to #55281 (comment), which contains slow requests like below (notice they appear to be taking around 500ms each and being sent repeatedly at around the same interval):
The text was updated successfully, but these errors were encountered: