Slightly nicer use statements for compute functions (#466) #283
This file contains 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: [ "develop" ] | |
workflow_dispatch: { } | |
permissions: | |
actions: read | |
contents: write | |
deployments: write | |
jobs: | |
bench: | |
runs-on: ubuntu-latest-large | |
if: ${{ github.event_name == 'workflow_dispatch' || (contains(github.event.head_commit.message, '[benchmark]') && github.ref_name == 'develop') }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: ./.github/actions/cleanup | |
- uses: ./.github/actions/setup-rust | |
- uses: ./.github/actions/setup-python | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
- name: Bench - Vortex | |
run: cargo bench | tee bench.txt | |
- name: Store benchmark result | |
uses: benchmark-action/[email protected] | |
with: | |
name: Vortex Benchmarks | |
tool: cargo | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
output-file-path: bench.txt | |
summary-always: true | |
auto-push: true | |
fail-on-alert: false |