Commit 7439600e authored by Thomas Daede's avatar Thomas Daede Committed by Thomas Daede
Browse files

Fix README command for running cargo bench.

parent d2e22b93
......@@ -55,7 +55,7 @@ jobs:
- name: "Tests"
script: cargo test --verbose --release --features=decode_test -- --ignored
- name: "Bench"
script: RUSTFLAGS="--cfg rav1e_bench" cargo bench --verbose
script: cargo bench --features=bench --verbose
- name: "Doc & Clippy (linter): verifying code quality"
script:
- cargo doc --verbose --no-deps
......
......@@ -21,6 +21,7 @@ signal_support = ["signal-hook"]
dump_ivf = ["ivf"]
quick_test = []
desync_finder = []
bench = []
[dependencies]
arg_enum_proc_macro = "0.1.1"
......
......@@ -66,6 +66,12 @@ make -j8
./aomdec ../output.ivf -o output.y4m
```
# Configuring
rav1e has several optional features that can be enabled by passing --features to cargo test. Passing --all-features is discouraged.
* nasm - enabled by default. When enabled, assembly is built for x86_64.
# Using the AOMAnalyzer
## Local Analyzer
......@@ -155,7 +161,7 @@ cargo test --release --features=decode_test_dav1d
Run regular benchmarks with:
```
cargo bench
cargo bench --features=bench
```
# Getting in Touch
......
......@@ -186,7 +186,7 @@ mod test_encode_decode_aom;
#[cfg(all(test, feature="decode_test_dav1d"))]
mod test_encode_decode_dav1d;
#[cfg(rav1e_bench)]
#[cfg(feature="bench")]
pub mod bench {
pub mod api { pub use crate::api::*; }
pub mod cdef { pub use crate::cdef::*; }
......
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