Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test of benchmarkme functionality.
## Load latest CRAN version of benchmarkme
library(benchmarkme)
## Run a benchmark for a single core
single_perf <- benchmark_std()
## Run a benchmark on multiple cores (here 4)
mutli_perf <- benchmark_std(cores = 4)
## Plot single core performance
plot(single_perf)
## Plot multicore performance
plot(mutli_perf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment