Skip to content

Commit 2697f1a

Browse files
committed
Fix benchnmarks
1 parent 6f3e185 commit 2697f1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benches/generators.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
extern crate test;
1212
extern crate rand;
1313
extern crate rand_isaac;
14+
extern crate rand_chacha;
15+
extern crate rand_hc128;
1416
extern crate rand_xorshift;
1517

1618
const RAND_BENCH_N: u64 = 1000;
@@ -20,11 +22,11 @@ use std::mem::size_of;
2022
use test::{black_box, Bencher};
2123

2224
use rand::prelude::*;
23-
use rand::prng::{Hc128Rng, ChaChaRng};
24-
use rand::prng::hc128::Hc128Core;
2525
use rand::rngs::adapter::ReseedingRng;
2626
use rand::rngs::{OsRng, JitterRng, EntropyRng};
2727
use rand_isaac::{IsaacRng, Isaac64Rng};
28+
use rand_chacha::ChaChaRng;
29+
use rand_hc128::{Hc128Rng, Hc128Core};
2830
use rand_xorshift::XorShiftRng;
2931

3032
macro_rules! gen_bytes {

0 commit comments

Comments
 (0)