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

app sp1-perf

A performance evaluation tool for SP1 programs

7 releases (stable)

new 3.3.0 Nov 19, 2024
3.2.1 Nov 7, 2024
3.1.0 Oct 30, 2024

#584 in Cryptography

Download history 144/week @ 2024-10-07 252/week @ 2024-10-14 25/week @ 2024-10-21 119/week @ 2024-10-28 213/week @ 2024-11-04 11/week @ 2024-11-11

383 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

~59–97MB
~2M SLoC