Skip to main content

load_baseline

Function load_baseline 

Source
pub fn load_baseline(path: &Path) -> Result<Vec<BaselineRecord>>
Expand description

Load a previously emitted bench --json payload from disk.

§Errors

Returns an error if the file cannot be read or the JSON cannot be parsed into the [BaselineFile] shape.