Rename the module that now contains only GenKeys

This commit is contained in:
Greg Fitzgerald
2019-01-25 22:58:35 -07:00
committed by Grimes
parent d65e7b9fcc
commit 1e43fb587e
6 changed files with 5 additions and 5 deletions

12
benches/gen_keys.rs Normal file
View File

@@ -0,0 +1,12 @@
#![feature(test)]
extern crate test;
use solana::gen_keys::GenKeys;
use test::Bencher;
#[bench]
fn bench_gen_keys(b: &mut Bencher) {
let mut rnd = GenKeys::new([0u8; 32]);
b.iter(|| rnd.gen_n_keypairs(1000));
}