elapsed_time.Rd
Run a function with given parameters and cat elapsed time to do it.
elapsed_time(fun, ...)
function to evaluate
parameters of fun
fun(...) and cat time elapsed to run it.
invisible(elapsed_time(runif, 1e6))
#> Evaluating runif ...
#> ... Elapsed time: 0.04477644 secs