strip_timing: Strip timing information

View source: R/benchmark_timing_tbl_methods.R

strip_timingR Documentation

Strip timing information

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

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

## Not run: 
datasets <- list(
    data1 = 1:1e8,
)

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

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

## End(Not run)


Shians/CellBench documentation built on Oct. 16, 2023, 7:54 a.m.