benchmarkme (version 1.0.3)

benchmark_io: IO benchmarks

Description

Benchmarking reading and writing a csv file (containing random numbers). The tests are essentially write.csv(x) and read.csv(...) where x is a data frame. Of sizeMB.

Usage

benchmark_io(runs = 3, size = c(5, 50), tmpdir = tempdir(),
  verbose = TRUE, cores = 0L)

bm_read(runs = 3, size = c(5, 50), tmpdir = tempdir(), verbose = TRUE)

bm_write(runs = 3, size = c(5, 50), tmpdir = tempdir(), verbose = TRUE)

Arguments

runs

Number of times to run the test. Default 3.

size

a number specifying the approximate size of the generated csv. Must be one of 5 or 50

tmpdir

a non-empty character vector giving the directory name. Default tempdir()

verbose

Default TRUE.

cores

Default 0 (serial). When cores > 0, the benchmark is run in parallel.