Skip to content
Snippets Groups Projects
Commit ab6ab9e2 authored by Aleksander Salek's avatar Aleksander Salek
Browse files

benches added

parents 63153e81 89618ad2
No related merge requests found
......@@ -186,7 +186,7 @@ fn bench_fibs(c: &mut Criterion) {
fn bench_infinit(c: &mut Criterion) {
let mut group = c.benchmark_group("Infinite");
for i in [200u64, 300u64, 500u64, 1_000u64, 2_000u64, 10_000_000u64].iter() {
for i in [200u64, 300u64, 500u64, 1_000u64, 2_000u64, 50_000].iter() {
group.bench_with_input(BenchmarkId::new("Our Generator", i), i, |b, i| {
b.iter(|| infinite_our(*i))
});
......@@ -224,9 +224,10 @@ fn bench_rcs(c: &mut Criterion) {
}
criterion_group!(
benches, // bench_fibs,
// bench_infinit,
// bench_gen_in_gen,
benches,
bench_fibs,
bench_infinit,
bench_gen_in_gen,
bench_rcs
);
criterion_main!(benches);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment