strip_timing: Strip timing information

Description Usage Arguments Value See Also Examples

View source: R/benchmark_timing_tbl_methods.R

Description

Takes the result of a time_methods() call and remove timing information from the 'timed_result' column, replacing it with a 'result' column and converting it to a benchmark_tbl.

Usage

1
2
3
4
strip_timing(x)

## S3 method for class 'benchmark_timing_tbl'
strip_timing(x)

Arguments

x

the benchmark_timing_tbl object

Value

benchmark_tbl

See Also

unpack_timing

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
datasets <- list(
    data1 = 1:1e8,
)

transforms <- list(
    log = log,
    sqrt = sqrt
)

datasets %>%
    time_methods(transforms) %>%
    strip_timing()

## End(Not run)

CellBench documentation built on Nov. 8, 2020, 5:11 p.m.