Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy B. Terriberry
rav1e
Commits
172a1335
Commit
172a1335
authored
Jun 11, 2019
by
Luca Barbato
Committed by
Thomas Daede
Jun 13, 2019
Browse files
Update the benchmarks to use rand_chacha directly
parent
3890ed01
Changes
3
Hide whitespace changes
Inline
Side-by-side
benches/me.rs
View file @
172a1335
...
...
@@ -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
;
...
...
benches/predict.rs
View file @
172a1335
...
...
@@ -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
::
*
;
...
...
benches/transform.rs
View file @
172a1335
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment