/// Loads benchmark results from a JSON file
Loads benchmark results from a JSON file
Loads benchmark results from a JSON file
pub fn load(path: &Path) -> Result<Report, ReportLoadError> {
        let file = fs::File::open(path)?;
        let report = serde_json::from_reader(file)?;
        Ok(report)
    }
pub fn load ( path : & Path ) -> Result < Report , ReportLoadError > { let file = fs :: File :: open ( path ) ? ; let report = serde_json :: from_reader ( file ) ? ; Ok ( report ) }
Loads benchmark results from a JSON file
Loads benchmark results from a JSON file
path
&Path