Files
sdk/pkg/analysis_server/lib
Danny Tuppeny fb0b139358 [analysis_server] Improve performance of checking and running "dart fix"
Running the check for whether to prompt about "dart fix" in the LSP server with the whole Flutter repo open took around 45s before, and around 0.45s after. Almost all time was spent resolving libraries but now resolution is skipped for any libraries that don't contain fixable errors.

In my testing, "dart fix" (from source) didn't see any significant gains (around 46s down to around 43s for flutter/packages/flutter in my testing).

Fixes https://github.com/dart-lang/sdk/issues/52633

Change-Id: I0db63f5d54c7c262fe16aeb825f817cf526199c8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/308000
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2023-06-07 22:03:36 +00:00
..
2023-04-11 20:17:38 +00:00
2023-04-11 20:17:38 +00:00