easybench-rs icon indicating copy to clipboard operation
easybench-rs copied to clipboard

A lightweight rust benchmarking library

Results 9 easybench-rs issues
Sort by recently updated
recently updated
newest added

I saw that bench_env and gen_env both give the function to be benchmarked a mutable reference, not the actual value. Is there a reason for this?

It would be convenient to have a function that just ran its argument once and timed it. For things that take seconds or minutes.

…ial but does not repeat values. This was motivated by realizing when debugging the overflow issues (and adding an assertion) that r2 was a NaN for the `very_slow` test. This...

This sets the minimum data collection time arbitrarily to 1ms, and the max to 10s (also arbitrarily). For me this is a huge win, as it brings my benchmark down...

I'm working on a function like this: ``` pub fn bench_power_scaling(mut gen_env: G, f: F, nmin: usize, nmax: usize) -> ScalingStats where G: FnMut(usize) -> I, F: Fn(&mut I) ->...

Hello, I like this crate and its concise output very much! Why don't you add customizable time limit version of `bench()` and `bench_env()`? My idea is to add the following...

`cargo bench` will execute each target with the `--bench` flag. `cargo test`, however, does not pass that flag. The builtin libtest crate takes advantage of that by only running each...

criterion uses Bias-corrected accelerated (BCA) bootstrapping to estimate the mean and std dev. * http://statwww.epfl.ch/davison/BMA/ * https://hackage.haskell.org/package/statistics-0.14.0.2/docs/Statistics-Resampling-Bootstrap.html

Add a `Stats::plot()` function which outputs the raw data in a way which can be loaded into gnuplot to generate a kernel density estimate.