Utility Analyzer: Decouple file I/O from Roslyn threads #8460
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: Performance
It takes too long.
The Roslyn tasks that execute our analyzers expect that the logic is purely CPU-bound. It is highly discouraged to do any I/O in analyzers and source generators (citation needed).
Finally found it:
Source
The utility analyzer write to disk in the compilation end step and therefore performing I/O and block the analyzer thread. We should
The text was updated successfully, but these errors were encountered: