|
1 | | -name: Benchmarks |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: |
6 | | - - master |
7 | | - pull_request: |
8 | | - |
9 | | -jobs: |
10 | | - test: |
11 | | - name: Benchmark library |
12 | | - runs-on: ubuntu-latest |
13 | | - steps: |
14 | | - - name: Checkout sources |
15 | | - uses: actions/checkout@v4 |
16 | | - |
17 | | - - name: Install Nargo |
18 | | - uses: noir-lang/noirup@v0.1.3 |
19 | | - with: |
20 | | - toolchain: 0.34.0 |
21 | | - |
22 | | - - name: Install bb |
23 | | - run: | |
24 | | - npm install -g bbup |
25 | | - bbup -nv 0.34.0 |
26 | | -
|
27 | | - - name: Build Noir benchmark programs |
28 | | - run: nargo export |
29 | | - |
30 | | - - name: Generate gates report |
31 | | - run: ./scripts/build-gates-report.sh |
32 | | - env: |
33 | | - BACKEND: /home/runner/.bb/bb |
34 | | - |
35 | | - - name: Compare gates reports |
36 | | - id: gates_diff |
37 | | - uses: noir-lang/noir-gates-diff@1931aaaa848a1a009363d6115293f7b7fc72bb87 |
38 | | - with: |
39 | | - report: gates_report.json |
40 | | - summaryQuantile: 0.9 # only display the 10% most significant circuit size diffs in the summary (defaults to 20%) |
41 | | - |
42 | | - - name: Add gates diff to sticky comment |
43 | | - if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' |
44 | | - uses: marocchino/sticky-pull-request-comment@v2 |
45 | | - with: |
46 | | - # delete the comment in case changes no longer impact circuit sizes |
47 | | - delete: ${{ !steps.gates_diff.outputs.markdown }} |
48 | | - message: ${{ steps.gates_diff.outputs.markdown }} |
| 1 | +# name: Benchmarks |
| 2 | + |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - master |
| 7 | +# pull_request: |
| 8 | + |
| 9 | +# jobs: |
| 10 | +# test: |
| 11 | +# name: Benchmark library |
| 12 | +# runs-on: ubuntu-latest |
| 13 | +# steps: |
| 14 | +# - name: Checkout sources |
| 15 | +# uses: actions/checkout@v4 |
| 16 | + |
| 17 | +# - name: Install Nargo |
| 18 | +# uses: noir-lang/noirup@v0.1.3 |
| 19 | +# with: |
| 20 | +# toolchain: 0.36.0 |
| 21 | + |
| 22 | +# - name: Install bb |
| 23 | +# run: | |
| 24 | +# npm install -g bbup |
| 25 | +# bbup -nv 0.36.0 |
| 26 | + |
| 27 | +# - name: Build Noir benchmark programs |
| 28 | +# run: nargo export |
| 29 | + |
| 30 | +# - name: Generate gates report |
| 31 | +# run: ./scripts/build-gates-report.sh |
| 32 | +# env: |
| 33 | +# BACKEND: /home/runner/.bb/bb |
| 34 | + |
| 35 | +# - name: Compare gates reports |
| 36 | +# id: gates_diff |
| 37 | +# uses: noir-lang/noir-gates-diff@1931aaaa848a1a009363d6115293f7b7fc72bb87 |
| 38 | +# with: |
| 39 | +# report: gates_report.json |
| 40 | +# summaryQuantile: 0.9 # only display the 10% most significant circuit size diffs in the summary (defaults to 20%) |
| 41 | + |
| 42 | +# - name: Add gates diff to sticky comment |
| 43 | +# if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' |
| 44 | +# uses: marocchino/sticky-pull-request-comment@v2 |
| 45 | +# with: |
| 46 | +# # delete the comment in case changes no longer impact circuit sizes |
| 47 | +# delete: ${{ !steps.gates_diff.outputs.markdown }} |
| 48 | +# message: ${{ steps.gates_diff.outputs.markdown }} |
0 commit comments