Class SimpleCounterBenchmark
Inheritance
System.Object
SimpleCounterBenchmark
Namespace: NBench.Tests.Assembly
Assembly: NBench.TestAssembly.dll
Syntax
public class SimpleCounterBenchmark : object
Fields
CounterName
Declaration
public const string CounterName = null
Field Value
Type | Description |
---|---|
System.String |
Methods
Run(BenchmarkContext)
Run 3 tests, 1 second long each
Declaration
public void Run(BenchmarkContext context)
Parameters
Type | Name | Description |
---|---|---|
BenchmarkContext | context |
SetUp(BenchmarkContext)
Declaration
public void SetUp(BenchmarkContext context)
Parameters
Type | Name | Description |
---|---|---|
BenchmarkContext | context |