-
Notifications
You must be signed in to change notification settings - Fork 258
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
NuGet Restore + VS performance / scalability on solutions with warnings (was: corfxlab repro has some issues with Solution Open and Restore) #4617
Comments
Related: dotnet/sdk#870 ? |
I can't repro it with rc4, will try 26214 later. Restore took some time due to a lots of packages, but didn't fail or crash. |
Please see related email thread. Please also test with the 1.0->1.1 change reverted. |
Tested on rc4 and 26214, also with the 1.0->1.1 change reverted. Restore took around 8 mins for 62 projects and 211 packages. Hit this #4307 a lot |
Perf Data: When delete cache: when don't delete cache: |
I just found the repo with 1.0->1.1 change reverted(8 min) is much slower than the repo without the revert(4 min). But auto restore for the repo with 1.0->1.1 has lots of "package downgrade warning message", I think too much logging might slow down the restore |
Writing warnings to the error list and logging appears to be taking a lot of time here. I used right click Restore to test instead of auto restore. This was also with reverting the 1.0->1.1 change. With logging: With logging removed: |
Hmm, logging the Output window regressed: dotnet/project-system#1242, but it didn't look like you were logging a lot and VS didn't lock up. |
@davkean writing out warnings to the error list seems to be the main slow down that I have seen so far. |
Another reason to let us do it. :) |
We compared NuGet.exe vs AutoRestore vs Solution Restore. First Major Issue: Logging Which Requires UI Thread Second Major Issue: Auto Restore Retry
Third Major Issue: SolutionRestore UI Unresponsiveness
We’re attacking the Logging issue first. And then we’ll see perf/ux in the different scenarios… |
Fixed in 4.4.0 through several performance improvements. |
see internal bug 384909.
There was a recent change in the repo to move to netcorapp 1.1 from 1.0 -- and it made it better.
Other fixes in 26214.xx may have also made it better.
Let's try to repro to understand how bad it was and ensure we understand what still happens.
The text was updated successfully, but these errors were encountered: