mod helpers; mod bench { use bencher::Bencher; use helpers::*; use kzen_paillier::*; pub fn bench_key_generation(b: &mut Bencher) { b.iter(|| { Paillier::keypair_with_modulus_size(KS::size()); }); } benchmark_group!( group, self::bench_key_generation, self::bench_key_generation, self::bench_key_generation, self::bench_key_generation, self::bench_key_generation ); } benchmark_main!(bench::group);