Decision Workspace
sliding-quantile vs histogram vs metrics-util
Side-by-side comparison of Rust crates
49
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.
72
histogram
stablev1.5.0
A collection of histogram data structures
65
metrics-util
growingv0.20.4
Helper types/functions used by the metrics ecosystem.
Core Metrics
| sliding-quantile | histogram | metrics-util | |
|---|---|---|---|
| Health Score | 49 | 72 | 65 |
| Total Downloads | 19 | 23.4M | 78.3M |
| 30d Downloads | 0 | 815.8K | 2.6M |
| Dependents | 0 | 1.5K | 1.4K |
| Releases | 1 | 57 | 50 |
| Last Updated | 35d ago | 11d ago | 61d ago |
| Age | 1m | 10y 12m | 7y 2m |
Health Breakdown
sliding-quantile
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
histogram
Maintenance
17
Quality
18
Community
17
Popularity
8
Documentation
12
metrics-util
Maintenance
16
Quality
13
Community
14
Popularity
8
Documentation
14
Technical Details
| sliding-quantile | histogram | metrics-util | |
|---|---|---|---|
| Version | 0.1.0 | 1.5.0 | 0.20.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 7 | 31 |
| Crate Size | 18KB | 82KB | 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 72/100, but none of the options score above 80.
- •metrics-util has the most downloads (78.3M), suggesting wider adoption.
- •histogram is depended on by 1.5K crates — strongest ecosystem trust.
- •sliding-quantile, metrics-util are pre-1.0 — API may change.