Table of Contents

Class ReportExtensions

Namespace
BenchmarkDotNet.Extensions
Assembly
BenchmarkDotNet.dll
public static class ReportExtensions
Inheritance
ReportExtensions

Methods

GetReportFor<T>(Summary, Expression<Action<T>>)

public static BenchmarkReport GetReportFor<T>(this Summary summary, Expression<Action<T>> actionExp)

Parameters

summary Summary
actionExp Expression<Action<T>>

Returns

BenchmarkReport

Type Parameters

T

GetRunsFor<T>(Summary, Expression<Action<T>>)

public static IList<Measurement> GetRunsFor<T>(this Summary summary, Expression<Action<T>> actionExp)

Parameters

summary Summary
actionExp Expression<Action<T>>

Returns

IList<Measurement>

Type Parameters

T

GetStatistics(IEnumerable<Measurement>)

public static Statistics GetStatistics(this IEnumerable<Measurement> runs)

Parameters

runs IEnumerable<Measurement>

Returns

Statistics

GetStatistics(IReadOnlyCollection<Measurement>)

public static Statistics GetStatistics(this IReadOnlyCollection<Measurement> runs)

Parameters

runs IReadOnlyCollection<Measurement>

Returns

Statistics