Rename benching files

This commit is contained in:
Paul Hauner 2019-03-12 09:57:00 +11:00
parent e81f1c31c9
commit 9de6a0c733
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
3 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
use criterion::Criterion;
use criterion::{criterion_group, criterion_main};
mod block_processing_benches;
mod epoch_processing_benches;
mod bench_block_processing;
mod bench_epoch_processing;
pub const VALIDATOR_COUNT: usize = 300_032;
pub fn state_processing(c: &mut Criterion) {
block_processing_benches::bench_block_processing_n_validators(c, VALIDATOR_COUNT);
epoch_processing_benches::bench_epoch_processing_n_validators(c, VALIDATOR_COUNT);
bench_block_processing::bench_block_processing_n_validators(c, VALIDATOR_COUNT);
bench_epoch_processing::bench_epoch_processing_n_validators(c, VALIDATOR_COUNT);
}
criterion_group!(benches, state_processing,);