Show / Hide Table of Contents

    Class ReflectionBenchmarkInvoker

    IBenchmarkInvoker implementaton that uses reflection to invoke setup / run / cleanup methods found on classes decorated with the appropriate PerfBenchmarkAttributes.

    Inheritance
    System.Object
    ReflectionBenchmarkInvoker
    Implements
    IBenchmarkInvoker
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: NBench.Sdk
    Assembly: NBench.dll
    Syntax
    public class ReflectionBenchmarkInvoker : IBenchmarkInvoker

    Constructors

    ReflectionBenchmarkInvoker(BenchmarkClassMetadata)

    Declaration
    public ReflectionBenchmarkInvoker(BenchmarkClassMetadata metadata)
    Parameters
    Type Name Description
    BenchmarkClassMetadata metadata

    Properties

    BenchmarkName

    Declaration
    public string BenchmarkName { get; }
    Property Value
    Type Description
    System.String

    Methods

    InvokePerfCleanup(BenchmarkContext)

    Declaration
    public void InvokePerfCleanup(BenchmarkContext context)
    Parameters
    Type Name Description
    BenchmarkContext context

    InvokePerfSetup(BenchmarkContext)

    Declaration
    public void InvokePerfSetup(BenchmarkContext context)
    Parameters
    Type Name Description
    BenchmarkContext context

    InvokePerfSetup(Int64, BenchmarkContext)

    Declaration
    public void InvokePerfSetup(long runCount, BenchmarkContext context)
    Parameters
    Type Name Description
    System.Int64 runCount
    BenchmarkContext context

    InvokeRun(BenchmarkContext)

    Declaration
    public void InvokeRun(BenchmarkContext context)
    Parameters
    Type Name Description
    BenchmarkContext context

    Implements

    IBenchmarkInvoker
    Back to top Copyright © 2015-2020 Petabridge™, LLC