Skip to content

fix for issue : https://github.com/Totodore/socketioxide/issues/627 #54

fix for issue : https://github.com/Totodore/socketioxide/issues/627

fix for issue : https://github.com/Totodore/socketioxide/issues/627 #54

Workflow file for this run

name: CodSpeed Benchmarks
on:
push:
branches:
- "main"
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
strategy:
matrix:
package:
- engineioxide
- socketioxide-parser-common
- socketioxide-parser-msgpack
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v1
with:
channel: stable
cache-target: release
bins: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build -p ${{ matrix.package }} --all-features
- name: Run the benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: instrumentation
run: cargo codspeed run # only runs the built benchmarks