benchplot: Benchmark Plotter

Description Usage Arguments Details Examples

Description

Simple benchmarks plotter.

Usage

1
benchplot(cores, timings, plot.type = "speedup", title = NULL)

Arguments

cores

Numeric vector containing the cores used in each benchmark.

timings

A dataframe containing the wall-clock timings of each benchmark.

plot.type

character; determines what kind of plot to produce. options are "runtime", "speedup", or "both".

title

character or NULL; plot title.

Details

benchplot() produces simple benchmark plots. If multiple benchmarks are given (i.e., multiple columns are present in the timings dataframe) then the generated plot will automatically plot them against each other, separated by color.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(pbdPROF)

x <- c(1, 2, 4, 6, 8, 10, 12, 16)
y <- c(111.424, 80.696, 42.832, 29.468, 24.060, 19.390, 15.938, 11.860)

benchplot(x, y, "both")

## End(Not run)

RBigData/hpcvis documentation built on May 8, 2019, 4:54 a.m.