runBenchmarks {data.table.threads} | R Documentation |
Function to run a set of predefined benchmarks for different data.table
functions with varying thread counts
Description
Function to run a set of predefined benchmarks for different data.table
functions with varying thread counts
Usage
runBenchmarks(rowCount, colCount, threadCount, times = 10, verbose = TRUE)
Arguments
rowCount |
The number of rows in the |
colCount |
The number of columns in the |
threadCount |
The total number of threads to use. |
times |
The number of times the benchmarks are to be run. |
verbose |
Option (logical) to enable or disable detailed message printing. |
Details
Benchmarks various data.table
functions that are parallelizable (setorder
, GForce_sum
, subsetting
, frollmean
, fcoalesce
, between
, fifelse
, nafill
, and CJ
) with varying thread counts.
Value
A data.table
containing benchmarked timings for each data.table
function with different thread counts.
[Package data.table.threads version 1.0.1 Index]