-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Closed
Copy link
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresdevexp-serverIssues related to some aspect of the analysis serverIssues related to some aspect of the analysis serverlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-performanceIssue relates to performance or code sizeIssue relates to performance or code size
Milestone
Description
(SDK 1.13-dev.7.0)
- Checkout project https://github.com/MikeMitterer/dart-material-design-lite. It contains 62 pubspec.yaml files of which 54 are valid and 8 are invalid (they are templates with placeholders).
- Open this project in the IDE. Analysis Server reports that it runs 'pub list-package-dirs' 62 times which is fine. Server warm up takes just 47 seconds (I guess no 3rd party packages analysis because no pub get done).
- Now run 'pub get' for all valid pubspecs (recommended to do it from the IDE)
- Close and reopen IDE
At this moment server says that 'pub list-package-dirs' was already started more than 2000 times and it already took 15 minutes. I'm killing the process as I can't wait more.
Note that if I delete malformed pubspecs from the project and restart the IDE it helps a bit. Analysis Server runs pub list 150 times in this case (still more than 54 - amount of pubspecs left) and server warms up in 4 minutes.
Metadata
Metadata
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresdevexp-serverIssues related to some aspect of the analysis serverIssues related to some aspect of the analysis serverlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-performanceIssue relates to performance or code sizeIssue relates to performance or code size