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
StatsBowireBenchmarkStatsAggregate statistics over the measured calls.
ElapsedMslongWall-clock duration of the measured phase.
FirstErrorstringThe 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
FirstError
The first error message observed, if any — the operator's first clue.
public string? FirstError { get; init; }
Property Value
Stats
Aggregate statistics over the measured calls.
public BowireBenchmarkStats Stats { get; init; }
Property Value
Methods
Deconstruct(out BowireBenchmarkStats, out long, out string?)
public void Deconstruct(out BowireBenchmarkStats Stats, out long ElapsedMs, out string? FirstError)
Parameters
StatsBowireBenchmarkStatsElapsedMslongFirstErrorstring
Equals(BowireBenchmarkRun?)
public bool Equals(BowireBenchmarkRun? other)
Parameters
otherBowireBenchmarkRun
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BowireBenchmarkRun?, BowireBenchmarkRun?)
public static bool operator ==(BowireBenchmarkRun? left, BowireBenchmarkRun? right)
Parameters
leftBowireBenchmarkRunrightBowireBenchmarkRun
Returns
operator !=(BowireBenchmarkRun?, BowireBenchmarkRun?)
public static bool operator !=(BowireBenchmarkRun? left, BowireBenchmarkRun? right)
Parameters
leftBowireBenchmarkRunrightBowireBenchmarkRun