-
Notifications
You must be signed in to change notification settings - Fork 29.7k
re-write flutter analyze to use the analysis server #16979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…the analysis server
|
an update: I'll plan to re-run benchmark numbers locally, and get a better sense of the current performance characteristics |
|
Here's the latest - a comparison between flutter at head and this PR, run locally on my machine: current:flutter analyze --flutter-repo
flutter analyze (DartConf / conference_app)
flutter analyze --flutter-repo switching branches (31156ae 4f31a3f 9e0a610)
refactor PR:flutter analyze --flutter-repo
flutter analyze (DartConf)
flutter analyze --flutter-repo modifying core files, w/o clearing the analysis cache
flutter analyze --flutter-repo, few files changed, w/o clearing the analysis cache
flutter analyze (DartConf / conference_app), few files changed, w/o clearing the analysis cache
Overall:
I think the net-net is that we'll regress the times for cold analysis for the flutter repo and for project (and what a CI would see), but substantially increase 2nd and later analysis times for the flutter repo and for user projects, and not regress analysis times for switching between branches when working on the flutter repo itself. |
|
LGTM |
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
|
the dartdocs benchmark went crazy right on this commit. |
|
OK, thanks for the heads up. I'm OOO this week, but will take a look when I'm back. |
This is a redux of #16281
flutter analyze --flutter-repouse case faster in the upstream analysis server from the dart sdk, and have some more optimizations we're working on to do with the architecture of lints