Skip to content

Apache DataFusion SQL Query Engine

add doc for enable SIMD need `cargo nightly` (#2577)

Yang Jiangc7ed916c49ee
diff --git a/benchmarks/README.md b/benchmarks/README.md
index 6cad607f3d..fb541e4e77 100644
--- a/benchmarks/README.md
+++ b/benchmarks/README.md
@@ -47,7 +47,7 @@ The benchmark can then be run (assuming the data created from `dbgen` is in `./d
cargo run --release --bin tpch -- benchmark datafusion --iterations 3 --path ./data --format tbl --query 1 --batch-size 4096
```
-You can enable the features `simd` (to use SIMD instructions) and/or `mimalloc` or `snmalloc` (to use either the mimalloc or snmalloc allocator) as features by passing them in as `--features`:
+You can enable the features `simd` (to use SIMD instructions, `cargo nightly` is required.) and/or `mimalloc` or `snmalloc` (to use either the mimalloc or snmalloc allocator) as features by passing them in as `--features`:
```
cargo run --release --features "simd mimalloc" --bin tpch -- benchmark datafusion --iterations 3 --path ./data --format tbl --query 1 --batch-size 4096
@@ -113,7 +113,7 @@ RUST_LOG=info cargo run --release
By default the executor will bind to `0.0.0.0` and listen on port 50051.
-You can add SIMD/snmalloc/LTO flags to improve speed (with longer build times):
+You can add SIMD(`cargo nightly` is required)/snmalloc/LTO flags to improve speed (with longer build times):
```
RUST_LOG=info RUSTFLAGS='-C target-cpu=native -C lto -C codegen-units=1 -C embed-bitcode' cargo run --release --bin executor --features "simd snmalloc" --target x86_64-unknown-linux-gnu