Learn R Programming

benchmarkmeData (version 1.0.4)

plot_past: Scatter plot of past benchmarks

Description

Plot the previous benchmarks. This function creates two figures.

  • Figure 1: Total benchmark time over all benchmarks (in seconds) on the y-axis.

  • Figure 2: Relative time (compared to the smallest benchmark).

The data set used is data(past_results_v2).

Usage

plot_past(test_group, blas_optimize = NULL, cores = 0, log = "y")

Arguments

test_group

One of "prog", "matrix_fun", "matrix_cal", "read5", "read50", "read200", "write5", "write50" or "write200". Default value prog.

blas_optimize

Default NULL. The default behaviour is to plot all results. To plot only the BLAS optimized results, set to TRUE, otherwise FALSE.

cores

Default 0, i.e. no parallel.

log

By default the y axis is plotted on the log scale. To change, set the the argument equal to the empty parameter string, "".

Examples

Run this code
# NOT RUN {
## Plot all past results for the `prog` benchmark
plot_past("prog", blas_optimize = NULL)
# }

Run the code above in your browser using DataLab