hyperfine 2.0.0-alpha.1

A command-line benchmarking tool
1
2
3
4
5
6
7
8
9
10
11
use std::process::Command;

pub fn hyperfine_raw_command() -> Command {
    let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));
    cmd.current_dir("tests/");
    cmd
}

pub fn hyperfine() -> assert_cmd::Command {
    assert_cmd::Command::from_std(hyperfine_raw_command())
}