stats

This module is part of bencher package, a simple rewrite in the D programming language of the Rust standard benchmark module.

Original Rust source : https://github.com/rust-lang/rust/blob/master/src/libtest/stats.rs

This module contains data structures and algorithms for doing statistics on benchmarks execution. The focus is put more on precision than execution speed. The algorithms are written to fit for a particular use case and not intended to be used elsewhere.

Members

Functions

winsorize
void winsorize(double[] arr, double pct)

Original rust comment Winsorize a set of samples, replacing values above the 100-pct percentile and below the pct percentile with those percentiles themselves. This is a way of minimizing the effect of outliers, at the cost of biasing the sample. It differs from trimming in that it does not change the number of samples, just changes the values of those that are outliers.

Structs

Summary
struct Summary

A structure that provides simple descriptive statistics on a univariate set of numeric samples.

Meta

Authors

Nouredine Hussain

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).