Show / Hide Table of Contents

    Enum RunMode

    Namespace: NBench
    Assembly: NBench.dll
    Syntax
    public enum RunMode

    Fields

    Name Description
    Iterations

    Run a fixed number of iterations of a benchmark.

    Best for long-running benchmarks that need to measure things like memory, GC

    Throughput

    Run a benchmark for a specified duration.

    Best for small benchmarks designed to measure throughput - i.e. Operations per Second

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