histogram/
lib.rs

1//! This crate provides histogram implementations that are conceptually similar
2//! to HdrHistogram, with modifications to the bucket construction and indexing
3//! algorithms that we believe provide a simpler implementation and more
4//! efficient runtime compared to the reference implementation of HdrHistogram.
5//!
6//! # Goals
7//! * simple implementation
8//! * fine-grained configuration
9//! * efficient runtime
10//!
11//! # Background
12//! Please see: <https://observablehq.com/@iopsystems/h2histogram>
13
14mod atomic;
15mod bucket;
16mod config;
17mod errors;
18mod sparse;
19mod standard;
20
21pub use atomic::AtomicHistogram;
22pub use bucket::Bucket;
23pub use config::Config;
24pub use errors::Error;
25pub use sparse::SparseHistogram;
26pub use standard::Histogram;