Expand description
Rendering for water bench reports.
Budget evaluation happens inside waterui-testing while the benches run;
this module only aggregates the collected BenchReports and renders them
as JSON, GitHub-Action-benchmark JSON, or a standalone HTML page. The
terminal layer prints the human summary itself.
Structs§
- Bench
Resource Summary - CPU, memory, GPU and scene-complexity aggregates over a measurement’s frames.
Functions§
- bench_
target_ label crate/benchlabel identifying one report in every output format.- bytes_
label - Render a byte count the way the bench report displays it.
- micros_
label - Render a microsecond count the way the bench report displays it.
- resource_
summary - Aggregate a measurement’s per-frame resource samples, if it recorded any.
- write_
bench_ gha_ json - Write the
github-action-benchmarkcustomSmallerIsBetterJSON. - write_
bench_ html - Render every report into a standalone HTML page.
- write_
bench_ output_ json - Write every report as JSON to a file.
- write_
bench_ stdout_ json - Write every report as JSON on stdout.