Skip to content

chore(deps): tokio ^1.42 (#1511) #617

chore(deps): tokio ^1.42 (#1511)

chore(deps): tokio ^1.42 (#1511) #617

Workflow file for this run

name: Benchmarks
on:
schedule:
- cron: "0 5 * * 6" # Every Saturday at 5:00 UTC
push:
branches:
- master
jobs:
bench:
name: Benchmarks
runs-on: parity-benchmark
container:
image: "paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240109"
steps:
- name: Checkout Sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Rust Cache
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
- name: run benchmarks
run: cargo bench -p jsonrpsee-benchmarks -- --output-format bencher | tee output.txt
- name: Store benchmark result
uses: rhysd/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
with:
tool: "cargo"
output-file-path: "output.txt"
benchmark-data-dir-path: "bench/dev2"
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
auto-push: true