Class BenchmarkSwitcher
Inheritance
BenchmarkSwitcher
Assembly: BenchmarkDotNet.dll
Syntax
public class BenchmarkSwitcher
Constructors
BenchmarkSwitcher(Assembly)
Declaration
public BenchmarkSwitcher(Assembly assembly)
Parameters
BenchmarkSwitcher(Assembly[])
Declaration
public BenchmarkSwitcher(Assembly[] assemblies)
Parameters
Type |
Name |
Description |
Assembly[] |
assemblies |
|
BenchmarkSwitcher(Type[])
Declaration
public BenchmarkSwitcher(Type[] types)
Parameters
Type |
Name |
Description |
Type[] |
types |
|
Methods
FromAssemblies(Assembly[])
Declaration
public static BenchmarkSwitcher FromAssemblies(Assembly[] assemblies)
Parameters
Type |
Name |
Description |
Assembly[] |
assemblies |
|
Returns
FromAssembly(Assembly)
Declaration
public static BenchmarkSwitcher FromAssembly(Assembly assembly)
Parameters
Returns
FromTypes(Type[])
Declaration
public static BenchmarkSwitcher FromTypes(Type[] types)
Parameters
Type |
Name |
Description |
Type[] |
types |
|
Returns
Run(String[], IConfig)
Declaration
public IEnumerable<Summary> Run(string[] args = null, IConfig config = null)
Parameters
Returns
RunAll(IConfig)
Run all available benchmarks.
Declaration
public IEnumerable<Summary> RunAll(IConfig config = null)
Parameters
Type |
Name |
Description |
IConfig |
config |
|
Returns
RunAllJoined(IConfig)
Run all available benchmarks and join them to a single summary
Declaration
public Summary RunAllJoined(IConfig config = null)
Parameters
Type |
Name |
Description |
IConfig |
config |
|
Returns
With(Assembly)
Declaration
public BenchmarkSwitcher With(Assembly assembly)
Parameters
Returns
With(Assembly[])
Declaration
public BenchmarkSwitcher With(Assembly[] assemblies)
Parameters
Type |
Name |
Description |
Assembly[] |
assemblies |
|
Returns
With(Type)
Declaration
public BenchmarkSwitcher With(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
With(Type[])
Declaration
public BenchmarkSwitcher With(Type[] types)
Parameters
Type |
Name |
Description |
Type[] |
types |
|
Returns