mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-10 16:01:28 +01:00
update readme
This commit is contained in:
@@ -81,12 +81,7 @@ Compiling with `adcxq`, `adoxq` and `mulxq` instructions can lead to a 30-70% sp
|
|||||||
RUSTFLAGS="--emit=asm -C target-feature=+bmi2,+adx" cargo +nightly test/build/bench --features asm
|
RUSTFLAGS="--emit=asm -C target-feature=+bmi2,+adx" cargo +nightly test/build/bench --features asm
|
||||||
```
|
```
|
||||||
|
|
||||||
To run with multiple features, make sure to double quote the features. e.g.
|
To bench `algebra-benches` with greater accuracy, especially for functions with execution times on the order of nanoseconds, use the `n_fold` feature. To run with multiple features, make sure to double quote the features.
|
||||||
```bash
|
|
||||||
RUSTFLAGS="--emit=asm -C target-feature=+bmi2,+adx" cargo +nightly test --features "asm bls12_381"
|
|
||||||
```
|
|
||||||
|
|
||||||
To bench `algebra-benches` with greater accuracy, especially for functions with execution times on the order of nanoseconds, use the `n_fold` feature
|
|
||||||
```bash
|
```bash
|
||||||
cargo +nightly bench --features "n_fold bls12_381"
|
cargo +nightly bench --features "n_fold bls12_381"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user