1 unstable release

0.5.0 Feb 19, 2019

#3 in #hdr-histogram

Download history 111/week @ 2024-07-19 105/week @ 2024-07-26 145/week @ 2024-08-02 121/week @ 2024-08-09 85/week @ 2024-08-16 139/week @ 2024-08-23 134/week @ 2024-08-30 151/week @ 2024-09-06 255/week @ 2024-09-13 357/week @ 2024-09-20 262/week @ 2024-09-27 213/week @ 2024-10-04 258/week @ 2024-10-11 432/week @ 2024-10-18 339/week @ 2024-10-25 137/week @ 2024-11-01

1,204 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.


lib.rs:

hdrhist is a small footprint hdr histogram.

It collects u64 values 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.

No runtime deps