Decision Workspace
thread-tree vs affinitypool vs threadpool
Side-by-side comparison of Rust crates
48
thread-tree
growingv0.3.3
A tree-structured thread pool for splitting jobs hierarchically on worker threads. The tree structure means that there is no contention between workers when delivering jobs.
65
affinitypool
growingv0.6.0
A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity
63
threadpool
growingv1.8.1
A thread pool for running a number of jobs on a fixed set of worker threads.
Core Metrics
| thread-tree | affinitypool | threadpool | |
|---|---|---|---|
| Health Score | 48 | 65 | 63 |
| Total Downloads | 3.2M | 501.4K | 104.7M |
| 30d Downloads | 421.7K | 83.7K | 5.2M |
| Dependents | 11 | 147 | 6.1K |
| Releases | 5 | 11 | 24 |
| Last Updated | 1653d ago | 1d ago | 2205d ago |
| Age | 5y 5m | 1y 4m | 11y 3m |
Health Breakdown
thread-tree
Maintenance
3
Quality
15
Community
10
Popularity
8
Documentation
12
affinitypool
Maintenance
19
Quality
14
Community
12
Popularity
7
Documentation
13
threadpool
Maintenance
4
Quality
20
Community
20
Popularity
8
Documentation
11
Technical Details
| thread-tree | affinitypool | threadpool | |
|---|---|---|---|
| Version | 0.3.3 | 0.6.0 | 1.8.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 2 | 10 | 1 |
| Crate Size | 12KB | 58KB | 14KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | — |
| MSRV | — | — | — |
| Owners | 2 | 1 | 4 (team) |
Links
Quick Verdict
- •affinitypool leads with a health score of 65/100, but none of the options score above 80.
- •threadpool has the most downloads (104.7M), suggesting wider adoption.
- •threadpool is depended on by 6.1K crates — strongest ecosystem trust.
- •⚠ thread-tree, threadpool have not been updated in over a year.
- •thread-tree, affinitypool are pre-1.0 — API may change.