[](https://crates.io/crates/latency-buckets)
Streaming histogram + percentile estimator for LLM call latencies.
30 log-scale buckets, O(1) record, p50/p90/p95/p99 in microseconds.
```rust
use latency_buckets::Histogram;
use std::time::Duration;
let mut h = Histogram::new();
h.record(Duration::from_millis(100));
let p95 = h.percentile(0.95);
```
Zero deps. MIT or Apache-2.0.