Skip to main content

load_baseline

Function load_baseline 

Source
pub fn load_baseline(path: &Path) -> Result<HashMap<String, BaselineEntry>>
Expand description

Loads a Baseline from path. A missing file reads as an empty baseline, not an error – the ordinary state before bench has ever been run with --write-baseline, or for a ReferenceRoute just added and not yet measured.

§Errors

If path exists but cannot be read.