Class BowireBenchmarkRequest

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

What to measure and how hard to push (#360).

public sealed class BowireBenchmarkRequest
Inheritance
BowireBenchmarkRequest
Inherited Members

Constructors

BowireBenchmarkRequest()

public BowireBenchmarkRequest()

Properties

Body

Request payload, if the method takes one.

public string? Body { get; init; }

Property Value

string

Concurrency

How many calls may be in flight at once.

public int Concurrency { get; init; }

Property Value

int

Iterations

Total number of calls to make.

public int Iterations { get; init; }

Property Value

int

Metadata

Metadata headers to send with every call.

public IReadOnlyDictionary<string, string>? Metadata { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Method

Method to call.

public required string Method { get; init; }

Property Value

string

Rates

#621 — the rates of the run's price profile, for rate.name in an expression.

public IReadOnlyDictionary<string, double>? Rates { get; init; }

Property Value

IReadOnlyDictionary<string, double>

ResponseMetrics

#621 — values each completed call's response reports, aggregated per metric into ResponseMetrics. A streamed call is read from its last chunk.

public IReadOnlyList<BowireResponseMetric>? ResponseMetrics { get; init; }

Property Value

IReadOnlyList<BowireResponseMetric>

ServerUrl

Target server URL.

public required string ServerUrl { get; init; }

Property Value

string

Service

Service to call.

public required string Service { get; init; }

Property Value

string

Streaming

#620 — whether the method streams its answer. A streaming call is read to its end and also timed to its first chunk. Null asks the plugin's discovery once before the run; see IsStreamingAsync(IBowireProtocol, BowireBenchmarkRequest, CancellationToken).

public bool? Streaming { get; init; }

Property Value

bool?

Warmup

Calls made before measurement starts, to shake out JIT / connection setup.

public int Warmup { get; init; }

Property Value

int