Class BowireBenchmarkRun

Namespace
Kuestenlogik.Bowire.Benchmarking
Assembly
Kuestenlogik.Bowire.Benchmarking.dll

One completed benchmark run.

public sealed record BowireBenchmarkRun : IEquatable<BowireBenchmarkRun>
Inheritance
BowireBenchmarkRun
Implements
Inherited Members

Constructors

BowireBenchmarkRun(BowireBenchmarkStats, long, string?)

One completed benchmark run.

public BowireBenchmarkRun(BowireBenchmarkStats Stats, long ElapsedMs, string? FirstError)

Parameters

Stats BowireBenchmarkStats

Aggregate statistics over the measured calls.

ElapsedMs long

Wall-clock duration of the measured phase.

FirstError string

The first error message observed, if any — the operator's first clue.

Properties

ElapsedMs

Wall-clock duration of the measured phase.

public long ElapsedMs { get; init; }

Property Value

long

FirstError

The first error message observed, if any — the operator's first clue.

public string? FirstError { get; init; }

Property Value

string

Stats

Aggregate statistics over the measured calls.

public BowireBenchmarkStats Stats { get; init; }

Property Value

BowireBenchmarkStats

Methods

Deconstruct(out BowireBenchmarkStats, out long, out string?)

public void Deconstruct(out BowireBenchmarkStats Stats, out long ElapsedMs, out string? FirstError)

Parameters

Stats BowireBenchmarkStats
ElapsedMs long
FirstError string

Equals(BowireBenchmarkRun?)

public bool Equals(BowireBenchmarkRun? other)

Parameters

other BowireBenchmarkRun

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowireBenchmarkRun?, BowireBenchmarkRun?)

public static bool operator ==(BowireBenchmarkRun? left, BowireBenchmarkRun? right)

Parameters

left BowireBenchmarkRun
right BowireBenchmarkRun

Returns

bool

operator !=(BowireBenchmarkRun?, BowireBenchmarkRun?)

public static bool operator !=(BowireBenchmarkRun? left, BowireBenchmarkRun? right)

Parameters

left BowireBenchmarkRun
right BowireBenchmarkRun

Returns

bool