runBenchmarks: Function to run a set of predefined benchmarks for different...

View source: R/runBenchmarks.R

runBenchmarksR 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 data.table.

colCount

The number of columns in the data.table.

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.


data.table.threads documentation built on April 3, 2025, 10:08 p.m.