Add custom benchmark report generation step to workflow

This commit is contained in:
Palash Tyagi 2025-05-11 00:55:29 +01:00
parent 6a9b828ada
commit 9702b6d5c4

View File

@ -36,6 +36,16 @@ jobs:
- name: Run benchmarks - name: Run benchmarks
run: cargo bench --features bench run: cargo bench --features bench
- name: Generate custom benchmark reports
run: |
if [ -d ./target/criterion ]; then
echo "Found benchmark reports, generating custom report..."
else
echo "No benchmark reports found, skipping custom report generation."
exit 1
fi
python .github/scripts/custom_benchmark_report.py
- name: Upload benchmark reports - name: Upload benchmark reports
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: