fix: fix deprecated proving system commands #80
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Benchmarks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Benchmark library | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install Nargo | |
| uses: noir-lang/[email protected] | |
| with: | |
| toolchain: 1.0.0-beta.18 | |
| - name: Install bb | |
| run: | | |
| curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/next/barretenberg/bbup/install | bash | |
| ~/.bb/bbup -nv 1.0.0-beta.18 | |
| sudo apt install libc++-dev | |
| - name: Build Noir benchmark programs | |
| run: nargo export --skip-brillig-constraints-check | |
| - name: Generate gates report | |
| run: ./ethereum/scripts/build-gates-report.sh | |
| env: | |
| BACKEND: /home/runner/.bb/bb | |
| - name: Store ACIR opcode benchmark result | |
| uses: benchmark-action/github-action-benchmark@v1 | |
| with: | |
| name: "ACIR Opcodes" | |
| tool: "customSmallerIsBetter" | |
| output-file-path: "benchmark-opcodes.json" | |
| gh-pages-branch: "gh-pages" | |
| benchmark-data-dir-path: "dev/bench" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| auto-push: ${{ github.ref == 'refs/heads/main' }} | |
| comment-always: ${{ contains( github.event.pull_request.labels.*.name, 'bench-show') }} | |
| comment-on-alert: true | |
| alert-threshold: "101%" | |
| fail-on-alert: false | |
| max-items-in-chart: 50 | |
| - name: Store gates benchmark result | |
| uses: benchmark-action/github-action-benchmark@v1 | |
| with: | |
| name: "Circuit Size" | |
| tool: "customSmallerIsBetter" | |
| output-file-path: "benchmark-circuit.json" | |
| gh-pages-branch: "gh-pages" | |
| benchmark-data-dir-path: "dev/bench" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| auto-push: ${{ github.ref == 'refs/heads/main' }} | |
| comment-always: ${{ contains( github.event.pull_request.labels.*.name, 'bench-show') }} | |
| comment-on-alert: true | |
| alert-threshold: "101%" | |
| fail-on-alert: false | |
| max-items-in-chart: 50 | |
| skip-fetch-gh-pages: true | |
| - name: Delete export files | |
| run: rm -rf export | |
| - name: Build Brillig benchmark programs | |
| run: nargo export --force-brillig --skip-brillig-constraints-check | |
| - name: Generate brillig report | |
| run: ./ethereum/scripts/build-brillig-report.sh | |
| - name: Store brillig benchmark result | |
| uses: benchmark-action/github-action-benchmark@v1 | |
| with: | |
| name: "Brillig Bytecode Size" | |
| tool: "customSmallerIsBetter" | |
| output-file-path: "benchmark-brillig.json" | |
| gh-pages-branch: "gh-pages" | |
| benchmark-data-dir-path: "dev/bench" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| auto-push: ${{ github.ref == 'refs/heads/main' }} | |
| comment-always: ${{ contains( github.event.pull_request.labels.*.name, 'bench-show') }} | |
| comment-on-alert: true | |
| alert-threshold: "101%" | |
| fail-on-alert: false | |
| max-items-in-chart: 50 | |
| skip-fetch-gh-pages: true |