This can be helpful for benchmarking.
n_times_faster_with_cache(
x1,
x2 = x1,
...,
fun = styler::style_text,
n = 3L,
clear = "always"
)A scalar indicating the relative difference of the second compared to the first run.
Arguments passed to fun.
The function that should be timed.
The number of times the experiment should be repeated.