Skip to content

[feat] Runtime for short weierstrass curve operations over Fp #1023

[feat] Runtime for short weierstrass curve operations over Fp

[feat] Runtime for short weierstrass curve operations over Fp #1023

Workflow file for this run

name: STARK Recursion Benchmark
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
paths:
- "stark-backend/**"
- "circuits/primitives/**"
- "vm/**"
- "toolchain/compiler/**"
- "lib/recursion/**"
- ".github/workflows/benchmark-call.yml"
label:
types: [created]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
AXIOM_FAST_TEST: "1"
jobs:
benchmark:
uses: ./.github/workflows/benchmark-call.yml
# run on pull request with label 'run-benchmark'
# and always run on push to main
if: |
(github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'run-benchmark')) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
with:
benchmark_name: vm_verify_fibair
secrets: inherit
benchmark_tiny_e2e:
uses: ./.github/workflows/benchmark-call.yml
# run on pull request with label 'run-benchmark' or 'run-benchmark-e2e'
# and always run on push to main
# only run-benchmark-e2e will run halo2 verifier
if: |
(github.event_name == 'pull_request' &&
(contains(github.event.pull_request.labels.*.name, 'run-benchmark') ||
contains(github.event.pull_request.labels.*.name, 'run-benchmark-e2e'))) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
with:
aws_instance_type: r7g.16xlarge
benchmark_name: tiny_e2e
secrets: inherit
benchmark_alu256_e2e:
uses: ./.github/workflows/benchmark-call.yml
# run on pull request with label 'run-benchmark' or 'run-benchmark-e2e'
# and always run on push to main
if: |
(github.event_name == 'pull_request' &&
(contains(github.event.pull_request.labels.*.name, 'run-benchmark') ||
contains(github.event.pull_request.labels.*.name, 'run-benchmark-e2e'))) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
with:
aws_instance_type: r7g.16xlarge
benchmark_name: alu256_e2e
secrets: inherit
benchmark_small_e2e:
uses: ./.github/workflows/benchmark-call.yml
# run on non-draft pull request with label 'run-benchmark'
# and always run on push to main
if: |
(github.event_name == 'pull_request' &&
(contains(github.event.pull_request.labels.*.name, 'run-benchmark') ||
contains(github.event.pull_request.labels.*.name, 'run-benchmark-e2e'))) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
with:
aws_instance_type: r7g.16xlarge
benchmark_name: small_e2e
secrets: inherit