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

.NET: building the BlazorWeather app is slow #11886

Closed
rolfbjarne opened this issue Jun 10, 2021 · 1 comment
Closed

.NET: building the BlazorWeather app is slow #11886

rolfbjarne opened this issue Jun 10, 2021 · 1 comment
Labels
bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6)
Milestone

Comments

@rolfbjarne
Copy link
Member

Repro:

For me, the linker takes ~20 seconds:

      489 ms  Csc                                        3 calls
     1073 ms  ACTool                                     1 calls
     1848 ms  MSBuild                                   22 calls
     5429 ms  RestoreTask                                1 calls
    19462 ms  ILLink                                     1 calls

For other people (with different hardware), it can be much worse:

      323 ms  _ComputeManagedAssemblyToLink              1 calls
      352 ms  _CodesignAppBundle                         1 calls
      463 ms  GeneratePublishDependencyFile              1 calls
      611 ms  XamlC                                      1 calls
      638 ms  ResolveProjectReferences                   3 calls
    73156 ms  _RunILLink                                 1 calls

This is a "don't link" scenario (LinkMode=None), so it shouldn't take this long.

@rolfbjarne rolfbjarne added bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) labels Jun 10, 2021
@rolfbjarne rolfbjarne added this to the .NET 6 milestone Jun 10, 2021
@marek-safar
Copy link
Contributor

Moved the issue to dotnet/linker#2089

@ghost ghost locked as resolved and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6)
Projects
None yet
Development

No branches or pull requests

2 participants