Learn R Programming

benchmarkme (version 1.0.8)

benchmark_std: Run standard benchmarks

Description

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.

Usage

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

Run this code
# NOT RUN {
## Benchmark your system
# }
# NOT RUN {
res = benchmark_std(3)

## Plot results
plot(res)
# }

Run the code above in your browser using DataLab