2024-01-08 22:53:37 +05:30
Benchmarking different hashes inside risc'0 zkvm
-----------------------------------------------
2023-11-09 15:14:59 +05:30
2024-01-08 22:53:37 +05:30
The benchmark is defined by the following shell scripts:
2023-11-09 15:14:59 +05:30
2024-01-11 20:27:58 +05:30
- `build.sh` - build the code.
2023-11-09 15:14:59 +05:30
2024-01-08 22:53:37 +05:30
- `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)
2023-11-09 15:14:59 +05:30
2024-01-08 22:53:37 +05:30
Benchmarks can be parameterized using environment variables. By convention, we start the names of these environment variables with the `ZKBENCH_` prefix.
2023-11-09 15:14:59 +05:30
2024-01-08 22:53:37 +05:30
Additional files `bench.cfg` and `bench_tree.cfg` specifies the configurations and parameters.