Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1005 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 1005 Bytes

RISC0 v1.2.1 Benchmarks

Prerequisites

  1. Setup as the main README

  2. Install Rust:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    rustup install nightly
  3. Install the Risc0 toolchain:

    curl -L https://risczero.com/install | bash
    source ~/.bashrc
    rzup install
    cargo risczero --version
  4. Install Docker.

Note: Run one round of a small program (e.g., Fibonacci) to download the R0 docker image before benchmarking to avoid affecting benchmark times.

Note: On Ubuntu 22.04, you might need to install libssl1.0 for the Risc0 toolchain. Follow these instructions.

Benchmark

To start the benchmark, make sure you are in the zkvm-bench/risc0 directory and then run:

./run.sh