Decision Workspace
sliding-quantile vs histogram vs metrics-util
Side-by-side comparison of Rust crates
45
sliding-quantile
experimentalv0.1.0
Moving quantile over a sliding window of size N with O(1) queries, O(log N) updates, and O(N) memory.
70
histogram
stablev1.6.0
A collection of histogram data structures
62
metrics-util
growingv0.20.4
Helper types/functions used by the metrics ecosystem.
Core Metrics
| sliding-quantile | histogram | metrics-util | |
|---|---|---|---|
| Health Score | 45 | 70 | 62 |
| Total Downloads | 95 | 28.6M | 97.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.7K | 2.2K |
| Releases | 1 | 58 | 50 |
| Last Updated | 123d ago | 25d ago | 149d ago |
| Age | 4m | 11y 2m | 7y 5m |
Health Breakdown
sliding-quantile
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
15
histogram
Maintenance
16
Quality
17
Community
17
Popularity
8
Documentation
12
metrics-util
Maintenance
13
Quality
13
Community
14
Popularity
8
Documentation
14
Technical Details
| sliding-quantile | histogram | metrics-util | |
|---|---|---|---|
| Version | 0.1.0 | 1.6.0 | 0.20.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 9 | 31 |
| Crate Size | 18KB | 117KB | 56KB |
| Features | 4 | 2 | 8 |
| Yanked % | 0.0% | 0.0% | 4.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.95 | 1.85 | 1.71.1 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •histogram leads with a health score of 70/100, but none of the options score above 80.
- •metrics-util has the most downloads (97.6M), suggesting wider adoption.
- •metrics-util is depended on by 2.2K crates — strongest ecosystem trust.
- •sliding-quantile, metrics-util are pre-1.0 — API may change.