pub fn run_closure<F>(spec: BenchSpec, f: F) -> Result<BenchReport, BenchError>where F: FnMut() -> Result<(), BenchError>,