fn time_pass<T, F>(run: F) -> (T, Duration)where F: FnOnce() -> T,
Time one pass execution, returning output and elapsed duration.