Write a benchmark
benchmark_write(
benchmark,
name,
branch,
block = NA,
iteration = NA,
append = TRUE
)
The result of bench::mark()
, with iterations = 1
.
The name of the benchmark.
A character vector of length one to indicate the git branch (i.e. commit, tag, branch etc) of the benchmarking.
All branches that appear once in a block.
An integer indicating to which iteration the benchmark
refers to. Multiple iterations within a block always benchmark the same
branch
.
Whether to append the result to the file or not.
Character vector of length one with path to the record written (invisibly).