run | R Documentation |
Run an object
run(x, ...)
## S3 method for class 'BenchmarkDataFrame'
run(x, ..., publish = FALSE, run_id = NULL, run_name = NULL, run_reason = NULL)
x |
An S3 classed object to run |
... |
Additional arguments passed through to methods. For
|
publish |
Flag for whether to publish results to a Conbench server. See
"Environment Variables" section for how to specify server details. Requires
the benchconnect CLI is installed; see |
run_id |
Unique ID for the run. If not specified, will be generated. |
run_name |
Name for the run. If not specified, will use |
run_reason |
Required. Low-cardinality reason for the run, e.g. "commit" or "test" |
A modified object containing run results. For run.BenchmarkDataFrame
,
a results
list column is appended.
CONBENCH_URL
: Required. The URL of the Conbench server with no trailing
slash. For arrow, should be https://conbench.ursa.dev
.
CONBENCH_EMAIL
: The email to use for Conbench login. Only required if the
server is private.
CONBENCH_PASSWORD
: The password to use for Conbench login. Only required
if the server is private.
CONBENCH_PROJECT_REPOSITORY
: The repository name (in the format
org/repo
) or the URL (in the format https://github.com/org/repo
).
Defaults to "https://github.com/apache/arrow"
if unset.
CONBENCH_PROJECT_PR_NUMBER
: Recommended. The number of the GitHub pull
request that is running this benchmark, or NULL
if it's a run on the
default branch
CONBENCH_PROJECT_COMMIT
: The 40-character commit SHA of the repo being
benchmarked. If missing, will attempt to obtain it from
arrow::arrow_info()$build_info$git_id
, though this may not be populated
depending on how Arrow was built.
CONBENCH_MACHINE_INFO_NAME
: Will override detected machine host name sent
in machine_info.name
when posting runs and results. Needed for cases where
the actual host name can vary, like CI and cloud runners.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.