bench_memory: Measure memory that an expression used.

Description Usage Arguments Value Examples

View source: R/bench_time.R

Description

Measure memory that an expression used.

Usage

1

Arguments

expr

A expression to be measured.

Value

A tibble with two columns

Examples

1
2
3
if (capabilities("profmem")) {
  bench_memory(1 + 1:10000)
}

bench documentation built on March 26, 2020, 6:32 p.m.