You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible that summary(., relative=TRUE) prints relative time with respect to the minimum of each parameter group when using press? If one uses different input size as below, it is clear that with larger sized, timing will be longer than smaller sizes, yet one is more interested in computing within size relative timings?
For future us: This is complicated by the fact that bench::press() returns an object with the same class as bench::mark(), so there is no way for summary.bench_mark() to understand that the relative results need to be computed within each parameter combination.
bench::press() could return a bench_press subclass
bench::press() could add on a parameters attribute that summary.bench_mark() knows to look for (but knowing when to invalidate this could be hard, like if the tibble is sliced by [).
Thanks for this great package!
Would it be possible that
summary(., relative=TRUE)
prints relative time with respect to the minimum of each parameter group when usingpress
? If one uses different input size as below, it is clear that with larger sized, timing will be longer than smaller sizes, yet one is more interested in computing within size relative timings?Thanks!
Created on 2021-02-09 by the reprex package (v1.0.0)
The text was updated successfully, but these errors were encountered: