New rules to help your .NET applications run faster (and use less energy!)

Hi .NET Folks

Today we added some new performance-related rules for C# and VB.NET. Most of these are very simple changes that allow your code to run more efficiently, especially when you are working with large collections. We benchmarked all of them to check that they made a significant difference and we’ve included the details of those tests in the Resources section of the rule description. The impact of following these guidelines will depend on usage, and we hope that they can help you enjoy cleaner, faster and more energy-efficient software.

The new rules are available today on SonarCloud, the upcoming SonarQube 10.1 release and in the next release of SonarLint.

Please let us know what you think of these new rules and post a comment here if you have any questions.

Thanks

Tom

4 Likes