feat(neon): Add Array extractor #163
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: | |
| branches: | |
| - main | |
| jobs: | |
| bench: | |
| name: regression | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: bencherdev/bencher@main | |
| - name: Use Rust Stable | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: npm | |
| - name: npm install | |
| run: npm ci --prefer-offline --no-audit --no-fund | |
| - name: Install Benchmark Dependencies | |
| working-directory: ./bench | |
| run: npm install | |
| - name: Build Benchmark | |
| working-directory: ./bench | |
| run: npm run build | |
| - name: Track base branch benchmarks with Bencher | |
| if: github.ref_name == 'main' | |
| run: bencher run | |
| --project neon | |
| --token '${{ secrets.BENCHER_API_TOKEN }}' | |
| --branch main | |
| --testbed ubuntu-latest | |
| --adapter json | |
| --github-actions '${{ secrets.GITHUB_TOKEN }}' | |
| npm run --silent benchmark | |
| working-directory: ./bench | |
| - name: Track pull request benchmarks with Bencher | |
| if: github.ref_name != 'main' | |
| run: bencher run | |
| --project neon | |
| --token '${{ secrets.BENCHER_API_TOKEN }}' | |
| --branch "$GITHUB_HEAD_REF" | |
| --start-point "$GITHUB_BASE_REF" | |
| --start-point-hash '${{ github.event.pull_request.base.sha }}' | |
| --start-point-clone-thresholds | |
| --start-point-reset | |
| --testbed ubuntu-latest | |
| --adapter json | |
| --github-actions '${{ secrets.GITHUB_TOKEN }}' | |
| npm run --silent benchmark | |
| working-directory: ./bench |