Erdal Sivri

Results 5 comments of Erdal Sivri

I have been investigating `dotnet format` slowness in our large solution. Here is what I've found out so far: * `dotnet format whitespace --folder` is much faster assuming you are...

`CSharpSimplifyTypeNamesDiagnosticAnalyzer` is responsible for about 20 seconds of runtime for one of our projects. This is what I got after running analyzers separately with extra logging: ``` [01/05/2022 02:37:26] Running...

Another thing I noticed is that `NamingStyleDiagnosticAnalyzer` always runs for all projects even if they are not included with `--include`. For example, `dotnet format --include SomeProject/SomeFile.cs` will run the `NamingStyleDiagnosticAnalyzer`...

Here is the PR to fix the issue with redundant runs of `NamingStyleDiagnosticAnalyzer`: https://github.com/dotnet/format/pull/1485

I have a PR that should help with single file includes a bit: https://github.com/dotnet/format/pull/1485