Description Usage Arguments Value Author(s) Examples
bigobenchmark runner
1 2 |
... |
Expressions to benchmark. Passed to |
args |
List of arguments to run functions on. |
list |
List of unevaluated expression to benchmark. Passed to |
times |
Number of times to evaluate the expression. Passed to |
check |
Function to check if the expressions are equal. By default |
control |
List of control arguments. See Details section for |
An object of class bigobenchmark
.
Andrew Prokhorenkov
1 2 3 | # Measure difference between linear and quadratic functions
bench <- bigobenchmark(cumsum(1:n), cumprod(1:n), args=seq(from=1000, to=10000, length.out = 50))
bench
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.