Decision Workspace
thread-time vs cpu-time vs affinity
Side-by-side comparison of Rust crates
39
thread-time
growingv1.0.0
Small crate that provides CPU time measurement for threads.
52
cpu-time
growingv1.0.0
Small crate that provides CPU time measurement.
49
affinity
growingv0.1.2
Provides a consistent way to set core affinity for currently running threads and processes
Core Metrics
| thread-time | cpu-time | affinity | |
|---|---|---|---|
| Health Score | 39 | 52 | 49 |
| Total Downloads | 19.7K | 23.0M | 1.2M |
| 30d Downloads | 3.2K | 1.2M | 50.8K |
| Dependents | 0 | 655 | 134 |
| Releases | 1 | 2 | 3 |
| Last Updated | 1500d ago | 2343d ago | 1623d ago |
| Age | 4y 1m | 7y 7m | 5y 11m |
Health Breakdown
thread-time
Maintenance
1
Quality
20
Community
5
Popularity
5
Documentation
8
cpu-time
Maintenance
3
Quality
20
Community
13
Popularity
8
Documentation
8
affinity
Maintenance
4
Quality
14
Community
12
Popularity
7
Documentation
12
Technical Details
| thread-time | cpu-time | affinity | |
|---|---|---|---|
| Version | 1.0.0 | 1.0.0 | 0.1.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 4 |
| Crate Size | 3KB | 10KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | — | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cpu-time leads with a health score of 52/100, but none of the options score above 80.
- •cpu-time is depended on by 655 crates — strongest ecosystem trust.
- •⚠ thread-time, cpu-time, affinity have not been updated in over a year.
- •affinity is pre-1.0 — API may change.