Skip to content

Optimized primitive sets of native functions (#1914) #7896

Optimized primitive sets of native functions (#1914)

Optimized primitive sets of native functions (#1914) #7896

Workflow file for this run

name: bench
on:
push:
branches:
- main
pull_request:
concurrency:
group: bench-${{ github.ref }}
cancel-in-progress: true
jobs:
interpret:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-15
options:
-
- -d
exclude:
- os: ${{ github.ref == 'refs/heads/main' && 'none' || 'macos-15' }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: tools/bench.sh ${{ matrix.options }}
bencher:
strategy:
matrix:
os:
- ubuntu-24.04
- macos-15
permissions:
checks: write
pull-requests: write
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- uses: ./.github/actions/setup
- run: tools/ci/bencher.sh -o ${{ matrix.os }}
env:
BENCHER_TOKEN: ${{ secrets.BENCHER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bench:
needs:
- interpret
if: always()
runs-on: ubuntu-latest
steps:
- run: for result in ${{ join(needs.*.result, ' ') }}; do [ $result = success ]; done