Shiny benchmarks

[This article was first published on R – Why?, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

A couple of months ago, the first version of benchmarkme was released. Around 140 machines have now been benchmarked. From the fastest (an Apple i7) which ran the tests in around 10 seconds, to the slowest (an Atom(TM) CPU N450 @ 1.66GHz) which took 420 seconds! Other interesting statistics:

  • Around 6% of people ran BLAS optimised versions of R;
  • No-one (except for machines that I used) ran a byte compiled version of the package.

I intend to write to a blog post or two on BLAS and byte compiling, but for the meantime you can investigate the results via the new shiny interface. The package is still only available on github and can be installed via:

## Update the package install.packages(c("drat", "httr", "Matrix", "shiny")) drat::addRepo("csgillespie") install.packages("benchmarkme", type="source")

You then load the package in the usual way

library("benchmarkme") ## View past results plot_past() ## shine() # Needs shiny ## get_datatable_past() # Needs DT

To benchmark your system, use

## This will take somewhere between 0.5 and 5 minutes ## Increase runs if you have a higher spec machine res = benchmark_std(runs=3)

You can then compare your results other users

plot(res) ## shine(res) ## get_datatable(res)

and upload your results

## You can control exactly what is uploaded. See details below. upload_results(res)

This function returns a unique identifier that will allow you to identifier your results from the public data sets.


To leave a comment for the author, please follow the link and comment on their blog: R – Why?.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)