Skip to content

fetching packages is slow, versions are being listed sequentially #2147

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

Closed
jonasfj opened this issue Jun 11, 2019 · 1 comment
Closed

fetching packages is slow, versions are being listed sequentially #2147

jonasfj opened this issue Jun 11, 2019 · 1 comment
Labels
P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@jonasfj
Copy link
Member

jonasfj commented Jun 11, 2019

When pub get runs it fetches the list of versions for each package it needs.
When fetching the list of versions available for a given package, the constraint solving is paused, this all such requests are made sequentially.

We should be able to do this concurrently, at-least for all the dependencies within a given pubspec.

This would increase performance significantly.

@jonasfj jonasfj added type-enhancement A request for a change that isn't a bug low priority labels Jun 11, 2019
@jonasfj
Copy link
Member Author

jonasfj commented Feb 24, 2020

We fixed this in #2280

@jonasfj jonasfj closed this as completed Feb 24, 2020
@sigurdm sigurdm added P3 A lower priority bug or feature request and removed low priority labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants