Skip to content

Commit f35a7bb

Browse files
committed
[4.x] Run async benchmark on CI to detect performance degredations
1 parent 80f5d73 commit f35a7bb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,17 @@ jobs:
2020
coverage: xdebug
2121
- run: composer install
2222
- run: vendor/bin/phpunit --coverage-text
23+
benchmark-async:
24+
name: "Benchmark: async (PHP ${{ matrix.php }})"
25+
runs-on: ubuntu-20.04
26+
strategy:
27+
matrix:
28+
php:
29+
- 8.1
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: shivammathur/setup-php@v2
33+
with:
34+
php-version: ${{ matrix.php }}
35+
- run: composer install
36+
- run: time php examples/90-async-benchmark.php

0 commit comments

Comments
 (0)