BenchmarkDotNet
Measure and compare .NET routines using repeatable benchmarks.
dotnet · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add BenchmarkDotNet 0.15.8 to a .NET project. Benchmark a loop and LINQ sum over a small array and compare their timing reports.
What we tested
0.15.8. Benchmarked a loop and a LINQ sum over the same four-number fixture. Both the loop and LINQ routines produced timing reports with samples.