Skip to main content

Module bootstrap

Module bootstrap 

Source
Expand description

Bootstrap confidence intervals. Behind the bootstrap Cargo feature (on by default).

Use this when reporting a percentile to know how WIDE the confidence interval is - “p99 = 230us +- 50us” is meaningful; “p99 = 230us” alone is missing the noise floor.

Functions§

bootstrap_percentile_ci
Bootstrap a percentile estimate with iters resamples, returning the lower + upper bounds of the confidence-level interval. confidence in [0.0, 1.0]; typical value 0.95. Uses a deterministic LCG (SubMsLcg-compatible constants) so results are reproducible across runs given the same seed.