#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

#670 in Cryptography

47 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

~60–96MB
~2M SLoC