Skip to main content

write_benchmark_bundle

Function write_benchmark_bundle 

Source
pub fn write_benchmark_bundle(
    path: impl AsRef<Path>,
    name: impl Into<String>,
    records: &[BenchmarkRecord],
    results: &BTreeMap<String, ReconstructionResult>,
    options: BenchmarkBundleExportOptions,
) -> Result<BenchmarkBundle>
Expand description

Atomically writes benchmark tables plus referenced reconstruction result bundles.

Every record must have a unique run ID and every supplied result must correspond to a successful record. Existing complete destinations are rejected.