#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

#2691 in Cryptography

Download history 70/week @ 2024-10-24 57/week @ 2024-10-31 220/week @ 2024-11-07 122/week @ 2024-11-14 38/week @ 2024-11-21 159/week @ 2024-11-28 22/week @ 2024-12-05 2/week @ 2024-12-12

570 downloads per month

MIT/Apache

1.5MB
25K 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

~59–97MB
~2M SLoC