Class BenchmarkRunner
Main runner class.
Inherited Members
Namespace: nanoFramework.Benchmark
Assembly: nanoFramework.Benchmark.dll
Syntax
public static class BenchmarkRunner
Methods
Run(Assembly)
Runs all benchmarks from assembly.
Declaration
public static void Run(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | Assembly with benchmarks. |
RunClass(Type)
Runs all benchmarks from class.
Declaration
public static void RunClass(Type classType)
Parameters
Type | Name | Description |
---|---|---|
Type | classType | Class with benchmarks. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Throws when type is not class or class is abstract. |