benchmark_std: Run standard benchmarks

View source: R/benchmark_std.R

benchmark_stdR Documentation

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

## Benchmark your system
## Not run: 
res = benchmark_std(3)

## Plot results
plot(res)

## End(Not run)

benchmarkme documentation built on June 12, 2022, 5:06 p.m.