Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fix nightly bench
Browse files Browse the repository at this point in the history
  • Loading branch information
sakridge authored and garious committed May 23, 2018
1 parent f3c4acc commit 75e69ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,11 @@ mod bench {

use self::test::Bencher;
use super::*;
use std::collections::HashSet;
use std::iter::FromIterator;

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

0 comments on commit 75e69ee

Please sign in to comment.