benchmark_run_iteration: Run a benchmark iteration

View source: R/core.R

benchmark_run_iterationR Documentation

Run a benchmark iteration

Description

Run a benchmark iteration

Usage

benchmark_run_iteration(
  expr_before_benchmark,
  dots,
  branch,
  block,
  n = getOption("touchstone.n_iterations", 1)
)

Arguments

expr_before_benchmark

Expression to run before the benchmark is ran, will be captured with rlang::enexpr(). So you can use quasiquotation.

dots

list of quoted expressions (length 1).

branch

A character vector of length one to indicate the git branch (i.e. commit, tag, branch etc) of the benchmarking.

block

All branches that appear once in a block.

n

Number of iterations to run a benchmark within an iteration.


lorenzwalthert/touchstone documentation built on April 20, 2024, 9:57 a.m.