Skip to main content

bench

Function bench 

Source
pub fn bench(
    root: &Path,
    target: Option<&str>,
    environment: Option<&str>,
) -> Result<BenchReport, GenError>
Expand description

Without a target it builds the app, starts it on a free local port with the shield off and its database on this machine, and loads that; a target must run with SOFIE_SHIELD=off, and one not on this machine is signed in to only as accounts named in SOFIE_BENCH_<AREA>_EMAIL/_PASSWORD.