From b426c9e7243004f817bc107b673de1b6055838e9 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Sun, 30 Sep 2018 16:09:07 +0930 Subject: [PATCH] Remove "benches" feature Now benches just live with the rest of the code in the default feature. --- Cargo.toml | 3 --- lighthouse/state/block/validation/benches.rs | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 682adbe63b..c076461c32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,3 @@ ring = { git = "https://github.com/paritytech/ring" } [[bin]] path = "lighthouse/main.rs" name = "lighthouse" - -[features] -benches = [] diff --git a/lighthouse/state/block/validation/benches.rs b/lighthouse/state/block/validation/benches.rs index 32427a2ad2..538ade41fa 100644 --- a/lighthouse/state/block/validation/benches.rs +++ b/lighthouse/state/block/validation/benches.rs @@ -66,6 +66,7 @@ fn bench_block_validation_scenario( } #[bench] +#[ignore] fn bench_block_validation_10m_eth(b: &mut Bencher) { let total_validators: usize = 10_000_000 / 32; let cycle_length: u8 = 64; @@ -105,6 +106,7 @@ fn bench_block_validation_10m_eth(b: &mut Bencher) { } #[bench] +#[ignore] fn bench_block_validation_100m_eth(b: &mut Bencher) { let total_validators: usize = 100_000_000 / 32; let cycle_length: u8 = 64;