Class BowireTimelineBucket

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

#623 — one slice of a run's wall clock: the calls that completed in it, how many failed, and the latency of the ones that did not.

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

Constructors

BowireTimelineBucket(double, double, int, int, double, double, double)

#623 — one slice of a run's wall clock: the calls that completed in it, how many failed, and the latency of the ones that did not.

public BowireTimelineBucket(double StartMs, double EndMs, int Calls, int Errors, double ErrorRate, double P50, double P95)

Parameters

StartMs double

Where the slice starts, milliseconds after the run started.

EndMs double

Where it ends.

Calls int

Calls that completed in it.

Errors int

How many of them failed.

ErrorRate double

Errors as a fraction of calls; NaN for an empty slice.

P50 double

Median latency of its successful calls; NaN without any.

P95 double

95th-percentile latency of its successful calls; NaN without any.

Properties

Calls

Calls that completed in it.

public int Calls { get; init; }

Property Value

int

EndMs

Where it ends.

public double EndMs { get; init; }

Property Value

double

ErrorRate

Errors as a fraction of calls; NaN for an empty slice.

public double ErrorRate { get; init; }

Property Value

double

Errors

How many of them failed.

public int Errors { get; init; }

Property Value

int

P50

Median latency of its successful calls; NaN without any.

public double P50 { get; init; }

Property Value

double

P95

95th-percentile latency of its successful calls; NaN without any.

public double P95 { get; init; }

Property Value

double

StartMs

Where the slice starts, milliseconds after the run started.

public double StartMs { get; init; }

Property Value

double

Methods

Deconstruct(out double, out double, out int, out int, out double, out double, out double)

public void Deconstruct(out double StartMs, out double EndMs, out int Calls, out int Errors, out double ErrorRate, out double P50, out double P95)

Parameters

StartMs double
EndMs double
Calls int
Errors int
ErrorRate double
P50 double
P95 double

Equals(BowireTimelineBucket?)

public bool Equals(BowireTimelineBucket? other)

Parameters

other BowireTimelineBucket

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

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

Parameters

left BowireTimelineBucket
right BowireTimelineBucket

Returns

bool

operator !=(BowireTimelineBucket?, BowireTimelineBucket?)

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

Parameters

left BowireTimelineBucket
right BowireTimelineBucket

Returns

bool