benchmark_write: Write a benchmark

View source: R/io.R

benchmark_writeR Documentation

Write a benchmark

Description

Write a benchmark

Usage

benchmark_write(
  benchmark,
  name,
  branch,
  block = NA,
  iteration = NA,
  append = TRUE
)

Arguments

benchmark

The result of bench::mark(), with iterations = 1.

name

The name of the benchmark.

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.

iteration

An integer indicating to which iteration the benchmark refers to. Multiple iterations within a block always benchmark the same branch.

append

Whether to append the result to the file or not.

Value

Character vector of length one with path to the record written (invisibly).


lorenzwalthert/touchstone documentation built on Nov. 8, 2024, 2:32 a.m.