Skip to main content

run_bench

Function run_bench 

Source
pub fn run_bench(cfg: &BenchConfig) -> Result<BenchResult, String>
Expand description

Run one benchmark case end-to-end (cold then warm) against the real path.

Must be called from within a multi-thread Tokio runtime context (the residency mount uses block_in_place). Returns Err if the model file is absent.