Analyze Multi-Threading Performance for 'data.table' Functions
Overview
Assists in finding the most suitable thread count for the various 'data.table' routines that support parallel processing.
New Features
- Added a function that computes and adds recommended efficiency plot data (speedup lines and thread count points) based on the
recommendedEfficiencyargument (has been removed fromfindOptimalThreadCount). This allows the user to construct plots without recommended efficiency lines and points, and on the other hand, to easily add them when needed with the help of this function. findOptimalThreadCountnow hasrecommendedEfficiency, an argument for adjusting the slope of the recommended speedup trend/line and the recommended thread count designating point in speedup plots generated by using the plot method on an object returned by the function.- The data used for plotting (consisting of speedup trends/lines and key points) is now accessible via attributes of the
data.tablereturned byfindOptimalThreadCount. - Added new arguments
verboseandtimestorunBenchmarksandfindOptimalThreadCount, allowing users to enable/disable detailed message printing and specify the number of benchmark repetitions. - S3
plotmethod constructs a more intuitiveggplotfordata_table_threads_benchmarkclass objects. - Only user-facing functions are exported.
- Examples have been updated to use namespace qualification.
- Added a function to set the thread count for
data.tableoperations based on recommended/optimal performance (in benchmarks) of a user-specifieddata.tablefunction.
Improvements
- Extensively refactored my codebase to remove redundancy.
- Made several optimizations (using
data.tableoverdata.frame, implementation of faster data aggregation operations, minimizing overhead for various function calls, etc.).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 6
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/anirban166/data.table.threads on 2026-10-18.
The repository owner accepts GitHub Sponsors
Dependencies
Installing data.table.threads adds 19 packages (9 with compiled code, 19 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, isoband 1.5 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.1Latest
- 1.0.02024-10-11
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-10-11
- Total releases
- 2 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 7.9 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("data.table.threads")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.