Module headless

Module headless 

Source
Expand description

2026-09-26: Driving a benchmark without a terminal: start it on the executor, drain its messages until it finishes, build the run record and save it with crate::history::save, as the dashboard also does.

Owner: bench. Invariants:

  • run_blocking validates the parameters before the executor starts.
  • A run that ends without a terminal frame is recorded as a failure.

Structs§

HeadlessOptions
2026-09-26: How the driver behaves, as opposed to what it runs.
RunOutcome
RunRequest
2026-09-26: What to run, and against what.
SilentReporter
2026-09-26: A reporter that says nothing: the CLI’s JSON output format and the tests use it.

Traits§

RunReporter
2026-09-26: Callbacks for a run as it happens. Every method defaults to nothing.

Functions§

run_blocking
2026-09-26: Run to completion, pumping the executor’s channels. Blocks the calling thread; from async, use spawn_blocking.