runtime: The runtime of some code

Description Usage Arguments Examples

View source: R/tools.R

Description

This function can be used, when you want to benchmark, but also access the results.

Usage

1

Arguments

...

Some code

The output of the code with an attribute "runtime"

Examples

1
2
3
runtime({
paste0(1:260000, letters, LETTERS)
})

dlill/conveniencefunctions documentation built on Aug. 11, 2018, 1:03 p.m.