Class Summary
- Namespace
- BenchmarkDotNet.Reports
- Assembly
- BenchmarkDotNet.dll
public class Summary
- Inheritance
-
Summary
- Extension Methods
Constructors
Summary(string, ImmutableArray<BenchmarkReport>, HostEnvironmentInfo, string, string, TimeSpan, CultureInfo, ImmutableArray<ValidationError>, ImmutableArray<IColumnHidingRule>, SummaryStyle?)
public Summary(string title, ImmutableArray<BenchmarkReport> reports, HostEnvironmentInfo hostEnvironmentInfo, string resultsDirectoryPath, string logFilePath, TimeSpan totalTime, CultureInfo cultureInfo, ImmutableArray<ValidationError> validationErrors, ImmutableArray<IColumnHidingRule> columnHidingRules, SummaryStyle? summaryStyle = null)
Parameters
title
stringreports
ImmutableArray<BenchmarkReport>hostEnvironmentInfo
HostEnvironmentInforesultsDirectoryPath
stringlogFilePath
stringtotalTime
TimeSpancultureInfo
CultureInfovalidationErrors
ImmutableArray<ValidationError>columnHidingRules
ImmutableArray<IColumnHidingRule>summaryStyle
SummaryStyle
Properties
AllRuntimes
public string AllRuntimes { get; }
Property Value
BenchmarksCases
public ImmutableArray<BenchmarkCase> BenchmarksCases { get; }
Property Value
ColumnHidingRules
public ImmutableArray<IColumnHidingRule> ColumnHidingRules { get; }
Property Value
HasCriticalValidationErrors
public bool HasCriticalValidationErrors { get; }
Property Value
HostEnvironmentInfo
public HostEnvironmentInfo HostEnvironmentInfo { get; }
Property Value
IsMultipleRuntimes
public bool IsMultipleRuntimes { get; }
Property Value
this[BenchmarkCase]
Returns a report for the given benchmark or null if there is no a corresponded report.
public BenchmarkReport? this[BenchmarkCase benchmarkCase] { get; }
Parameters
benchmarkCase
BenchmarkCase
Property Value
LogFilePath
public string LogFilePath { get; }
Property Value
Orderer
public IOrderer Orderer { get; }
Property Value
Reports
public ImmutableArray<BenchmarkReport> Reports { get; }
Property Value
ResultsDirectoryPath
public string ResultsDirectoryPath { get; }
Property Value
Style
public SummaryStyle Style { get; }
Property Value
Table
public SummaryTable Table { get; }
Property Value
Title
public string Title { get; }
Property Value
TotalTime
public TimeSpan TotalTime { get; }
Property Value
ValidationErrors
public ImmutableArray<ValidationError> ValidationErrors { get; }
Property Value
Methods
GetBaseline(string?)
public BenchmarkCase? GetBaseline(string? logicalGroupKey)
Parameters
logicalGroupKey
string
Returns
GetLogicalGroupKey(BenchmarkCase)
public string? GetLogicalGroupKey(BenchmarkCase benchmarkCase)
Parameters
benchmarkCase
BenchmarkCase
Returns
GetNonBaselines(string)
public IEnumerable<BenchmarkCase> GetNonBaselines(string logicalGroupKey)
Parameters
logicalGroupKey
string
Returns
GetNumberOfExecutedBenchmarks()
public int GetNumberOfExecutedBenchmarks()
Returns
HasBaselines()
public bool HasBaselines()
Returns
HasReport(BenchmarkCase)
public bool HasReport(BenchmarkCase benchmarkCase)
Parameters
benchmarkCase
BenchmarkCase
Returns
IsBaseline(BenchmarkCase)
public bool IsBaseline(BenchmarkCase benchmarkCase)
Parameters
benchmarkCase
BenchmarkCase