Table of Contents

Class BenchmarkReport

Namespace
BenchmarkDotNet.Reports
Assembly
BenchmarkDotNet.dll
public sealed class BenchmarkReport
Inheritance
BenchmarkReport
Extension Methods

Constructors

BenchmarkReport(bool, BenchmarkCase, GenerateResult, BuildResult, IReadOnlyList<ExecuteResult>, IReadOnlyList<Metric>)

public BenchmarkReport(bool success, BenchmarkCase benchmarkCase, GenerateResult generateResult, BuildResult buildResult, IReadOnlyList<ExecuteResult> executeResults, IReadOnlyList<Metric> metrics)

Parameters

success bool
benchmarkCase BenchmarkCase
generateResult GenerateResult
buildResult BuildResult
executeResults IReadOnlyList<ExecuteResult>
metrics IReadOnlyList<Metric>

Properties

AllMeasurements

public IReadOnlyList<Measurement> AllMeasurements { get; }

Property Value

IReadOnlyList<Measurement>

BenchmarkCase

public BenchmarkCase BenchmarkCase { get; }

Property Value

BenchmarkCase

BuildResult

public BuildResult BuildResult { get; }

Property Value

BuildResult

ExecuteResults

public IReadOnlyList<ExecuteResult> ExecuteResults { get; }

Property Value

IReadOnlyList<ExecuteResult>

GcStats

public GcStats GcStats { get; }

Property Value

GcStats

GenerateResult

public GenerateResult GenerateResult { get; }

Property Value

GenerateResult

Metrics

public IReadOnlyDictionary<string, Metric> Metrics { get; }

Property Value

IReadOnlyDictionary<string, Metric>

ResultStatistics

public Statistics? ResultStatistics { get; }

Property Value

Statistics

Success

public bool Success { get; }

Property Value

bool

Methods

GetResultRuns()

public IReadOnlyList<Measurement> GetResultRuns()

Returns

IReadOnlyList<Measurement>

ToString()

public override string ToString()

Returns

string