View source: R/FUN_mme_benchmark.R
| run_mme_benchmark | R Documentation |
Executes a battery of workloads across candidate solver engines, measuring wall-clock time, iterations, peak memory (if available), active numerical paths, and asserting numerical parity.
run_mme_benchmark(
workloads,
engines = NULL,
replications = 3L,
verifyParity = TRUE,
tolerance = 1e-05,
nIters = 5L,
verbose = TRUE
)
workloads |
A list of |
engines |
A named list of |
replications |
Number of timed repetitions (warmup run excluded). Default is 3. |
verifyParity |
Logical; whether to assert that experimental candidates match the reference engine in final likelihood, variance components, and BLUPs. Default is TRUE. |
tolerance |
Numerical tolerance for parity verification. Default is 1e-5. |
nIters |
Maximum REML/ML iterations for benchmark fits. Default is 5. |
verbose |
Logical; whether to print progress. Default is TRUE. |
An object of class "sommer_mme_benchmark". Warmup and timed-run failures
retain the same result columns with an error message. The
converged column records the fitted model's convergence flag.
parity_ok is NA when parity is not checked or the reference
engine failed; numerical comparisons use final likelihoods and estimates,
not the lengths of their optimization histories.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.