Skip to content

Commit

Permalink
increased iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
rlkelly committed May 12, 2018
1 parent 6149c2f commit ff5e1c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ mod tests {
fn bench_gen_keys(b: &mut Bencher) {
let seed: &[_] = &[1, 2, 3, 4];
let rnd = GenKeys::new(seed);
b.iter(|| rnd.gen_n_keys(100, 1));
b.iter(|| rnd.gen_n_keys(1000, 1));
}

#[bench]
fn bench_gen_keys2(b: &mut Bencher) {
let seed: &[_] = &[1, 2, 3, 4];
let rnd = GenKeys2::new(seed);
b.iter(|| rnd.gen_n_keys(100, 1));
b.iter(|| rnd.gen_n_keys(1000, 1));
}

#[test]
Expand Down

0 comments on commit ff5e1c6

Please sign in to comment.