Trait pallet_election_provider_multi_phase::BenchmarkingConfig [−][src]
pub trait BenchmarkingConfig {
    const VOTERS: [u32; 2];
    const TARGETS: [u32; 2];
    const ACTIVE_VOTERS: [u32; 2];
    const DESIRED_TARGETS: [u32; 2];
    const SNAPSHOT_MAXIMUM_VOTERS: u32;
    const MINER_MAXIMUM_VOTERS: u32;
    const MAXIMUM_TARGETS: u32;
}Expand description
Configuration for the benchmarks of the pallet.
Associated Constants
const ACTIVE_VOTERS: [u32; 2]
const ACTIVE_VOTERS: [u32; 2]Range of active voters.
const DESIRED_TARGETS: [u32; 2]
const DESIRED_TARGETS: [u32; 2]Range of desired targets.
const SNAPSHOT_MAXIMUM_VOTERS: u32
const SNAPSHOT_MAXIMUM_VOTERS: u32Maximum number of voters expected. This is used only for memory-benchmarking of snapshot.
const MINER_MAXIMUM_VOTERS: u32
const MINER_MAXIMUM_VOTERS: u32Maximum number of voters expected. This is used only for memory-benchmarking of miner.
const MAXIMUM_TARGETS: u32
const MAXIMUM_TARGETS: u32Maximum number of targets expected. This is used only for memory-benchmarking.