Class BowireBenchmarkSample

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

#623 — one call of a run, where it fell in the run: OffsetMs is when it completed, counted from the run's start.

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

Constructors

BowireBenchmarkSample(double, double, bool, double?)

#623 — one call of a run, where it fell in the run: OffsetMs is when it completed, counted from the run's start.

public BowireBenchmarkSample(double OffsetMs, double LatencyMs, bool Ok, double? FirstChunkMs = null)

Parameters

OffsetMs double

When the call completed, milliseconds after the run started.

LatencyMs double

How long it took.

Ok bool

Whether it succeeded.

FirstChunkMs double?

#620 — its time to first chunk, for a streamed call that produced one.

Properties

FirstChunkMs

#620 — its time to first chunk, for a streamed call that produced one.

public double? FirstChunkMs { get; init; }

Property Value

double?

LatencyMs

How long it took.

public double LatencyMs { get; init; }

Property Value

double

OffsetMs

When the call completed, milliseconds after the run started.

public double OffsetMs { get; init; }

Property Value

double

Ok

Whether it succeeded.

public bool Ok { get; init; }

Property Value

bool

Methods

Deconstruct(out double, out double, out bool, out double?)

public void Deconstruct(out double OffsetMs, out double LatencyMs, out bool Ok, out double? FirstChunkMs)

Parameters

OffsetMs double
LatencyMs double
Ok bool
FirstChunkMs double?

Equals(BowireBenchmarkSample?)

public bool Equals(BowireBenchmarkSample? other)

Parameters

other BowireBenchmarkSample

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 ==(BowireBenchmarkSample?, BowireBenchmarkSample?)

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

Parameters

left BowireBenchmarkSample
right BowireBenchmarkSample

Returns

bool

operator !=(BowireBenchmarkSample?, BowireBenchmarkSample?)

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

Parameters

left BowireBenchmarkSample
right BowireBenchmarkSample

Returns

bool