Version Benchmarks #73
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Version Benchmarks | |
| on: | |
| # Manual trigger | |
| workflow_dispatch: | |
| # Daily at 3am UTC | |
| schedule: | |
| - cron: '0 3 * * *' | |
| jobs: | |
| benchmark: | |
| name: Run Version Regression Benchmarks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 120 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build benchmarks JAR | |
| run: mvn -B clean package -DskipTests | |
| - name: Install dependencies for report generation | |
| run: sudo apt-get update && sudo apt-get install -y gnuplot jq | |
| - name: Run version regression benchmarks (smoketest mode) | |
| run: ./run-vers.sh smoketest | |
| timeout-minutes: 60 | |
| - name: Generate version regression report | |
| run: ./report-vers.sh | |
| - name: Install wrangler | |
| run: npm install -g wrangler | |
| - name: Publish results to Cloudflare Pages | |
| run: ./publish-results.sh | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} |