pub fn benchmark_function<F, T>(
f: F,
iterations: u32,
) -> PerformanceResult<PerformanceMetrics>where
F: Fn() -> T,Expand description
Benchmark a function and return performance metrics
pub fn benchmark_function<F, T>(
f: F,
iterations: u32,
) -> PerformanceResult<PerformanceMetrics>where
F: Fn() -> T,Benchmark a function and return performance metrics