useMicrobenchmarkWrapper: Insert microbenchmark object into benchmarkVis application

Description Usage Arguments Value Examples

View source: R/microbenchmarkWrapper.R

Description

Create a data table useable with the benchmarkVis application out of an microbenchmark object. All important imformation will be exluded from the input object and transformed into a appropriate data table

Usage

1

Arguments

benchmark

a microbenchmark object

Value

a data table with the benchmarkVis specific structure

Examples

1
2
3
4
5
6
7
library(microbenchmark)
x = runif(100)
benchmark = microbenchmark(
sqrt(x),
x ^ 0.5
)
dt = useMicrobenchmarkWrapper(benchmark)

collinleiber/benchmarkVis documentation built on April 29, 2018, 4:20 p.m.