Interface IBenchmarkInvoker
Used to invoke the benchmark methods on the user-defined
objects that have methods marked with PerfBenchmarkAttribute.
Assembly: NBench.dll
Syntax
public interface IBenchmarkInvoker
Properties
BenchmarkName
Declaration
string BenchmarkName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
InvokePerfCleanup(BenchmarkContext)
Declaration
void InvokePerfCleanup(BenchmarkContext context)
Parameters
InvokePerfSetup(BenchmarkContext)
Declaration
void InvokePerfSetup(BenchmarkContext context)
Parameters
InvokePerfSetup(Int64, BenchmarkContext)
Declaration
void InvokePerfSetup(long runCount, BenchmarkContext context)
Parameters
Type |
Name |
Description |
System.Int64 |
runCount |
The number of runs for which we'll execute this benchmark
|
BenchmarkContext |
context |
The context used for the run
|
InvokeRun(BenchmarkContext)
Declaration
void InvokeRun(BenchmarkContext context)
Parameters