-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Tracking] Overhead of SDK build targets is too high for design-time builds #1496
Comments
This was referenced Aug 16, 2017
Open
This was referenced Aug 16, 2017
This was referenced Sep 1, 2017
Closing because #2100 tracks the main issue remaining for design-time builds. |
mmitche
added a commit
to mmitche/sdk
that referenced
this issue
Jun 5, 2020
Merge from release/5.0.1xx-preview6
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jun 7, 2022
Merging master into Release/2.1
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jul 11, 2022
Merging master into Release/2.1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've got a customer that has a large 91 project solution mixing legacy and new project system targeting .NET Standard 2.0 and .NET Framework and is suffering from huge performance problems including long solution loads, and UI delays when making changes to a project, unloading projects, after building, and switching configurations after moving from tranditional .NET Framework projects.
Investigating these issues, the performance issues they are experiencing all boil down to slow design-time builds. Even after turning off globbing support (which almost doubled build time), the overhead of .NET Standard/.NET Core targets is very high, and appears to have increased significantly in 2.0 vs 1.1.
Below I grabbed his solution and attempted to run just CompileDesignTime for the entire solution - this simply is supposed to return command-line arguments so that we can populate intellisense, all of below occurs to do that:
This does not include:
2434 ms_GetProjectReferenceTargetFrameworkProperties654 callsdotnet/msbuild#1276dotnet/msbuild#2440, https://github.com/dotnet/core-setup/issues/3297I believe 130ms of this is #1483dotnet/msbuild#2276dotnet/msbuild#244217 msGetInstalledSDKLocationsdotnet/msbuild#2443GenerateBindingRedirectsdotnet/msbuild#2441Some of these are built-in targets, some of these are new SDK targets, I've tried to mark them as appropriate and any bugs tracking their performance.
The text was updated successfully, but these errors were encountered: