print.benchmark: Print method for the benchmark timings.
Description
This is universal method of measurement results representation, which can be
called either implicitly or explicitly. The method uses summary method
to compute aggregated statistics for benchmarking results. print also
provides additional information about the timer precision and overhead, the
execution regime and the number of repeats.
Usage
# S3 method for benchmark
print(
x,
units = "auto",
order = "none",
relative = "median",
details = FALSE,
...
)
# S3 method for summaryBenchmark
print(x, units = "auto", order = "none", ...)
Arguments
x
An object of class benchmark, summaryBenchmark or
meanBenchmark.
units
Character. The units to be used in printing the timings.
The available units are nanoseconds ("ns"), microseconds
("us"), milliseconds ("ms"), seconds ("s").
order
Character. Order results according to this column of the output.
relative
Character. The name or index of the column whose values will
be used to compute relative timings.
details
Logical. Show additional detauls about measurement process.