move core tests to core (#3355)

* move core tests to core

* remove window

* fix up flaky tests

* test_entryfication needs a singly-threaded banking_stage

* move core benches to core

* remove unnecessary dependencies

* remove core as a member for now, test it like runtime

* stop running tests twice

* remove duplicate runs of tests in perf
This commit is contained in:
Rob Walker
2019-03-18 22:08:21 -07:00
committed by GitHub
parent 5e21268ca0
commit c70412d7bb
26 changed files with 97 additions and 483 deletions

12
core/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));
}