Function bench_limit

Source
pub fn bench_limit<F, O>(time_limit_secs: f64, f: F) -> Stats
where F: Fn() -> O,
Expand description

Run a benchmark, specifying the run time limit.

See bench