lightspeed/ops/channel_harness

Deterministic channel fanout harness for M14 baseline reporting.

Types

Channel benchmark report.

pub type Report {
  Report(
    adapter: String,
    topic: String,
    clients: Int,
    broadcasts: Int,
    deliveries: Int,
    p50_latency_units: Int,
    p95_latency_units: Int,
    throughput_messages_per_second: Int,
  )
}

Constructors

  • Report(
      adapter: String,
      topic: String,
      clients: Int,
      broadcasts: Int,
      deliveries: Int,
      p50_latency_units: Int,
      p95_latency_units: Int,
      throughput_messages_per_second: Int,
    )

Values

pub fn report_signature(report: Report) -> String

Stable report signature for docs and fixture tests.

pub fn run_default() -> Report

Run the default M14 fanout baseline on single-node adapter.

pub fn run_with(
  clients clients: Int,
  broadcasts broadcasts: Int,
  topic topic: String,
) -> Report

Run one fanout scenario.

Search Document