powered by
Compare execution time between Julia and R implementations.
benchmark_backends(data, method = "pelt", n_reps = 10, ...)
Data frame with timing results (invisibly).
Test data.
Method to benchmark.
Number of repetitions.
Additional arguments for the method.
# \donttest{ data <- c(rnorm(500), rnorm(500, 3)) benchmark_backends(data, method = "pelt", penalty = log(1000)) # }
Run the code above in your browser using DataLab