Times two function calls with temporarily enabled cache
This can be helpful for benchmarking.
n_times_faster_with_cache( x1, x2 = x1, ..., fun = styler::style_text, n = 3, 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.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.