benchplot: Benchmark plot creation time. Broken down into construct,...

Description Usage Arguments Examples

View source: R/bench.r

Description

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

Usage

1

Arguments

x

code to create ggplot2 plot

Examples

1
2

Example output

       step user.self sys.self elapsed
1 construct     0.046        0   0.046
2     build     0.194        0   0.195
3    render     0.234        0   0.235
4      draw     0.049        0   0.052
5     TOTAL     0.523        0   0.528
       step user.self sys.self elapsed
1 construct     0.042    0.000   0.042
2     build     0.334    0.004   0.386
3    render     0.347    0.000   0.351
4      draw     0.071    0.000   0.070
5     TOTAL     0.794    0.004   0.849

ggplot2 documentation built on May 30, 2017, 2:36 a.m.