Skip to main content

profile_parallel

Function profile_parallel 

Source
pub fn profile_parallel(
    function: &str,
    size: u32,
    threads: Option<&str>,
) -> Result<()>
Expand description

Profile a parallel function. Runs the benchmark binary with RAYON_NUM_THREADS=1 and RAYON_NUM_THREADS=N, using min-of-3 timing for stability. Computes parallel metrics.