Expand description
Statistical functions for benchmarking analysis.
This crate provides pure statistical functions with no I/O dependencies.
It is designed to be used by perfgate-domain and can be independently
tested and versioned.
§Overview
The crate provides:
- Summary statistics (median, min, max) for
u64andf64slices - Percentile calculation
- Mean and variance computation
Enums§
Functions§
- mean_
and_ variance - Compute sample mean and unbiased variance (Welford’s algorithm).
- median_
f64_ sorted - median_
u64_ sorted - percentile
- Compute the
q-th percentile (0.0–1.0) using linear interpolation. - summarize_
f64 - Compute min, max, and median for an
f64slice. - summarize_
u64 - Compute min, max, and median for a
u64slice.