n_times_faster_with_cache | R Documentation |
This can be helpful for benchmarking.
n_times_faster_with_cache(
x1,
x2 = x1,
...,
fun = styler::style_text,
n = 3L,
clear = "always"
)
... |
Arguments passed to |
fun |
The function that should be timed. |
n |
The number of times the experiment should be repeated. |
A scalar indicating the relative difference of the second compared to the first run.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.