Skip to content

Add CodSpeed performance benchmarks for codec decode operations #1

Add CodSpeed performance benchmarks for codec decode operations

Add CodSpeed performance benchmarks for codec decode operations #1

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- "main"
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
codspeed:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: simulation
run: npx vitest bench --run