From 18c29192032f183b6fde9c4e6ea4b6b5341bbb60 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Fri, 3 Apr 2020 11:06:30 +0200 Subject: [PATCH] Increase maximum iterations for auto benchmarks --- Cargo.toml | 2 +- src/benching.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2d8c348..8bb079e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "benchlib-rs" -version = "0.1.0" +version = "0.1.1" authors = ["Trivernis "] edition = "2018" license-file = "LICENSE" diff --git a/src/benching.rs b/src/benching.rs index 380aff4..53fc9dd 100644 --- a/src/benching.rs +++ b/src/benching.rs @@ -127,7 +127,7 @@ pub struct Bencher { iterations: usize, } -const MAX_AUTO_ITERATIONS: usize = 1000; +const MAX_AUTO_ITERATIONS: usize = 1000000; impl Bencher { pub fn new() -> Self {