mntime 0.3.0

Execute "m" commands "n" times to calculate mean of usage time and memory. As an alternative to "time", "gnu-time" is used internally.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use assert_cmd::cargo::CommandCargoExt as _;

pub fn mntime_raw_command() -> std::process::Command {
    let mut cmd = std::process::Command::cargo_bin("mntime").unwrap();
    cmd.current_dir("tests/");
    cmd
}

pub fn mntime() -> assert_cmd::Command {
    assert_cmd::Command::from_std(mntime_raw_command())
}