Commit 172a1335 authored by Luca Barbato's avatar Luca Barbato Committed by Thomas Daede
Browse files

Update the benchmarks to use rand_chacha directly

parent 3890ed01
......@@ -11,7 +11,8 @@ use criterion::*;
use crate::partition::*;
use crate::partition::BlockSize::*;
use crate::plane::*;
use rand::{ChaChaRng, Rng, SeedableRng};
use rand::{Rng, SeedableRng};
use rand_chacha::ChaChaRng;
use rav1e::me;
use rav1e::Pixel;
......
......@@ -8,7 +8,8 @@
// PATENTS file, you can obtain it at www.aomedia.org/license/patent.
use criterion::*;
use rand::{ChaChaRng, Rng, RngCore, SeedableRng};
use rand::{Rng, RngCore, SeedableRng};
use rand_chacha::ChaChaRng;
use rav1e::partition::BlockSize;
use rav1e::predict::{Block4x4, Intra};
use crate::plane::*;
......
......@@ -8,7 +8,8 @@
// PATENTS file, you can obtain it at www.aomedia.org/license/patent.
use criterion::*;
use rand::{ChaChaRng, Rng, SeedableRng};
use rand::{Rng, SeedableRng};
use rand_chacha::ChaChaRng;
use rav1e::transform;
fn bench_idct4(b: &mut Bencher, bit_depth: &usize) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment