Skip to content

Commit 14066f2

Browse files
committed
added Benchmark Documentation
1 parent 963aff2 commit 14066f2

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/cont-bench.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,30 @@ jobs:
5151
- name: Run Benchmark Cases
5252
run: |
5353
(cd pr && ./mfc.sh bench -o bench.yaml)
54-
find pr/ -maxdepth 1 -name "*.yaml" -exec sh -c 'yq eval -o=json "$1" > "${1%.yaml}.json"' _ {} \;
54+
find pr -maxdepth 1 -name "*.yaml" -exec sh -c 'yq eval -o=json "$1" > "${1%.yaml}.json"' _ {} \;
55+
56+
- name: Create Benchmark Documentation
57+
run: |
58+
mkdir -p pr/docs/documentation
59+
cat > pr/docs/documentation/cont-bench.md << 'EOF'
60+
# Continuous Benchmarking
61+
62+
## Overview
63+
64+
The continuous benchmarking system automatically runs performance tests on every approved pull request and main branch commit to track performance regressions and improvements over time.
65+
66+
## Benchmark Results
67+
68+
### Live Dashboard
69+
70+
View the interactive benchmark dashboard with historical performance data:
71+
72+
**[🔗 Live Benchmark Results](https://mflowcode.github.io/MFC/benchmarks/)**
73+
74+
*Last updated: $(date '+%Y-%m-%d %H:%M:%S UTC')*
75+
*Generated automatically by the continuous benchmarking workflow*
76+
EOF
77+
5578
5679
- name: Archive Results
5780
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)