Skip to content
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

[DCR]: Nuget updates need to be much faster #11586

Open
lukos opened this issue Feb 11, 2022 · 2 comments
Open

[DCR]: Nuget updates need to be much faster #11586

lukos opened this issue Feb 11, 2022 · 2 comments
Labels
Area:HttpCaching http caching by all tools Area:HttpCommunication Functionality:VisualStudioUI Priority:2 Issues for the current backlog. Tenet:Performance Performance issues Type:DCR Design Change Request

Comments

@lukos
Copy link

lukos commented Feb 11, 2022

NuGet Product(s) Affected

Visual Studio Package Management UI

Current Behavior

When you use the update functionality for nuget, the UI makes hundreds and hundreds of web calls to api.nuget.org which can take 10 seconds+ just to bring up the page. If you choose something to update and click install, it can take another 10 seconds+ to work out what it is going to install. Once it has installed (which is relatively quick usually), it then reloads the page by making hundreds more requests.

Rinse and repeat, especially if things fail for dependency reasons and it can easily take an hour just to update a handful of libraries in a project with around 100 nuget dependencies. (This is netfx)

Moving between tabs, it reloads everything again.

Desired Behavior

This behaviour should be massively cached. Existing versions of nugets are very unlikely to change so the data can be cached locally on the machine. It should not reload when moving between tabs, if it has already worked out what updates are available, then moving to the updates tab should be instant.

Additional Context

No response

@kartheekp-ms
Copy link
Contributor

Related - #8058

@erdembayar
Copy link
Contributor

@nkolev92 nkolev92 added Priority:2 Issues for the current backlog. and removed Triage:NeedsTriageDiscussion Functionality:Update The update package feature/command/experience labels Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:HttpCaching http caching by all tools Area:HttpCommunication Functionality:VisualStudioUI Priority:2 Issues for the current backlog. Tenet:Performance Performance issues Type:DCR Design Change Request
Projects
None yet
Development

No branches or pull requests

5 participants