wrswoR.benchmark (version 0.1-1)

timings: Run time data

Description

Run times measured on an Intel(R) Xeon(R) CPU X5680 clocked at 3.33 GHz with 12 MB cache, running RedHat Enterprise Linux, R 3.2.3 and gcc 4.8.5, using version 0.4 of the wrswoR package. The data are created by the corresponding scripts in the data_raw directory.

Arguments

Format

A data frame with 5 columns:
prob
A description of the probability distribution used. See data_raw/benchmark.R for details.
expr
Function name without the sample_int_ prefix.
time
Run time in nanoseconds, as measured by microbenchmark
r
Ratio between the size and n arguments.
n
The n argument.

Details

timings contains run times for a larger range of values for the n argument.

break_even contains detailed run times for the analysis of break-even points between the various implementations.

Examples

Run this code
head(timings)
head(break_even)

Run the code above in your browser using DataLab