Decision Workspace
span-timing vs metrics-lib vs precision
Side-by-side comparison of Rust crates
51
span-timing
experimentalv0.1.1
A small, dependency-free crate for recording named scope durations in caller-owned counters
59
metrics-lib
stablev1.0.0
High-performance Rust metrics library: sub-2ns counters, sub-1ns gauges, nanosecond timers, tumbling-window rate meters, async timing, adaptive sampling, and system health. Cross-platform with minimal dependencies.
54
precision
growingv0.2.0
High-resolution timing and hardware counter measurements for benchmarking and profiling
Core Metrics
| span-timing | metrics-lib | precision | |
|---|---|---|---|
| Health Score | 51 | 59 | 54 |
| Total Downloads | 237 | 36.5K | 136.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 19 | 14 |
| Releases | 2 | 12 | 23 |
| Last Updated | 48d ago | 144d ago | 15d ago |
| Age | 1m | 1y 1m | 8y 1m |
Health Breakdown
span-timing
Maintenance
11
Quality
17
Community
8
Popularity
3
Documentation
12
metrics-lib
Maintenance
12
Quality
17
Community
10
Popularity
5
Documentation
15
precision
Maintenance
15
Quality
15
Community
9
Popularity
6
Documentation
9
Technical Details
| span-timing | metrics-lib | precision | |
|---|---|---|---|
| Version | 0.1.1 | 1.0.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | ISC |
| Dependencies | 0 | 19 | 5 |
| Crate Size | 6KB | 218KB | 8KB |
| Features | 2 | 17 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.88 | 1.70 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •metrics-lib leads with a health score of 59/100, but none of the options score above 80.
- •precision has the most downloads (136.2K), suggesting wider adoption.
- •span-timing, precision are pre-1.0 — API may change.