View source: R/benchmark_std.R
benchmark_std | R Documentation |
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)
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. |
Setting cores
equal to 1 is useful for assessing the impact of the
parallel computing overhead.
## Benchmark your system ## Not run: res = benchmark_std(3) ## Plot results plot(res) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.