Scatter plot of past benchmarks

Share:

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).

Usage

1
2
plot_past(test_group = c("prog", "matrix_fun", "matrix_cal", "read", "write"),
  byte_optimize = NULL, blas_optimize = NULL, log = "y")

Arguments

test_group

One of "prog", "matrix_fun", "matrix_cal", "read", "write". Default it 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 BLASS optimized results, set to TRUE, otherwise FALSE.

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
## Plot non byte optimize code
plot_past(byte_optimize=FALSE)