run_one | R Documentation |
Run a Benchmark with a single set of parameters
run_one(
bm,
...,
n_iter = 1,
batch_id = NULL,
dry_run = FALSE,
profiling = FALSE,
progress_bar = NULL,
read_only = FALSE,
run_id = NULL,
run_name = NULL,
run_reason = NULL,
test_packages = NULL
)
bm |
|
... |
parameters passed to |
n_iter |
Integer number of iterations to replicate each benchmark |
batch_id |
a length 1 character vector to identify the batch |
dry_run |
logical: just return the R source code that would be run in
a subprocess? Default is |
profiling |
Logical: collect prof info? If |
progress_bar |
a |
read_only |
this will only attempt to read benchmark files and will not run any that it cannot find. |
run_id |
Unique ID for the run |
run_name |
Name for the run |
run_reason |
Low-cardinality reason for the run, e.g. "commit" or "test" |
test_packages |
a character vector of packages that the benchmarks test (default |
An instance of BenchmarkResult
: an R6 object containing either
"stats" or "error".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.