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.003 0.000 0.004 #> 2 build 0.011 0.000 0.012 #> 3 render 0.026 0.000 0.025 #> 4 draw 0.029 0.001 0.029 #> 5 TOTAL 0.069 0.001 0.070#> step user.self sys.self elapsed #> 1 construct 0.002 0 0.002 #> 2 build 0.025 0 0.024 #> 3 render 0.075 0 0.075 #> 4 draw 0.084 0 0.084 #> 5 TOTAL 0.186 0 0.185#> step user.self sys.self elapsed #> 1 construct 0.002 0 0.002 #> 2 build 0.011 0 0.011 #> 3 render 0.025 0 0.025 #> 4 draw 0.035 0 0.035 #> 5 TOTAL 0.073 0 0.073