Show / Hide Table of Contents

    Class ConfigBenchmark

    A benchmark requiring values from config file

    Inheritance
    System.Object
    ConfigBenchmark
    Namespace: NBench.Tests.Assembly
    Assembly: NBench.TestAssembly.dll
    Syntax
    public class ConfigBenchmark : 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
    Back to top Copyright © 2015-2020 Petabridge™, LLC