Skip to main content

write_bench_output_json

Function write_bench_output_json 

Source
pub async fn write_bench_output_json(
    path: &Path,
    reports: &[BenchReport],
) -> Result<()>
Expand description

Write every report as JSON to a file.

ยงErrors

Returns an error if the file cannot be written.