Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 425 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 425 Bytes

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)