Skip to content

bench command ​

Measure the run time of declared cases, with a confidence interval, against their history or a revision.

bash
fobis bench [CASE...] [options]

How to use it, with examples: Verifying results.

All options ​

Arguments: NAMES...

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--compareTEXTMeasure a revision too (scratch copies, runs interleaved) and compare.
--feedbackWith --compare: diff the compiler's vectorisation and data-movement reports.
--recordAppend the measurement to the case's history (verification/bench/).
--runsINTEGERMaximum runs per side (overrides max_runs).
--keepKeep the scratch copies of --compare (path printed).
--runnerTEXTlocalWhere the programs run: local, or slurm (jobs submitted with sbatch; [scheduler] settings).
--jsonEmit structured JSON to stdout instead of human-readable output (useful for scripting / agents)