Skip to content

Commit 4999900

Browse files
committed
Update benchmarks
1 parent b60e940 commit 4999900

File tree

2 files changed

+48
-77
lines changed

2 files changed

+48
-77
lines changed

README.md

Lines changed: 26 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -28,75 +28,47 @@ But if you are interested in benchmarking with optimization (removing components
2828

2929
If you find something wrong with my code, please feel free to send Pull Requests. But please note optimizing only for "Hello World" is not acceptable. Building fastest "Hello World" application is not the goal in this project.
3030

31-
## Frameworks to Benchmark
32-
33-
1. Phalcon 2.0.8
34-
1. Ice 1.0.34
35-
1. Tipsy 0.10.3
36-
1. FatFree 3.5.0
37-
1. Slim 2.6.2
38-
1. CodeIgniter 3.0.2
39-
1. NoFussFramework 1.2.3
40-
1. Slim 3.0.0-RC2
41-
1. BEAR.Sunday 1.0.1
42-
1. Lumen 5.1.6
43-
1. zend-expressive 1.0.0rc2 (FastRoute + zend-servicemanager)
44-
1. Radar 1.0.0-dev
45-
1. Yii 2.0.6
46-
1. Silex 1.3.4
47-
1. Cygnite 1.3.1
48-
1. FuelPHP 1.8-dev
49-
1. PHPixie 3.2
50-
1. Aura 2.0.2
51-
1. CakePHP 3.1.4
52-
1. Symfony 2.7.7
53-
1. Laravel 5.1.24
54-
1. Zend Framework 2.5.2
55-
1. TYPO3 Flow 3.0.0
56-
1. StaticPHP 0.9.4
57-
5831
## Results
5932

6033
### Benchmarking Environment
6134

62-
* CentOS 6.6 64bit (VM; VirtualBox)
63-
* PHP 5.5.30 (Remi RPM)
64-
* Zend OPcache v7.0.4-dev
35+
* CentOS 6.8 64bit (VM; VirtualBox)
36+
* PHP 5.6.30 (Remi RPM)
37+
* Zend OPcache v7.0.6-dev
6538
* Apache 2.2
6639

6740
### Hello World Benchmark
6841

6942
These are my benchmarks, not yours. **I encourage you to run on your (production equivalent) environments.**
7043

71-
(2015/11/29)
44+
(2017/02/14)
7245

7346
![Benchmark Results Graph](https://pbs.twimg.com/media/CU9dNeqUwAEbcod.png:large)
7447

7548
|framework |requests per second|relative|peak memory|relative|
7649
|-------------------|------------------:|-------:|----------:|-------:|
77-
|phalcon-2.0 | 1,746.90| 64.7| 0.27| 1.0|
78-
|ice-1.0 | 1,454.79| 53.9| 0.26| 1.0|
79-
|tipsy-0.10 | 1,425.66| 52.8| 0.32| 1.2|
80-
|fatfree-3.5 | 1,106.20| 41.0| 0.42| 1.6|
81-
|slim-2.6 | 880.24| 32.6| 0.47| 1.8|
82-
|ci-3.0 | 810.99| 30.1| 0.43| 1.7|
83-
|nofuss-1.2 | 672.16| 24.9| 0.40| 1.5|
84-
|slim-3.0 | 534.16| 19.8| 0.61| 2.4|
85-
|bear-1.0 | 442.63| 16.4| 0.76| 2.9|
86-
|lumen-5.1 | 412.36| 15.3| 0.95| 3.7|
87-
|ze-1.0 | 391.97| 14.5| 0.80| 3.1|
88-
|radar-1.0-dev | 369.79| 13.7| 0.70| 2.7|
89-
|yii-2.0 | 379.77| 14.1| 1.37| 5.3|
90-
|silex-1.3 | 383.66| 14.2| 0.86| 3.3|
91-
|cygnite-1.3 | 385.16| 14.3| 0.76| 2.9|
92-
|fuel-1.8-dev | 346.33| 12.8| 0.65| 2.5|
93-
|phpixie-3.2 | 236.58| 8.8| 1.31| 5.1|
94-
|aura-2.0 | 233.80| 8.7| 0.89| 3.5|
95-
|cake-3.1 | 207.27| 7.7| 1.37| 5.3|
96-
|symfony-2.7 | 101.99| 3.8| 3.21| 12.4|
97-
|laravel-5.1 | 91.59| 3.4| 2.76| 10.7|
98-
|zf-2.5 | 81.13| 3.0| 3.02| 11.7|
99-
|typo3f-3.0 | 26.98| 1.0| 6.50| 25.2|
50+
|siler-0.6 | 2,069.69| 20.3| 0.25| 1.0|
51+
|kumbia-1.0-dev | 1,753.60| 17.2| 0.29| 1.2|
52+
|staticphp-0.9 | 1,665.28| 16.3| 0.27| 1.1|
53+
|phalcon-2.0 | 1,618.39| 15.9| 0.26| 1.1|
54+
|tipsy-0.10 | 1,376.97| 13.5| 0.32| 1.3|
55+
|fatfree-3.5 | 965.16| 9.5| 0.41| 1.7|
56+
|ci-3.0 | 753.09| 7.4| 0.42| 1.7|
57+
|nofuss-1.2 | 667.24| 6.5| 0.40| 1.6|
58+
|slim-3.0 | 550.43| 5.4| 0.61| 2.5|
59+
|bear-1.0 | 502.52| 4.9| 0.73| 3.0|
60+
|lumen-5.1 | 415.57| 4.1| 0.85| 3.5|
61+
|yii-2.0 | 410.08| 4.0| 1.32| 5.4|
62+
|ze-1.0 | 403.34| 4.0| 0.75| 3.1|
63+
|cygnite-1.3 | 369.12| 3.6| 0.71| 2.9|
64+
|fuel-1.8 | 344.26| 3.4| 0.63| 2.6|
65+
|silex-2.0 | 342.81| 3.4| 0.78| 3.2|
66+
|phpixie-3.2 | 267.24| 2.6| 1.25| 5.1|
67+
|aura-2.0 | 233.54| 2.3| 0.88| 3.6|
68+
|cake-3.2 | 174.91| 1.7| 1.95| 7.9|
69+
|zf-3.0 | 133.87| 1.3| 2.24| 9.1|
70+
|symfony-3.0 | 131.50| 1.3| 2.18| 8.9|
71+
|laravel-5.3 | 101.94| 1.0| 2.83| 11.5|
10072

10173
Note(1): All the results are run on php with `phalcon.so` and `ice.so`. If you don't load phalcon.so or ice.so, the rps except for Phalcon or Ice probably increase a bit.
10274

output/results.hello_world.log

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
phalcon-2.0: 1746.90: 278432: 0.001488: 5
2-
ice-1.0: 1454.79: 270376: 0.001139: 4
3-
tipsy-0.10: 1425.66: 332640: 0.001068: 18
4-
fatfree-3.5: 1106.20: 438488: 0.001483: 9
5-
slim-2.6: 880.24: 494360: 0.001359: 24
6-
ci-3.0: 810.99: 447096: 0.001257: 26
7-
nofuss-1.2: 672.16: 417704: 0.007358: 21
8-
slim-3.0: 534.16: 643752: 0.001601: 56
9-
bear-1.0: 442.63: 794624: 0.008693: 98
10-
lumen-5.1: 412.36: 999352: 0.002775: 37
11-
ze-1.0: 391.97: 838024: 0.002283: 67
12-
radar-1.0-dev: 369.79: 739008: 0.003101: 73
13-
yii-2.0: 379.77: 1435968: 0.002907: 49
14-
silex-1.3: 383.66: 900000: 0.010153: 64
15-
cygnite-1.3: 385.16: 793584: 0.003314: 70
16-
fuel-1.8-dev: 346.33: 680384: 0.002663: 44
17-
phpixie-3.2: 236.58: 1374400: 0.008409: 164
18-
aura-2.0: 233.80: 937344: 0.011615: 68
19-
cake-3.1: 207.27: 1439320: 0.004517: 84
20-
symfony-2.7: 101.99: 3363064: 0.014221: 106
21-
laravel-5.1: 91.59: 2889400: 0.024721: 39
22-
zf-2.5: 81.13: 3161792: 0.015882: 204
23-
typo3f-3.0: 26.98: 6814840: 0.105535: 277
1+
aura-2.0: 233.54: 917624: 0.006069: 66
2+
bear-1.0: 502.52: 770032: 0.001680: 88
3+
cake-3.2: 174.91: 2046672: 0.005732: 103
4+
ci-3.0: 753.09: 444560: 0.001741: 26
5+
cygnite-1.3: 369.12: 742080: 0.002437: 68
6+
fatfree-3.5: 965.16: 434936: 0.001076: 7
7+
fuel-1.8: 344.26: 661728: 0.003475: 44
8+
kumbia-1.0-dev: 1753.60: 306592: 0.000587: 12
9+
laravel-5.3: 101.94: 2964952: 0.025101: 43
10+
lumen-5.1: 415.57: 886440: 0.001777: 42
11+
nofuss-1.2: 667.24: 415032: 0.001416: 21
12+
phalcon-2.0: 1618.39: 276536: 0.001165: 5
13+
phpixie-3.2: 267.24: 1310056: 0.004331: 168
14+
siler-0.6: 2069.69: 257376: 0.000851: 13
15+
silex-2.0: 342.81: 812752: 0.003270: 76
16+
slim-3.0: 550.43: 634592: 0.001763: 53
17+
staticphp-0.9: 1665.28: 287104: 0.001500: 8
18+
symfony-3.0: 131.50: 2290904: 0.006951: 197
19+
tipsy-0.10: 1376.97: 330544: 0.001974: 16
20+
yii-2.0: 410.08: 1385592: 0.002484: 46
21+
ze-1.0: 403.34: 788168: 0.002938: 67
22+
zf-3.0: 133.87: 2344504: 0.012309: 188

0 commit comments

Comments
 (0)