Skip to content

Commit 5e98008

Browse files
authoredJan 23, 2021
[PHP] Fix fatfree (#3830)
1 parent 16c99e3 commit 5e98008

File tree

3 files changed

+56
-52
lines changed

3 files changed

+56
-52
lines changed
 

‎.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @waghanza

‎.github/workflows/ci.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
schedule:
1010
- cron: 0 0 * * 3
1111
jobs:
12-
dynamic_matrix:
12+
matrix:
1313
runs-on: ubuntu-latest
1414

1515
steps:
@@ -28,13 +28,14 @@ jobs:
2828
outputs:
2929
matrix: ${{ steps.set-matrix.outputs.matrix }}
3030

31-
test_implementations:
32-
needs: dynamic_matrix
31+
test:
32+
needs: matrix
3333

3434
runs-on: ubuntu-latest
35+
3536
strategy:
3637
fail-fast: false
37-
matrix: ${{fromJson(needs.dynamic_matrix.outputs.matrix)}}
38+
matrix: ${{fromJson(needs.matrix.outputs.matrix)}}
3839

3940
steps:
4041
- uses: actions/checkout@v2
@@ -45,11 +46,12 @@ jobs:
4546
- name: Configure
4647
run: bundle exec rake config
4748

48-
- name: Build
49+
- name: Setup
4950
run: |
50-
cd ${{ matrix.directory }}
51+
cd ${{ matrix.directory }}
5152
make build -f .Makefile
52-
cd -
5353
5454
- name: Test
55-
run: FRAMEWORK=${{ matrix.framework }} bundle exec rspec .spec
55+
run: bundle exec rspec .spec
56+
env:
57+
FRAMEWORK: ${{ matrix.framework }}

‎README.md

+45-44
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ feel free to create an issue if you want to try this project
5252

5353
## Results
5454

55-
:information_source: Updated on **2021-01-22** :information_source:
55+
:information_source: Updated on **2021-01-23** :information_source:
5656

5757
> Benchmarking with [wrk](https://github.com/wg/wrk)
5858
+ Threads : 8
@@ -206,31 +206,31 @@ feel free to create an issue if you want to try this project
206206
| 141 | rust (1.49)| [iron](https://ironframework.io) (0.6) | 17 055.03 | 16 788.04 | 16 931.80 |
207207
| 142 | php (7.4)| [swoft](https://swoft.org) (2.0) | 16 921.95 | 20 519.81 | 21 331.31 |
208208
| 143 | ruby (2.7)| [syro](https://github.com/soveran/syro) (3.2) | 16 628.25 | 16 010.17 | 15 801.52 |
209-
| 144 | python (3.9)| [masonite](https://masoniteproject.com) (2.3) | 16 228.90 | 20 279.31 | 20 208.65 |
210-
| 145 | nim (1.4)| [rosencrantz](https://github.com/andreaferretti/rosencrantz) (0.4) | 16 150.75 | 14 290.21 | 13 243.37 |
211-
| 146 | ruby (2.7)| [roda](https://roda.jeremyevans.net) (3.40) | 15 995.95 | 15 669.07 | 15 258.80 |
212-
| 147 | php (7.4)| [chubbyphp-swoole](https://github.com/chubbyphp/chubbyphp-framework) (3.3) | 15 755.89 | 18 554.46 | 19 010.29 |
213-
| 148 | php (7.4)| [sw-fw-less](https://github.com/luoxiaojun1992/sw-fw-less) (preview) | 15 399.67 | 17 924.84 | 18 240.25 |
214-
| 149 | ruby (2.7)| [cuba](https://cuba.is) (3.9) | 15 384.59 | 14 818.63 | 14 606.48 |
215-
| 150 | go (1.15)| [macaron](https://go-macaron.com) (1.4) | 15 380.88 | 16 930.64 | 16 884.56 |
216-
| 151 | javascript (14.15)| [feathersjs](https://feathersjs.com) (4.5) | 15 155.74 | 18 032.73 | 18 065.92 |
217-
| 152 | php (7.4)| [slim-swoole](https://slimframework.com) (4.7) | 15 068.82 | 17 359.22 | 17 669.76 |
218-
| 153 | javascript (14.15)| [express](https://expressjs.com) (4.17) | 15 015.73 | 18 078.91 | 17 476.24 |
219-
| 154 | ruby (2.7)| [rack-routing](https://github.com/georgeu2000/rack-routing) (0.0) | 14 175.69 | 13 766.93 | 13 511.93 |
220-
| 155 | swift (5.3)| [swifter](https://github.com/httpswift/swifter) (1.5) | 13 948.63 | 13 969.32 | 14 460.17 |
221-
| 156 | java (11)| [struts2](https://struts.apache.org) (2.5) | 13 917.74 | 14 198.26 | 14 251.73 |
222-
| 157 | python (3.9)| [flask](https://flask.pocoo.org) (1.1) | 13 816.83 | 15 391.80 | 17 152.78 |
223-
| 158 | ruby (2.7)| [rack_app](https://rack-app.com) (7.7) | 13 766.93 | 13 345.86 | 13 103.59 |
224-
| 159 | ruby (2.7)| [camping](https://github.com/camping/camping) (2.1) | 13 280.24 | 12 791.02 | 12 627.69 |
225-
| 160 | java (11)| [blade](https://lets-blade.com) (2.0) | 13 036.94 | 15 297.77 | 14 424.41 |
226-
| 161 | javascript (14.15)| [nestjs-express](https://nestjs.com) (7.6) | 11 817.02 | 11 742.27 | 11 531.21 |
227-
| 162 | go (1.15)| [tango](https://gitea.com/lunny/tango) (0.6) | 11 373.31 | 11 604.28 | 11 625.10 |
228-
| 163 | dart (2.10)| [start](https://github.com/lvivski/start) (0.4) | 11 056.47 | 10 853.99 | 10 659.16 |
229-
| 164 | php (7.4)| [sunrise-router-roadrunner](https://github.com/sunrise-php/http-router) (2.5) | 10 224.14 | 10 472.95 | 10 557.53 |
230-
| 165 | php (7.4)| [chubbyphp-roadrunner](https://github.com/chubbyphp/chubbyphp-framework) (3.3) | 9 999.56 | 10 263.18 | 10 358.44 |
231-
| 166 | go (1.15)| [gramework](https://github.com/gramework/gramework) (1.7) | 9 810.75 | 9 996.68 | 9 937.54 |
232-
| 167 | python (3.9)| [cherrypy](https://github.com/cherrypy/cherrypy) (18.6) | 9 789.74 | 9 651.19 | 9 507.05 |
233-
| 168 | php (7.4)| [slim-roadrunner](https://slimframework.com) (4.7) | 9 783.73 | 10 013.59 | 10 080.87 |
209+
| 144 | nim (1.4)| [rosencrantz](https://github.com/andreaferretti/rosencrantz) (0.4) | 16 150.75 | 14 290.21 | 13 243.37 |
210+
| 145 | ruby (2.7)| [roda](https://roda.jeremyevans.net) (3.40) | 15 995.95 | 15 669.07 | 15 258.80 |
211+
| 146 | php (7.4)| [chubbyphp-swoole](https://github.com/chubbyphp/chubbyphp-framework) (3.3) | 15 755.89 | 18 554.46 | 19 010.29 |
212+
| 147 | php (7.4)| [sw-fw-less](https://github.com/luoxiaojun1992/sw-fw-less) (preview) | 15 399.67 | 17 924.84 | 18 240.25 |
213+
| 148 | ruby (2.7)| [cuba](https://cuba.is) (3.9) | 15 384.59 | 14 818.63 | 14 606.48 |
214+
| 149 | go (1.15)| [macaron](https://go-macaron.com) (1.4) | 15 380.88 | 16 930.64 | 16 884.56 |
215+
| 150 | javascript (14.15)| [feathersjs](https://feathersjs.com) (4.5) | 15 155.74 | 18 032.73 | 18 065.92 |
216+
| 151 | php (7.4)| [slim-swoole](https://slimframework.com) (4.7) | 15 068.82 | 17 359.22 | 17 669.76 |
217+
| 152 | javascript (14.15)| [express](https://expressjs.com) (4.17) | 15 015.73 | 18 078.91 | 17 476.24 |
218+
| 153 | ruby (2.7)| [rack-routing](https://github.com/georgeu2000/rack-routing) (0.0) | 14 175.69 | 13 766.93 | 13 511.93 |
219+
| 154 | swift (5.3)| [swifter](https://github.com/httpswift/swifter) (1.5) | 13 948.63 | 13 969.32 | 14 460.17 |
220+
| 155 | java (11)| [struts2](https://struts.apache.org) (2.5) | 13 917.74 | 14 198.26 | 14 251.73 |
221+
| 156 | python (3.9)| [flask](https://flask.pocoo.org) (1.1) | 13 816.83 | 15 391.80 | 17 152.78 |
222+
| 157 | ruby (2.7)| [rack_app](https://rack-app.com) (7.7) | 13 766.93 | 13 345.86 | 13 103.59 |
223+
| 158 | ruby (2.7)| [camping](https://github.com/camping/camping) (2.1) | 13 280.24 | 12 791.02 | 12 627.69 |
224+
| 159 | java (11)| [blade](https://lets-blade.com) (2.0) | 13 036.94 | 15 297.77 | 14 424.41 |
225+
| 160 | javascript (14.15)| [nestjs-express](https://nestjs.com) (7.6) | 11 817.02 | 11 742.27 | 11 531.21 |
226+
| 161 | go (1.15)| [tango](https://gitea.com/lunny/tango) (0.6) | 11 373.31 | 11 604.28 | 11 625.10 |
227+
| 162 | dart (2.10)| [start](https://github.com/lvivski/start) (0.4) | 11 056.47 | 10 853.99 | 10 659.16 |
228+
| 163 | php (7.4)| [sunrise-router-roadrunner](https://github.com/sunrise-php/http-router) (2.5) | 10 224.14 | 10 472.95 | 10 557.53 |
229+
| 164 | php (7.4)| [chubbyphp-roadrunner](https://github.com/chubbyphp/chubbyphp-framework) (3.3) | 9 999.56 | 10 263.18 | 10 358.44 |
230+
| 165 | go (1.15)| [gramework](https://github.com/gramework/gramework) (1.7) | 9 810.75 | 9 996.68 | 9 937.54 |
231+
| 166 | python (3.9)| [cherrypy](https://github.com/cherrypy/cherrypy) (18.6) | 9 789.74 | 9 651.19 | 9 507.05 |
232+
| 167 | php (7.4)| [slim-roadrunner](https://slimframework.com) (4.7) | 9 783.73 | 10 013.59 | 10 080.87 |
233+
| 168 | python (3.9)| [masonite](https://masoniteproject.com) (2.3) | 9 729.40 | 20 279.31 | 20 208.65 |
234234
| 169 | php (7.4)| [spiral](https://github.com/spiral/framework) (2.7) | 9 614.24 | 9 727.76 | 9 873.65 |
235235
| 170 | python (3.9)| [guillotina](https://guillotina.io) (6.1) | 9 225.95 | 9 579.87 | 8 847.15 |
236236
| 171 | ruby (2.7)| [sinatra](https://sinatrarb.com) (2.1) | 9 091.10 | 8 854.24 | 8 818.27 |
@@ -263,24 +263,25 @@ feel free to create an issue if you want to try this project
263263
| 198 | php (7.4)| [symfony](https://symfony.com) (5.2) | 2 974.99 | 2 993.67 | 3 010.97 |
264264
| 199 | ruby (2.7)| [rails](https://rubyonrails.org) (6.1) | 2 819.34 | 2 813.50 | 2 797.32 |
265265
| 200 | php (7.4)| [yii](https://yiiframework.com) (2.0) | 2 618.36 | 2 594.91 | 2 617.84 |
266-
| 201 | php (7.4)| [sunrise-router-annotations](https://github.com/sunrise-php/http-router) (2.5) | 2 297.32 | 2 286.11 | 2 316.50 |
267-
| 202 | ruby (2.7)| [pakyow](https://pakyow.com) (1.0) | 2 239.44 | 2 572.37 | 2 537.41 |
268-
| 203 | php (7.4)| [antidot](https://antidotfw.io) (0.1) | 2 116.52 | 2 139.31 | 1 665.30 |
269-
| 204 | r (4.0)| [restrserve](https://restrserve.org) (0.3) | 1 934.74 | 1 850.81 | 1 854.20 |
270-
| 205 | r (4.0)| [httpuv](https://github.com/rstudio/httpuv) (1.5) | 1 931.24 | 1 837.16 | 1 761.46 |
271-
| 206 | crystal (0.35)| [runcobo](https://github.com/runcobo/runcobo) (1.0) | 1 898.41 | 1 956.18 | 1 944.38 |
272-
| 207 | php (7.4)| [mezzio](https://docs.mezzio.dev) (3.2) | 1 859.32 | 1 856.95 | 1 862.77 |
273-
| 208 | php (7.4)| [driftphp](https://github.com/driftphp/driftphp) (0.1) | 1 825.75 | 1 787.27 | 1 393.16 |
274-
| 209 | python (3.9)| [klein](https://github.com/twisted/klein) (20.6) | 1 662.78 | 1 661.79 | 1 627.73 |
275-
| 210 | python (3.9)| [cyclone](https://cyclone.io) (1.3) | 1 659.70 | 1 657.21 | 1 631.34 |
276-
| 211 | php (7.4)| [laminas](https://getlaminas.org) (3.2) | 1 582.62 | 1 591.30 | 1 603.03 |
277-
| 212 | perl (5.32)| [dancer2](https://perldancer.org) (0.3) | 1 361.73 | 646.32 | 532.78 |
278-
| 213 | python (3.9)| [django-ninja](https://django-ninja.rest-framework.com) (0.10) | 1 317.94 | 1 624.75 | 1 653.77 |
279-
| 214 | python (3.9)| [nameko](https://github.com/nameko/nameko) (2.13) | 1 245.27 | 1 176.47 | 1 182.44 |
280-
| 215 | php (7.4)| [codeigniter4](https://codeigniter.com) (4.0) | 1 092.27 | 1 109.07 | 1 107.24 |
281-
| 216 | php (7.4)| [laravel](https://laravel.com) (8.24) | 904.68 | 909.29 | 907.74 |
282-
| 217 | r (4.0)| [plumber](https://rplumber.io) (1.0) | 287.60 | 302.64 | -86.01 |
283-
| 218 | cpp (11)| [nawa](https://github.com/jatofg/nawa) (0.6) | 265.70 | NaN | NaN |
266+
| 201 | php (7.4)| [fatfree](https://fatfreeframework.com) (3.7) | 2 313.52 | 2 285.73 | 2 469.47 |
267+
| 202 | php (7.4)| [sunrise-router-annotations](https://github.com/sunrise-php/http-router) (2.5) | 2 297.32 | 2 286.11 | 2 316.50 |
268+
| 203 | ruby (2.7)| [pakyow](https://pakyow.com) (1.0) | 2 239.44 | 2 572.37 | 2 537.41 |
269+
| 204 | php (7.4)| [antidot](https://antidotfw.io) (0.1) | 2 116.52 | 2 139.31 | 1 665.30 |
270+
| 205 | r (4.0)| [restrserve](https://restrserve.org) (0.3) | 1 934.74 | 1 850.81 | 1 854.20 |
271+
| 206 | r (4.0)| [httpuv](https://github.com/rstudio/httpuv) (1.5) | 1 931.24 | 1 837.16 | 1 761.46 |
272+
| 207 | crystal (0.35)| [runcobo](https://github.com/runcobo/runcobo) (1.0) | 1 898.41 | 1 956.18 | 1 944.38 |
273+
| 208 | php (7.4)| [mezzio](https://docs.mezzio.dev) (3.2) | 1 859.32 | 1 856.95 | 1 862.77 |
274+
| 209 | php (7.4)| [driftphp](https://github.com/driftphp/driftphp) (0.1) | 1 825.75 | 1 787.27 | 1 393.16 |
275+
| 210 | python (3.9)| [klein](https://github.com/twisted/klein) (20.6) | 1 662.78 | 1 661.79 | 1 627.73 |
276+
| 211 | python (3.9)| [cyclone](https://cyclone.io) (1.3) | 1 659.70 | 1 657.21 | 1 631.34 |
277+
| 212 | php (7.4)| [laminas](https://getlaminas.org) (3.2) | 1 582.62 | 1 591.30 | 1 603.03 |
278+
| 213 | perl (5.32)| [dancer2](https://perldancer.org) (0.3) | 1 361.73 | 646.32 | 532.78 |
279+
| 214 | python (3.9)| [django-ninja](https://django-ninja.rest-framework.com) (0.10) | 1 317.94 | 1 624.75 | 1 653.77 |
280+
| 215 | python (3.9)| [nameko](https://github.com/nameko/nameko) (2.13) | 1 245.27 | 1 176.47 | 1 182.44 |
281+
| 216 | php (7.4)| [codeigniter4](https://codeigniter.com) (4.0) | 1 092.27 | 1 109.07 | 1 107.24 |
282+
| 217 | php (7.4)| [laravel](https://laravel.com) (8.24) | 904.68 | 909.29 | 907.74 |
283+
| 218 | r (4.0)| [plumber](https://rplumber.io) (1.0) | 287.60 | 302.64 | -86.01 |
284+
| 219 | cpp (11)| [nawa](https://github.com/jatofg/nawa) (0.6) | 265.70 | NaN | NaN |
284285

285286
## How to contribute ?
286287

0 commit comments

Comments
 (0)
Please sign in to comment.