measure_simple

Function measure_simple 

Source
pub fn measure_simple<F>(
    config: &BenchmarkConfig,
    name: &str,
    module: &str,
    func: F,
) -> BenchResult
where F: FnMut(),
Expand description

Measure a simple benchmark (no setup) using the new architecture.

This function is called by the generated benchmark wrapper for benchmarks without setup code. The config is passed in, and a complete BenchResult is returned.