Benchmark Class |
Namespace: CMS.Tests
public class Benchmark
The Benchmark type exposes the following members.
Name | Description | |
---|---|---|
![]() | BenchmarkAction |
Gets the benchmark action.
|
Name | Description | |
---|---|---|
![]() | Run |
Executes the benchmarked action a specified number of times and returns the result.
|
![]() | RunWithWarmup |
Executes the benchmarked action a specified number of times and returns the result.
Runs the action once prior to benchmarking.
|
![]() ![]() | This(Action) |
Creates a new benchmark with the specified action to be benchmarked.
|
![]() ![]() | This(ActionStopwatch) |
Creates a new benchmark with the specified benchmark action.
|