Wrapper for microbenchmark to nicely run it on multiple inputs and plot.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore
.gitignore
CHANGELOG.md
DESCRIPTION
LICENSE
NAMESPACE
README.md
bigobenchmark.Rproj
example.png

README.md

bigobenchmark

Wrapper for microbenchmark to nicely run it on multiple inputs and plot.

Install from GitHub

# library("devtools")
devtools::install_github("m0nhawk/bigobenchmark")

Usage

library("bigobenchmark")
# currently the function SHOULD include parameter `n`
bench <- bigobenchmark(1:n, for(i in 1:n) for(i in 1:n) 1:n, args=seq(from=1, to=100, length.out = 50))
autoplot(bench)

bigobenchmark