You need to know about BenchmarkDotNet

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics 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!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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