Erdal Sivri
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
I should mention that we tried passing a custom `SocketsHttpHandler` with various `Keepalive` values (especially `KeepAlivePingPolicy.WithActiveRequests`) but still couldn't get it to a reliable state. It is a fair point...
Do you happen to have an approximate timeline for this feature request? And do you plan to support `MemberListBinding`? We are using protobuf-generated C# classes as DTOs and having trouble...