Skip to main content

Module summary_stats

Module summary_stats 

Source
Expand description

Summary statistics over samples that may be missing.

Two functions, both of which exist because the obvious version of them reports a number nobody measured. They live here, and not beside either caller, because both ferrox-server’s serving telemetry and ferrox-cli’s benchmark client summarise latency samples, and two copies of a percentile definition are free to disagree about what a p95 means.

Ported from FreeToken (Apache-2.0); see docs/THIRD_PARTY_NOTICES.md.

Functions§

mean_of_present
The mean of the values that exist.
percentile
The p-th percentile of values, nearest-rank.