This function runs a set of standard benchmarks, which should be suitable for most machines. It runs a collection of matrix benchmark functions

  • benchmark_prog

  • benchmark_matrix_cal

  • benchmark_matrix_fun

To view the list of benchmarks, see get_available_benchmarks.

benchmark_std(runs = 3, verbose = TRUE, cores = 0L)

Arguments

runs

Number of times to run the test. Default 3.

verbose

Default TRUE.

cores

Default 0 (serial). When cores > 0, the benchmark is run in parallel.

Details

Setting cores equal to 1 is useful for assessing the impact of the parallel computing overhead.

Examples

## Benchmark your system
if (FALSE) {
res = benchmark_std(3)

## Plot results
plot(res)
}