- Make a class with one or more static methods that are the things to run
- Mark those methods with the
[Benchmark]
attribute - At some point call
BenchmarkRunner.Run<T>
providing your class - Enjoy the
BenchmarkResult
list that has the results
Each test is run a total of 100 iterations and the total time is recorded.