Skip to content

refactor: runtime detect simd features #43

refactor: runtime detect simd features

refactor: runtime detect simd features #43

Workflow file for this run

name: Codspeed
permissions: {}
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
build:
name: Benchmark
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Download fixtures
run: node download-fixtures.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Fixtures
uses: actions/upload-artifact@v4
with:
name: benchmark-fixtures
path: fixtures
- name: Upload rxjs
uses: actions/upload-artifact@v4
with:
name: benchmark-rxjs
path: node_modules/rxjs
run:
runs-on: codspeed-macro
needs: build
steps:
- uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@v2
with:
tool: cargo-codspeed
- name: Build benchmark
run: cargo codspeed build --measurement-mode=walltime --features codspeed
- name: Download fixtures
uses: actions/download-artifact@v5
with:
name: benchmark-fixtures
path: fixtures
- name: Download rxjs
uses: actions/download-artifact@v5
with:
name: benchmark-rxjs
path: node_modules/rxjs
- name: Run benchmark
uses: CodSpeedHQ/action@v4
timeout-minutes: 15
with:
run: cargo codspeed run
mode: walltime
token: ${{ secrets.CODSPEED_TOKEN }}