Remove "benches" feature
Now benches just live with the rest of the code in the default feature.
This commit is contained in:
parent
29ed29cfc3
commit
b426c9e724
@ -36,6 +36,3 @@ ring = { git = "https://github.com/paritytech/ring" }
|
|||||||
[[bin]]
|
[[bin]]
|
||||||
path = "lighthouse/main.rs"
|
path = "lighthouse/main.rs"
|
||||||
name = "lighthouse"
|
name = "lighthouse"
|
||||||
|
|
||||||
[features]
|
|
||||||
benches = []
|
|
||||||
|
@ -66,6 +66,7 @@ fn bench_block_validation_scenario<F>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn bench_block_validation_10m_eth(b: &mut Bencher) {
|
fn bench_block_validation_10m_eth(b: &mut Bencher) {
|
||||||
let total_validators: usize = 10_000_000 / 32;
|
let total_validators: usize = 10_000_000 / 32;
|
||||||
let cycle_length: u8 = 64;
|
let cycle_length: u8 = 64;
|
||||||
@ -105,6 +106,7 @@ fn bench_block_validation_10m_eth(b: &mut Bencher) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn bench_block_validation_100m_eth(b: &mut Bencher) {
|
fn bench_block_validation_100m_eth(b: &mut Bencher) {
|
||||||
let total_validators: usize = 100_000_000 / 32;
|
let total_validators: usize = 100_000_000 / 32;
|
||||||
let cycle_length: u8 = 64;
|
let cycle_length: u8 = 64;
|
||||||
|
Loading…
Reference in New Issue
Block a user