9.15
Hello everyone,
This release focuses on performance improvement.
We made several changes to how we register our rules for analysis.
Based on our measurement, we improve the build time by 5% to 15%, depending on project size and complexity! 🔥 🚀
Fixes
- 8424 - Razor: SymbolReference locations for
@typeparam
are misplaced
Improvements
False Positive
Performance
- 8183 - [C#, VB.NET] Improve S5443 performance: Reuse compiled Regex
- 8185 - [C#, VB.NET] Improve S2068 performance: Reuse compiled Regex
- 8399 - [C#, VB.NET] Reduce time spend in
HasMatchingScope
for SyntaxNode registration - 8406 - [C#, VB.NET] Cache RegisterNodeAction checks result per SyntaxTree
- 7858 - [C#, VB.NET]
FileMetadataAnalyzer
andUtilityAnalyzerBase
should useIsGenerated
fromSyntaxTreeExtensions
- 6558 - [C#, VB.NET] Performance: UtilityAnalyzerBase calls GetSemanticModel for each SyntaxTree
- 7368 - [C#, VB.NET] UtilityAnalyzer: Use RegisterCompilationStartAction
- 7411 - [C#, VB.NET] UtilityAnalyzer: Reduce lock contention in
ShouldGenerateMetrics