Skip to main content

run_benchmark

Function run_benchmark 

Source
pub fn run_benchmark(
    renderer: &mut MultiBackendRenderer,
    duration_secs: f32,
) -> BenchmarkResult
Expand description

Run a simple benchmark on the given renderer for duration_secs. Because we have no real GPU, this measures CPU-side overhead of the software backend.