XXX: Estimate Time To Execute Function

Description Usage Arguments Value

View source: R/dataParallel.R

Description

Estimate Time To Execute Function

Usage

1
XXX(maxWorker, sizeInput, sizeOutput)

Arguments

maxWorker

integer number of parallel workers to use

sizeInput

numeric size of each input element in bytes

sizeOutput

numeric size of each output element in bytes

Value

list with the following elements:

serialTime

Time in seconds to execute the function in serial

parallelTime

Time in seconds to execute the function in parallel

elementsParallelFaster

Number of data elements required for a parallel version with maxWorker workers to be faster than serial. Can be Inf if parallel will never be faster than serial.


clarkfitzg/codedoctor documentation built on Nov. 18, 2020, 4:34 p.m.