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 0.003 #> 2 build 0.011 0 0.011 #> 3 render 0.019 0 0.018 #> 4 draw 0.026 0 0.025 #> 5 TOTAL 0.059 0 0.057#> step user.self sys.self elapsed #> 1 construct 0.002 0 0.003 #> 2 build 0.017 0 0.017 #> 3 render 0.048 0 0.049 #> 4 draw 0.045 0 0.045 #> 5 TOTAL 0.112 0 0.114#> step user.self sys.self elapsed #> 1 construct 0.002 0 0.002 #> 2 build 0.011 0 0.011 #> 3 render 0.019 0 0.018 #> 4 draw 0.025 0 0.026 #> 5 TOTAL 0.057 0 0.057