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
Post a Comment