Migrate to veewee/xml v4 and PHP 8.4+ #16
Workflow file for this run
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: Benchmarks | |
| on: [pull_request] | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| name: Performance regression check | |
| steps: | |
| - name: Checkout base branch | |
| uses: actions/checkout@master | |
| with: | |
| ref: ${{ github.base_ref }} | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@master | |
| with: | |
| php-version: '8.5' | |
| tools: 'composer:v2' | |
| extensions: mbstring, dom, soap | |
| coverage: none | |
| - name: Install dependencies (base) | |
| run: composer update --prefer-dist --no-progress --no-suggest | |
| - name: Benchmark baseline (base branch) | |
| run: | | |
| vendor/bin/phpbench run benchmarks/ \ | |
| --tag=baseline \ | |
| --store \ | |
| --report=aggregate | |
| - name: Checkout PR branch | |
| uses: actions/checkout@master | |
| with: | |
| clean: false | |
| - name: Install dependencies (PR) | |
| run: composer update --prefer-dist --no-progress --no-suggest | |
| - name: Benchmark PR branch vs baseline | |
| run: | | |
| vendor/bin/phpbench run benchmarks/ \ | |
| --ref=baseline \ | |
| --report=aggregate |