Show / Hide Table of Contents

    Class BenchmarkUtil

    Utility methods to run microbenchmarks.

    Inheritance
    System.Object
    BenchmarkUtil
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Grpc.Core.Utils
    Assembly: Grpc.Core.dll
    Syntax
    public static class BenchmarkUtil

    Methods

    RunBenchmark(Int32, Int32, Action)

    Runs a simple benchmark preceded by warmup phase.

    Declaration
    public static void RunBenchmark(int warmupIterations, int benchmarkIterations, Action action)
    Parameters
    Type Name Description
    System.Int32 warmupIterations
    System.Int32 benchmarkIterations
    System.Action action
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX