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
@hadley suggested that perhaps your vroom benchmarks could have nicer breaks for the values that aren't in seconds. This is a quick fix that uses the excellent rounding and parsing code for format.bench_time() and as_bench_time.default():
I imagine that benchmarking things that are longer than a minute are uncommon...we will probably use some version of this for a set of scale_*_difftime() functions in scales/ggplot2 at some point.
The text was updated successfully, but these errors were encountered:
The vroom benchmarks actually aren't using scale_x_bench_time, they are just using scale_y_continuous(labels = function(x) format(bench::as_bench_time(x))), but nicer breaks would definitely be nice!
@hadley suggested that perhaps your vroom benchmarks could have nicer breaks for the values that aren't in seconds. This is a quick fix that uses the excellent rounding and parsing code for
format.bench_time()
andas_bench_time.default()
:Created on 2019-06-17 by the reprex package (v0.2.1)
I imagine that benchmarking things that are longer than a minute are uncommon...we will probably use some version of this for a set of
scale_*_difftime()
functions in scales/ggplot2 at some point.The text was updated successfully, but these errors were encountered: