You need to know about BenchmarkDotNet

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • BenchmarkDotNet

    Powerful .NET library for benchmarking

    BenchmarkDotNet is one of those tools that all .NET developers need to know how to use. If you want to compare the performance of multiple ways of doing the same thing, you need this tool. If you want to decide which 3rd party library provides the fastest and most memory efficient implementation, you need this tool. If you want to compare the performance of code running on different versions of the .NET platform, you need this tool. If you want to monitor changes to your code base for changes that degrade performance, you need this tool.

  • SharpLab

    .NET language playground

    SharpLab is another great tool that will show you what the JIT compiler will do initially. In the case of Sqrt1, it will compile out dead code because the result of the square root isn't used so it doesn't need to run the instructions to perform the square root. So you still need to be careful with how you write your benchmarks otherwise you may not be measuring what you think you are measuring!

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts