-
Notifications
You must be signed in to change notification settings - Fork 4.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
Remove unnecessary imports analyzer is significantly slowing builds (11% CPU time) #72162
Comments
What tool is that? |
@lonix1 The one in the screenshot? It is PerfView. |
@Youssef1313 I think this may be a red herring. The analyzer does almost no actual work. It just instructs the compiler to complete work it would already complete, and then then waits for that work to finish. If this analyzer has any impact on the total time it takes to complete a build for the case where there are no IDE0005 diagnostics reported, it is an indicator that the diagnostics and/or binding cache in the compiler is broken. |
@sharwell This was solely through binlog times and profiling with PerfView. I agree that likely the total time may not be affected. It indeed looks like a cost that "moved" from the compiler to the analyzer. The remaining issue here will still be why it's running even with |
@Youssef1313 it's running because the following line incorrectly sets Line 31 in cecdb80
|
@mavasani How can this be disabled? I already have
dotnet_diagnostic.IDE0005.severity = none
in.globalconfig
file.The text was updated successfully, but these errors were encountered: