big_o
Infers asymptotic computational complexity.
big_o helps to estimate computational complexity of algorithms by inspecting measurement data (eg. execution time, memory consumption, etc). Users are expected to provide measurement data, big_o will try to fit a set of complexity models and return the best fit.
Example
use assert_approx_eq;
// f(x) = gain * x ^ 2 + offset
let data = vec!;
let = infer_complexity.unwrap;
assert_eq!;
assert_eq!;
assert_approx_eq!;
assert_approx_eq!;