bench icon indicating copy to clipboard operation
bench copied to clipboard

`bench::press()` should be more generic

Open jimhester opened this issue 5 years ago • 1 comments

E.g. you should be able to use it with system_time() or really anything that returns a data.frame

jimhester avatar Apr 13 '19 03:04 jimhester

Consider that bench::press() currently tries to return a bench_mark() object at the end. We could generalize it a little by only wrapping in a bench_mark class if all of the individual results were bench_marks. Then each press expression could return any arbitrary data frame.

DavisVaughan avatar May 03 '23 14:05 DavisVaughan