Skip to main content

Module bench

Module bench 

Source
Expand description

water bench engine.

Runs every #[waterui::bench] in a crate under cargo nextest in full-measurement mode (the WATERUI_BENCH_* environment selects the run shape), collects the JSON reports the benches write, and hands them to report for rendering. Budget evaluation happens inside waterui-testing while the benches run — a blown budget is a failed test, which surfaces here as a failed nextest run.

Modules§

report
Rendering for water bench reports.

Structs§

BenchRunOptions
One water bench invocation.
BenchSuiteRun
Outcome of one bench suite run.

Functions§

run_bench_suite
Runs the crate’s benches under cargo nextest and collects their reports.