R/bench.r
benchplot.Rd
Benchmark plot creation time. Broken down into construct, build, render and draw times.
benchplot(x)
x | code to create ggplot2 plot |
---|
#> step user.self sys.self elapsed #> 1 construct 0.006 0 0.006 #> 2 build 0.024 0 0.024 #> 3 render 0.029 0 0.029 #> 4 draw 0.040 0 0.039 #> 5 TOTAL 0.099 0 0.098#> step user.self sys.self elapsed #> 1 construct 0.004 0 0.004 #> 2 build 0.026 0 0.027 #> 3 render 0.072 0 0.071 #> 4 draw 0.065 0 0.066 #> 5 TOTAL 0.167 0 0.168#> step user.self sys.self elapsed #> 1 construct 0.003 0 0.003 #> 2 build 0.016 0 0.016 #> 3 render 0.029 0 0.029 #> 4 draw 0.077 0 0.077 #> 5 TOTAL 0.125 0 0.125