#zk-vm #sp1 #zero-knowledge #succinct

app sp1-perf

A performance evaluation tool for SP1 programs

8 releases (stable)

3.4.0 Nov 29, 2024
3.3.0 Nov 19, 2024
3.1.0 Oct 30, 2024

#619 in Cryptography

Download history 128/week @ 2024-10-05 221/week @ 2024-10-12 69/week @ 2024-10-19 109/week @ 2024-10-26 199/week @ 2024-11-02 37/week @ 2024-11-09 139/week @ 2024-11-16 19/week @ 2024-11-23 164/week @ 2024-11-30

456 downloads per month

MIT/Apache

6.5MB
19K SLoC

SP1 Testing Suite

Prerequisites

Run the testing suite

Set the workloads you want to run in the workflow.sh file. The workloads are keys in the sp1-testing-suite s3 bucket.

CPU_WORKLOADS=("fibonacci-17k" "ssz-withdrawals")
CUDA_WORKLOADS=()
NETWORK_WORKLOADS=()

Run the workflow.

./workflow.sh

View the results

Visit the actions tab on GitHub to view the results.

Uploading new workloads

Take any existing binary that uses sp1-sdk and run it with SP1_DUMP=1. This will dump the program and stdin to the current directory.

SP1_DUMP=1 cargo run --release
aws s3 cp program.bin s3://sp1-testing-suite/<workload>/program.bin
aws s3 cp stdin.bin s3://sp1-testing-suite/<workload>/stdin.bin

Dependencies

~58–96MB
~2M SLoC