-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve server performance by decreasing the number of Analysis context's created #53874
Comments
Okie doke, P1 issue, any recent updates? |
The monorepo work in the analyzer has landed and awaiting the pub work to be done so that it can be tested. Pub work is tracked in dart-lang/pub/#4127 |
Any updates? |
Context work is still in progress. There are some bot failures I'm still trying to reproduce under test (#54858). |
Any updates? |
We're wating for https://dart-review.googlesource.com/c/sdk/+/362442 to fully make it through a flutter roll before we can turn on multi-option contexts (see #55413). |
22da6ed flips the bit for multi-option contexts, but we've reverted related changes twice so I think we want to let it bake for a few more days at least before declaring victory. |
Any progress? I know that we're waiting for @keertip to test the monorepo support, but I believe the analysis options work is done. Is that correct? |
Yep. I think the analysis options work is done. |
We have seen the analysis server consume large memory such that it is rendered unusable.
#52447
#41793
Reducing the number of
AnalysisContext
's creates and used when analyzing user code will result in improvement of performance and memory usage.Two arcs of work have been identified as a way to reduce the number of contexts
The text was updated successfully, but these errors were encountered: