mirror of
https://github.com/logos-storage/zk-benchmarks.git
synced 2026-01-08 00:33:12 +00:00
minor changes
This commit is contained in:
parent
8e0eaa92fb
commit
e38c4cf72a
@ -3,7 +3,7 @@ Benchmarking different hashes inside risc'0 zkvm
|
||||
|
||||
The benchmark is defined by the following shell scripts:
|
||||
|
||||
- `build.sh` - build the code. you can set the number of threads by setting the environment variable `CARGO_BUILD_JOBS` otherwise the code will build using default number of threads.
|
||||
- `build.sh` - build the code.
|
||||
|
||||
- `run.sh` and `run2.sh` - run the benchmark itself (`run.sh` for sha256, keccak, blake2b, blake3 and `run2.sh` for poseidon2 over bn128 and babybear)
|
||||
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z ${ZKBENCH_NTHREADS} ]; then
|
||||
ZKBENCH_NTHREADS="default" # https://doc.rust-lang.org/cargo/reference/config.html#buildjobs
|
||||
fi
|
||||
|
||||
CARGO_BUILD_JOBS=$ZKBENCH_NTHREADS cargo build --release
|
||||
cargo build --release
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user