Skip to main content

Module scenarios

Module scenarios 

Available on crate feature bench only.
Expand description

The three scenarios, in the order the runbook names them.

Each has the same shape as a conformance rule — async fn(open, params) — and differs in what it returns: a BenchmarkRecord rather than a verdict, because a benchmark has no verdict to give.

Functions§

append_throughput
(a) Append throughput: one batch of n events, unconditionally.
conditional_append_under_contention
(b) Conditional append under k contenders, reporting the split.
replay_with_and_without_a_tag_filter
(c) Replay of N events, once unfiltered and once behind a tag filter.