pub async fn measure_time_async<F, Fut, R>(f: F) -> (R, Duration)where F: FnOnce() -> Fut, Fut: Future<Output = R>,
Measure execution time of an async closure