[−][src]Function easybench_wasm::bench_env_limit_ref
pub fn bench_env_limit_ref<F, I, O>(time_limit_secs: f64, env: I, f: F) -> Stats where
F: Fn(&mut I) -> O,
I: Clone,
Run a benchmark with an environment, specifying the run time limit. The function to bench takes a mutable reference
to the env
parameter instead of a struct.
See bench_env