Benchmark plot creation time. Broken down into construct, build, render and draw times.

Description

Benchmark plot creation time. Broken down into construct, build, render and draw times.

Usage

1
benchplot(x)

Arguments

x

code to create ggplot2 plot

Examples

1
2
benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point())
benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point() + facet_grid(. ~ cyl))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.