Skip to content

Commit be9c180

Browse files
committed
Results for the frameworks that actually run in the various stacks
1 parent 72fece1 commit be9c180

File tree

8 files changed

+159
-26
lines changed

8 files changed

+159
-26
lines changed

benchmark.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -e
66
if [ "$stack" = "" ]; then
77
stack="local"
88
fi
9+
export stack;
910

1011
cd `dirname $0`
1112

libs/output_data.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
<?php
22

3+
$real_usage = null;
4+
// On HHVM, using $real_usage = false ends up always returning 2097152 bytes - https://github.com/facebook/hhvm/issues/2257
5+
if (defined('HHVM_VERSION')) {
6+
$real_usage = true;
7+
}
8+
// On PHP 7.0, using $real_usage = true ends up always returning 2097152 bytes
9+
if (PHP_MAJOR_VERSION === 7) {
10+
$real_usage = false;
11+
}
312
return sprintf(
413
"\n%' 8d:%f:%d",
5-
memory_get_peak_usage(),
14+
memory_get_peak_usage($real_usage), // Using $real_usage due to
615
microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'],
716
count(get_included_files()) - 1
817
);

list.sh

Lines changed: 85 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/sh
22

3+
if [ "$stack" = "local" ] || [ "$stack" = "docker_nginx_php_5_6_4" ]; then
34
list="
45
#no-framework
56
#phalcon-1.3
@@ -32,9 +33,91 @@ cake-3.1
3233
symfony-2.7
3334
#laravel-4.2
3435
#laravel-5.0
35-
laravel-5.1
36+
#segfaults-too-much#laravel-5.1
3637
#zf-2.4
3738
zf-2.5
3839
#typo3f-2.3
39-
typo3f-3.0
40+
#disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0
4041
"
42+
fi
43+
if [ "$stack" = "docker_nginx_hhvm_3_10_1" ]; then
44+
list="
45+
#no-framework
46+
#not-supported-by-hhvm##phalcon-1.3
47+
#not-supported-by-hhvm#phalcon-2.0
48+
#not-supported-by-hhvm#ice-1.0
49+
tipsy-0.10
50+
fatfree-3.5
51+
slim-2.6
52+
ci-3.0
53+
nofuss-1.2
54+
slim-3.0
55+
#apc_fetch()-error#bear-1.0
56+
lumen-5.1
57+
ze-1.0
58+
radar-1.0-dev
59+
yii-2.0
60+
#lumen-5.0
61+
#silex-1.2
62+
silex-1.3
63+
cygnite-1.3
64+
fuel-1.8-dev
65+
#fuel-2.0-dev
66+
phpixie-3.2
67+
#cake-3.0
68+
aura-2.0
69+
cake-3.1
70+
#bear-0.10
71+
#symfony-2.5
72+
#symfony-2.6
73+
symfony-2.7
74+
#laravel-4.2
75+
#laravel-5.0
76+
#fails-with-no-such-file-or-directory#laravel-5.1
77+
#zf-2.4
78+
zf-2.5
79+
#typo3f-2.3
80+
#disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0
81+
"
82+
83+
fi
84+
if [ "$stack" = "docker_nginx_php_7_0_0" ]; then
85+
list="
86+
#no-framework
87+
#not-compiled-for-php7-is-it-even-supported##phalcon-1.3
88+
#not-compiled-for-php7-is-it-even-supported#phalcon-2.0
89+
#not-compiled-for-php7-is-it-even-supported#ice-1.0
90+
tipsy-0.10
91+
fatfree-3.5
92+
slim-2.6
93+
ci-3.0
94+
nofuss-1.2
95+
slim-3.0
96+
#apc_fetch()-error#bear-1.0
97+
lumen-5.1
98+
ze-1.0
99+
radar-1.0-dev
100+
yii-2.0
101+
#lumen-5.0
102+
#silex-1.2
103+
silex-1.3
104+
cygnite-1.3
105+
fuel-1.8-dev
106+
#fuel-2.0-dev
107+
phpixie-3.2
108+
#cake-3.0
109+
aura-2.0
110+
cake-3.1
111+
#bear-0.10
112+
#symfony-2.5
113+
#symfony-2.6
114+
symfony-2.7
115+
#laravel-4.2
116+
#laravel-5.0
117+
#segfaults-too-much#laravel-5.1
118+
#zf-2.4
119+
zf-2.5
120+
#typo3f-2.3
121+
#disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0
122+
"
123+
fi
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!results.hello_world.log
3+
!.gitignore
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
tipsy-0.10: 151.22: 40864: 0.013672: 18
2+
fatfree-3.5: 191.62: 73960: 0.005139: 9
3+
slim-2.6: 134.64: 45728: 0.018968: 24
4+
ci-3.0: 42.75: 47936: 0.029706: 26
5+
nofuss-1.2: 159.58: 47216: 0.008147: 6
6+
slim-3.0: 57.89: 76576: 0.025089: 56
7+
lumen-5.1: 89.58: 221896: 0.012224: 32
8+
ze-1.0: 48.92: 149536: 0.024459: 64
9+
radar-1.0-dev: 42.40: 87256: 0.031434: 73
10+
yii-2.0: 63.54: 511976: 0.020642: 49
11+
silex-1.3: 58.46: 103120: 0.026938: 58
12+
cygnite-1.3: 29.07: 175672: 0.048073: 70
13+
fuel-1.8-dev: 30.30: 123128: 0.043546: 54
14+
phpixie-3.2: 16.85: 286152: 0.083052: 164
15+
aura-2.0: 48.15: 166232: 0.025206: 68
16+
cake-3.1: 34.88: 171256: 0.049870: 84
17+
symfony-2.7: 22.98: 667248: 0.062403: 103
18+
zf-2.5: 14.64: 602112: 0.097132: 208
Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
phalcon-2.0: 774.64: 282936: 0.001357: 5
2-
ice-1.0: 680.57: 275560: 0.002463: 4
3-
tipsy-0.10: 762.23: 336568: 0.000640: 18
4-
fatfree-3.5: 365.25: 443728: 0.002854: 9
5-
slim-2.6: 761.72: 499712: 0.000745: 24
6-
ci-3.0: 97.54: 451096: 0.029233: 26
7-
nofuss-1.2: 343.89: 619496: 0.010555: 6
8-
slim-3.0: 502.51: 647744: 0.001052: 56
9-
bear-1.0: 202.53: 791424: 0.008215: 98
10-
lumen-5.1: 303.53: 750624: 0.005721: 32
11-
ze-1.0: 216.34: 822864: 0.011665: 64
12-
radar-1.0-dev: 253.12: 738608: 0.008413: 73
13-
yii-2.0: 304.98: 1399392: 0.004463: 49
14-
silex-1.3: 319.21: 733952: 0.003194: 58
15-
cygnite-1.3: 71.28: 779760: 0.026458: 70
16-
fuel-1.8-dev: 38.59: 729960: 0.116497: 55
17-
phpixie-3.2: 32.26: 1329368: 0.005880: 164
18-
aura-2.0: 110.17: 932784: 0.017762: 68
19-
cake-3.1: 92.69: 1383696: 0.016896: 84
20-
symfony-2.7: 15.94: 2735352: 0.014343: 103
21-
laravel-5.1: 79.35: 2637888: 0.054929: 38
22-
zf-2.5: 2.08: 3069536: 0.049335: 209
23-
typo3f-3.0: 0.32: 6553744: 2.795679: 272
1+
phalcon-2.0: 835.00: 283120: 0.002651: 5
2+
ice-1.0: 749.81: 275680: 0.001453: 4
3+
tipsy-0.10: 988.07: 336808: 0.000606: 18
4+
fatfree-3.5: 520.58: 444136: 0.002025: 9
5+
slim-2.6: 795.92: 499872: 0.000879: 24
6+
ci-3.0: 101.58: 451376: 0.037094: 26
7+
nofuss-1.2: 344.94: 619640: 0.002954: 6
8+
slim-3.0: 498.56: 648136: 0.002141: 56
9+
bear-1.0: 215.44: 791688: 0.410931: 98
10+
lumen-5.1: 318.22: 750968: 0.006660: 32
11+
ze-1.0: 241.72: 823056: 0.009136: 64
12+
radar-1.0-dev: 259.75: 738792: 0.006119: 73
13+
yii-2.0: 313.75: 1399576: 0.006194: 49
14+
silex-1.3: 357.62: 734208: 0.001185: 58
15+
cygnite-1.3: 121.78: 779944: 0.018045: 70
16+
fuel-1.8-dev: 56.56: 730200: 0.065322: 55
17+
phpixie-3.2: 83.94: 1329712: 0.011355: 164
18+
aura-2.0: 127.48: 933160: 0.030256: 68
19+
cake-3.1: 152.83: 1383960: 0.010397: 84
20+
symfony-2.7: 70.54: 2735504: 0.017342: 103
21+
zf-2.5: 43.50: 3070136: 0.029376: 209
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!results.hello_world.log
3+
!.gitignore
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
tipsy-0.10: 1149.66: 386832: 0.000585: 18
2+
fatfree-3.5: 620.23: 455712: 0.001992: 9
3+
slim-2.6: 1148.00: 506936: 0.000839: 24
4+
ci-3.0: 114.68: 398920: 0.037701: 26
5+
nofuss-1.2: 447.11: 695808: 0.002700: 6
6+
slim-3.0: 863.84: 606016: 0.000602: 56
7+
lumen-5.1: 442.27: 689360: 0.005848: 27
8+
ze-1.0: 366.28: 686376: 0.005012: 64
9+
radar-1.0-dev: 382.59: 651376: 0.002490: 73
10+
yii-2.0: 466.63: 1044888: 0.002134: 49
11+
silex-1.3: 540.76: 665320: 0.000726: 58
12+
cygnite-1.3: 148.47: 668760: 0.016897: 70
13+
fuel-1.8-dev: 63.19: 651200: 0.067138: 54
14+
phpixie-3.2: 101.25: 1022112: 0.010456: 159
15+
aura-2.0: 179.28: 770104: 0.007434: 68
16+
cake-3.1: 199.17: 867160: 0.015056: 83
17+
symfony-2.7: 81.19: 2063144: 0.007208: 103
18+
zf-2.5: 59.44: 1766080: 0.018493: 209

0 commit comments

Comments
 (0)