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
Concurrency
How many calls may be in flight at once.
public int Concurrency { get; init; }
Property Value
Iterations
Total number of calls to make.
public int Iterations { get; init; }
Property Value
Metadata
Metadata headers to send with every call.
public IReadOnlyDictionary<string, string>? Metadata { get; init; }
Property Value
Method
Method to call.
public required string Method { get; init; }
Property Value
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
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
ServerUrl
Target server URL.
public required string ServerUrl { get; init; }
Property Value
Service
Service to call.
public required string Service { get; init; }
Property Value
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; }