3 Commits

Author SHA1 Message Date
Palash Tyagi
ca7cea2c8b Merge a59c4c56bf into aeaf936380 2025-05-03 17:22:00 +01:00
Palash Tyagi
a59c4c56bf Update benchmark report naming to include commit SHA for better traceability 2025-05-03 17:21:56 +01:00
Palash Tyagi
8cb33bc096 Add GitHub Actions workflow for running benchmarks and uploading reports 2025-05-03 17:20:11 +01:00

29
.github/workflows/run-benchmarks.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Run benchmarks
on:
workflow_dispatch:
push:
branches:
- main
jobs:
run-benchmarks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run benchmarks
run: cargo bench
- name: Upload benchmark reports
uses: actions/upload-artifact@v3
with:
name: benchmark-reports-${{ github.sha }}
path: ./target/criterion/