Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a16z/zkvm-benchmarks
Benchmarks of popular zkVMs including Jolt
https://github.com/a16z/zkvm-benchmarks
arkworks crypto cryptography snark zk zk-snarks zkp zkvm
Last synced: about 1 month ago
JSON representation
Benchmarks of popular zkVMs including Jolt
- Host: GitHub
- URL: https://github.com/a16z/zkvm-benchmarks
- Owner: a16z
- Created: 2024-04-09T15:07:48.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-04-19T20:00:01.000Z (8 months ago)
- Last Synced: 2024-04-19T21:22:53.607Z (8 months ago)
- Topics: arkworks, crypto, cryptography, snark, zk, zk-snarks, zkp, zkvm
- Language: Rust
- Homepage:
- Size: 55.7 KB
- Stars: 41
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zkvm - code
- awesome-zkvm - zkvm-benchmarks (a16z)
README
# zkVM Benchmarks
## Installation
### Install Jolt
```bash
rustup target add riscv32i-unknown-none-elf
```### Install Risc Zero
```bash
cargo install cargo-binstall
cargo binstall cargo-risczero
cargo risczero install
```### Install SP1
```bash
curl -L https://sp1.succinct.xyz | bash
```Follow the instructions outputted by this command then run:
```bash
sp1up
```## Running
To run all benchmarks run:
```bash
make bench-all
```The benchmark results should be outputted in CSV form in `benchmark_outputs`.
To run an individual benchmark run `make bench-jolt`, `make bench-risczero` or `make bench-sp1`.
## Disclaimer
*This code is being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the code. It has not been audited and as such there can be no assurance it will work as intended, and users may experience delays, failures, errors, omissions or loss of transmitted information. Nothing in this repo should be construed as investment advice or legal advice for any particular facts or circumstances and is not meant to replace competent counsel. It is strongly advised for you to contact a reputable attorney in your jurisdiction for any questions or concerns with respect thereto. a16z is not liable for any use of the foregoing, and users should proceed with caution and use at their own risk. See a16z.com/disclosures for more info.*