#![feature(test)] use rand::{rngs::SmallRng, Rng, SeedableRng}; frand::setup_benches! { _0_bool_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _1_u8_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _2_u16_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _3_u32_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _4_u64_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _5_u128_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _6_f32_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } _7_f64_rand_small_rng { rand: SmallRng::from_entropy(), iteration: rand.gen::(), } }