plot_past: Scatter plot of past benchmarks

Description Usage Arguments Examples

View source: R/plot_past.R

Description

Plot the previous benchmarks. This function creates two figures.

The data set used is data(past_results).

Usage

1
2
plot_past(test_group, byte_optimize = NULL, 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.

byte_optimize

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

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

1
2
3
4
5
6
7
## Plot non byte optimize code
plot_past("prog", byte_optimize=FALSE)
## Plot all past results for the `prog` benchmark
plot_past("prog")

## Plot the blas_optimized results
plot_past("prog", blas_optimize=TRUE)

benchmarkmeData documentation built on Aug. 29, 2017, 5:04 p.m.