powered by
Benchmark plot creation time. Broken down into construct, build, render and draw times.
benchplot(x)
code to create ggplot2 plot
# NOT RUN { benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point()) benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point() + facet_grid(. ~ cyl)) # }
Run the code above in your browser using DataLab