Skip to content

ci: do benchmark for solana-runtime #2

ci: do benchmark for solana-runtime

ci: do benchmark for solana-runtime #2

Workflow file for this run

name: Rust Example
on:
push:
branches:
- master
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Run Rust benchmark example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run benchmark
run: |
source ci/rust-version.sh
cargo +$rust_nightly bench -p solana-runtime | tee output.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: bench-solana-runtime
tool: "cargo"
output-file-path: output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true