Skip to content

Instantly share code, notes, and snippets.

@seabbs
Created February 11, 2019 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seabbs/13afd2ac53f96aeb937a7753af55fc56 to your computer and use it in GitHub Desktop.
Save seabbs/13afd2ac53f96aeb937a7753af55fc56 to your computer and use it in GitHub Desktop.
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