Skip to main content

render

Function render 

Source
pub fn render(
    criterion_dir: impl AsRef<Path>,
    allowlist: impl IntoIterator<Item = impl AsRef<str>>,
) -> Result<String>
Expand description

Reads all benchmark results from the given criterion output directory and renders a markdown table.

allowlist filters benchmarks by full_id.

If the iterator is empty, no filtering is applied.