This is an automated email from the ASF dual-hosted git repository.
dheres pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new c7ed916c4 add doc for enable SIMD need `cargo nightly` (#2577)
c7ed916c4 is described below
commit c7ed916c49ee872e73087b0b3d255e5cefb6c4b1
Author: Yang Jiang <[email protected]>
AuthorDate: Fri May 20 11:15:45 2022 +0800
add doc for enable SIMD need `cargo nightly` (#2577)
---
benchmarks/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/benchmarks/README.md b/benchmarks/README.md
index 6cad607f3..fb541e4e7 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