Expand description
Lightweight reproducible benchmark helpers (JOE-1606).
Full hardware matrix runs live in scripts/bench_smoke.sh and produce
machine-readable JSON. This module defines the schema and micro-measurements
that unit tests / PR smoke can exercise without pinned model downloads.
Structs§
- Bench
Report - Machine-readable benchmark run.
- Bench
Sample - One timed sample.
- Smoke
Budgets - Soft regression thresholds for smoke samples (profile-specific multipliers).
Enums§
- Bench
Profile - Named reference profile for budgets.
Functions§
- mean_ms
- percentile_
ms - sample_
pcm_ push - Micro-bench: ring-buffer push throughput (PR smoke safe).
- sample_
srt_ stream - Micro-bench: SRT stream format for N segments.
- time_
iters - Run
fforiterstimes; return sorted wall durations.