1 unstable release

0.5.0 Feb 19, 2019

#7 in #hdr-histogram

Download history 157/week @ 2025-03-17 198/week @ 2025-03-24 229/week @ 2025-03-31 201/week @ 2025-04-07 150/week @ 2025-04-14 208/week @ 2025-04-21 198/week @ 2025-04-28 230/week @ 2025-05-05 356/week @ 2025-05-12 219/week @ 2025-05-19 291/week @ 2025-05-26 214/week @ 2025-06-02 376/week @ 2025-06-09 221/week @ 2025-06-16 268/week @ 2025-06-23 339/week @ 2025-06-30

1,234 downloads per month
Used in streaming-harness

MIT license

12KB
188 lines

hdrhist is a small footprint hdr histogram in rust. It collects u64 samples in the full u64 value range with precision of 5 most significant bits. You can add new samples in O(1) time (a handful of cycles), and it will never reallocate.

Crates.io Documentation

Adding the dependency

Add the following to your [dependecies] in Cargo.toml.

hdrhist = "^<version>"

where <version> is the desired version of the library. The latest version is Crates.io.

Documentation

The reference documentation is at docs.rs/hdrhist.

No runtime deps