Skip to main content

Module graph

Module graph 

Source
Expand description

Plotly HTML graph rendering for the benchmark report.

This module turns the cross-run aggregates from crate::aggregate into one self-contained HTML page:

  • a grouped bar chart per headline metric, krabka against kafka across every scenario cell, with run-to-run sample-stddev error bars; and
  • one across-run-averaged time-series line chart per (scenario, metric), which shows how the metric moved over the run for each stack.

The page loads plotly.js from the CDN and matches the version the plotly crate itself targets. It embeds each figure inline, so the whole report is a single .html file.

Structs§

TaggedRun
One run together with the runNN tag parsed from its result filename.

Functions§

render_html
Renders every run into one self-contained HTML report with the title title.
render_web_fragment
Renders an HTML fragment with no <html> wrapper, for the Zola website to embed.