Type: | Package |
Title: | Data Set for the 'benchmarkme' Package |
Version: | 1.0.4 |
Maintainer: | Colin Gillespie <csgillespie@gmail.com> |
Description: | Crowd sourced benchmarks from running the 'benchmarkme' package. |
License: | GPL-2 | GPL-3 |
URL: | https://github.com/csgillespie/benchmarkme-data |
BugReports: | https://github.com/csgillespie/benchmarkme-data/issues |
Depends: | R (≥ 3.5.0) |
Imports: | dplyr, graphics, tibble, utils |
Suggests: | benchmarkme, covr, DT, testthat |
Encoding: | UTF-8 |
LazyData: | TRUE |
RoxygenNote: | 7.1.0 |
NeedsCompilation: | no |
Packaged: | 2020-04-23 14:36:15 UTC; ncsg3 |
Author: | Colin Gillespie |
Repository: | CRAN |
Date/Publication: | 2020-04-23 15:10:02 UTC |
The benchmarkmeData package
Description
This package contains the results from users running the
benchmarkme package. The key function is plot_past()
.
Author(s)
See Also
https://github.com/csgillespie/benchmarkme-data
Examples
plot_past("prog")
Interactive table of results
Description
A summary of past results
Usage
get_datatable_past(test_group, blas_optimize = NULL, cores = 0)
Arguments
test_group |
One of "prog", "matrix_fun", "matrix_cal", "read5", "read50", "read200",
"write5", "write50" or "write200". Default value |
blas_optimize |
Default |
cores |
Default |
Examples
## Need the DT package
## View all results for prog test
get_datatable_past("prog")
BLAS optimize
Description
Try to determine parallel BLAS, which implies non-standard R! Compare user with elapsed time. If user >> elapsed, then parallel BLAS
Usage
is_blas_optimize(results)
Arguments
results |
The output from a |
Functions for manipulating uploaded results
Description
Functions used for moving and creating the past_results_v2
data set from
uploaded data. The move_files
function is used to moved files from the server
to another location, whilst removing any empty data sets.
Usage
make_data_set(from)
move_files(from, to)
Arguments
from |
A directory containing the uploaded results. |
to |
Destination directory |
Note
One of the unit tests uploads an empty results file.
Files where the results are NULL
are moved to a sub-directory (called)
empty
in the to
directory. If the empty
directory doesn't
exist, it is created.
Currently these functions are specific to my set-up.
Benchmarking results
Description
A summary of past benchmarks.
Format
A data frame
Benchmarking results
Description
A summary of past benchmarks.
Format
A data frame
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 |
blas_optimize |
Default |
cores |
Default |
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
## Plot all past results for the `prog` benchmark
plot_past("prog", blas_optimize = NULL)
Selecting results
Description
Selects and aggregates over the past_results_v2
data set or the
results
input data set..
Usage
summarise_results(res)
select_results(test_group, results = NULL, blas_optimize = NULL, cores = 0)
Arguments
res |
A list containing benchmark results and system information. |
test_group |
One of "prog", "matrix_fun", "matrix_cal", "read5", "read50", "read200",
"write5", "write50" or "write200". Default value |
results |
Default |
blas_optimize |
Default |
cores |
Default |
Value
A data frame
Examples
select_results("prog", blas_optimize = NULL)