Benchmarking C# using BenchmarkDotNet

The other day I came across the BenchmarkDotNet package and had to try it out, and I think it works really well. Gone are the days of using a stopwatch for ad hoc benchmarking! There's some initial setup cost with creating a new project, but with more deep diving I wouldn't be surprised if a benchmark project could be incorporated directly into a project and/or test suite.

Comments

Popular posts from this blog

Adding Font Awesome to .NET MAUI App

Comparing SELECT Performance of Joining Integers vs GUIDs in SQL Server

Performance: SQL Server vs MongoDB (JSON data)