test::bench

Function run_once

Source
pub fn run_once<F>(f: F) -> Result<(), String>
where F: FnMut(&mut Bencher) -> Result<(), String>,
🔬This is a nightly-only experimental API. (test)