Created
November 7, 2017 04:16
-
-
Save adamhsparks/dcde0b8abe903eb309274e531f817fa0 to your computer and use it in GitHub Desktop.
Skeleton for microbenchmarking R code and graphing it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(microbenchmark) | |
| mbm <- microbenchmark( | |
| one = function(), | |
| two = function(), | |
| times = 50 | |
| ) | |
| mbm | |
| library(ggplot2) | |
| autoplot(mbm) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment