|
| static long | MeasureTime (Action action) |
| | Runs the provided action and measures the time it required to finish. Ensures GC will not trigger while running the action, as it would interfere with the measurement. More...
|
| |
Definition at line 3 of file BenchmarkHelper.cs.
◆ MeasureTime()
| static long BenchmarkHelper.MeasureTime |
( |
Action |
action | ) |
|
|
inlinestatic |
Runs the provided action and measures the time it required to finish. Ensures GC will not trigger while running the action, as it would interfere with the measurement.
- Parameters
-
- Returns
- Time in milliseconds.
Definition at line 29 of file BenchmarkHelper.cs.
The documentation for this class was generated from the following file: