"
This script regenerates inst/benchmarks.json with all current benchmarks. That
file is used by arrow-benchmarks-ci here:
https://github.com/voltrondata-labs/arrow-benchmarks-ci/blob/main/buildkite/benchmark/run.py
to keep track of benchmarks available in a repository.
"
arrowbench::get_package_benchmarks()$name |>
lapply(function(name) {
list(
command = name,
name = paste0("arrowbench/", name),
runner = "arrowbench",
flags = list(language = "R")
)
}) |>
unname() |>
jsonlite::write_json(
path = "inst/benchmarks.json",
pretty = TRUE,
auto_unbox = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.