Skip to main content

parse_hyperfine

Function parse_hyperfine 

Source
pub fn parse_hyperfine(input: &str, name: Option<&str>) -> Result<RunReceipt>
Expand description

Parse a hyperfine JSON export into a RunReceipt.

If the export contains multiple results (multiple commands benchmarked), only the first result is used. Use the name parameter to override the benchmark name (defaults to the command string).