Skip to main content

render_web_fragment

Function render_web_fragment 

Source
pub fn render_web_fragment(input_dir: &Path, strict: bool) -> Result<String>
Expand description

Renders the website HTML fragment from every run in input_dir.

The fragment holds per-run and averaged throughput, CPU, and memory charts. This function pairs each run with the runNN tag it parses from the result filename, so every per-run trace carries a label.

ยงErrors

Returns an error when input data is invalid, required I/O fails, or the destination rejects the generated report or audit event.