View source: R/main_benchmark.R
run_benchmark | R Documentation |
The run_benchmark
function runs
microbenchmark
for specified tools
and test datasets
run_benchmark(testset, toolset, times = 5, unit = "ms", use_sys_time = FALSE)
testset |
A character vector to specify a test set generated by
|
toolset |
A character vector to specify a tool set generated by
|
times |
The number of iteration used in
|
unit |
A single string to specify the unit used in
|
use_sys_time |
A Boolean value to specify
|
A data frame of microbenchmark results with additional columns.
create_testset
to generate a test dataset.
create_toolset
to generate a tool set.
microbenchmark
for benchmarking
details.
## Not run:
## Benchmarking for b10 and i10 test sets and crv5, auc5, and def5 tool sets
testset <- create_testset("bench", c("b10", "i10"))
toolset <- create_toolset(set_names = "def5")
res1 <- run_benchmark(testset, toolset)
res1
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.