Method | Description | |
---|---|---|
Benchmark ( string opName ) : System | ||
Dispose ( ) : void | ||
PrepareSystemForBenchmark ( ) : void |
Prepares the system for benchmark will force Garbage Collection to run with maximum generation and wait it to finish.
|
|
Start ( bool skipWarmupGC = false ) : |
||
Start ( string opName ) : |
||
Stop ( ) : System.TimeSpan | ||
Time ( string opName, System.Action action ) : System.TimeSpan | ||
Time ( string opName, System.Action action, int loopCount, bool warmup ) : System.TimeSpan | ||
ToString ( ) : string |
public static PrepareSystemForBenchmark ( ) : void | ||
return | void |
public Start ( bool skipWarmupGC = false ) : |
||
skipWarmupGC | bool | |
return |
public static Start ( string opName ) : |
||
opName | string | |
return |
public static Time ( string opName, System.Action action ) : System.TimeSpan | ||
opName | string | |
action | System.Action | |
return | System.TimeSpan |
public static Time ( string opName, System.Action action, int loopCount, bool warmup ) : System.TimeSpan | ||
opName | string | |
action | System.Action | |
loopCount | int | |
warmup | bool | |
return | System.TimeSpan |