mark()columns memory, result and mem_alloc columns are now always included, even if they are unused.
bench_process_memory() function, to return the current and maximum memory used by the current process. This uses system functions to track memory, so can measure memory outside of R’s GC heap.
mark() gains a
memory argument to control if it records memory allocations, set
memory = FALSE to disable recording memory allocations, which can be helpful when trying to benchmark long pieces of code with many allocations (#62).
mark() now errors correctly when the expressions deparsed length is different.
bench_expr now has a class of
c("bench_expr", "list") rather than
c("bench_expr", "expression"), as it is really a list of calls rather than a true expression object. (https://github.com/r-lib/vctrs/issues/559)
bench_memory() to capture just the memory allocated by an expression.
hires_time() allows you to explicitly capture high resolution time points.
workout() a new function which makes timing multiple expressions in turn simpler.
scale_bench_bytes() now allow you to use a non-logarithmic scale.