Skip to content

Commit 5dcb320

Browse files
committed
Update for Kumbiaphp
1 parent acaefb3 commit 5dcb320

File tree

7 files changed

+6
-8
lines changed

7 files changed

+6
-8
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Benchmarking on components like template engines or ORM/Database libraries is ou
1515
- [PHP Frameworks Bench](#php-frameworks-bench)
1616
- [Benchmarks](#benchmarks)
1717
- [Latest](#latest)
18-
- [OPCache](#opcache)
18+
- [OPCache On/Off](#opcache-on)
1919
- [Benchmarking Policy](#benchmarking-policy)
2020
- [How to Benchmark](#how-to-benchmark)
2121
- [Commands](#commands)
@@ -34,7 +34,7 @@ Benchmarking on components like template engines or ORM/Database libraries is ou
3434
* PHP 8.2.5
3535
* OPCache Off
3636
* Apache 2.4.52
37-
* WRK 4.2.0
37+
* WRK 4.2.0 (5 min)
3838
* CPU Core [email protected]
3939
* Memory 16G
4040

@@ -51,6 +51,7 @@ These are my benchmarks, not yours. **I encourage you to run on your (production
5151
|framework |requests per second (rps)|relative (rps)|peak memory|relative (mem)|
5252
|-------------------|------------------------:|-------------:|----------:|-------------:|
5353
|pure-php | 27,379.94| 282.4| 0.42| 1.0|
54+
|kumbiaphp-1.1 | 5,862.48| 60.5| 0.54| 1.3|
5455
|fastroute-1.3 | 4,591.01| 47.3| 0.56| 1.3|
5556
|phroute-2.2 | 4,303.07| 44.4| 0.58| 1.4|
5657
|leaf-3.3 | 1,576.68| 16.3| 1.10| 2.6|
@@ -72,8 +73,8 @@ These are my benchmarks, not yours. **I encourage you to run on your (production
7273
|laravel-10.0 | 96.97| 1.0| 11.99| 28.5|
7374

7475

75-
#### OPCache
76-
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/Dk8YHQZ6jfY/0.jpg)](http://www.youtube.com/watch?v=Dk8YHQZ6jfY)
76+
#### OPCache On
77+
[![Results with OPCache On/Off & How to add your framework](http://img.youtube.com/vi/Dk8YHQZ6jfY/0.jpg)](http://www.youtube.com/watch?v=Dk8YHQZ6jfY)
7778

7879

7980
## Benchmarking Policy
@@ -123,7 +124,6 @@ $ bash check.sh
123124
3- Run benchmarks:
124125

125126
```bash
126-
# bash check.sh -t pure-php
127127
$ bash benchmark.sh
128128
```
129129

kumbiaphp-1.1/_benchmark/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# create project
33
rm -rf _benchmark/temp
4-
composer create-project --prefer-dist kumbia/framework ./_benchmark/temp
4+
composer create-project --prefer-dist kumbia/framework:^1.1 ./_benchmark/temp
55
mv ./_benchmark/temp/{.,}* ./
66

77
# have the route & controller

output/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

screenshots/php-frameworks-bench-exectime.png

100755100644
32.2 KB
Loading

screenshots/php-frameworks-bench-includedfiles.png

100755100644
34.3 KB
Loading

screenshots/php-frameworks-bench-memory.png

100755100644
32.5 KB
Loading

screenshots/php-frameworks-bench-throughput.png

100755100644
43 KB
Loading

0 commit comments

Comments
 (0)