Skip to content

Commit

Permalink
[4.x] Run async benchmark on CI to detect performance degredations
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Feb 17, 2022
1 parent 80f5d73 commit f35a7bb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,17 @@ jobs:
coverage: xdebug
- run: composer install
- run: vendor/bin/phpunit --coverage-text
benchmark-async:
name: "Benchmark: async (PHP ${{ matrix.php }})"
runs-on: ubuntu-20.04
strategy:
matrix:
php:
- 8.1
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- run: composer install
- run: time php examples/90-async-benchmark.php

0 comments on commit f35a7bb

Please sign in to comment.