Skip to content

Commit

Permalink
Optimized configuration for symfony2
Browse files Browse the repository at this point in the history
  • Loading branch information
eryx committed May 18, 2012
1 parent da07f06 commit 0d6fde8
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README
Expand Up @@ -16,9 +16,13 @@ How to run this benchmark
cp -rp php-framework-benchmark /dev/shm/

Apache settings
cd php-framework-benchmark
cp ./apache-pfb.conf /etc/apache2/sites-enabled/ (Debian/Ubuntu)
cp ./apache-pfb.conf /etc/httpd/conf.d/ (CentOS)
cd /dev/shm/php-framework-benchmark
Debian/Ubuntu
cp ./apache-pfb.conf /etc/apache2/sites-enabled/
chown -R www-data:www-data .
CentOS
cp ./apache-pfb.conf /etc/httpd/conf.d/
chown -R apache:apache .
Restart Apache Server

Hosts settings
Expand All @@ -44,6 +48,11 @@ How to run this benchmark

About 1~3 hours later, all of the test data be saved in the ./result-*

@2012-05-18
-----------------------------------------------
* Optimized configuration for symfony2 (By https://github.com/d1gi)
Patch https://github.com/eryx/php-framework-benchmark/pull/2

@2012-02-29
-----------------------------------------------
* FuelPHP: Simple, Flexible, Community driven Web Framework
Expand Down
Binary file added results/v20111201-4-20120518/ab-c100-n30000.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions results/v20111201-4-20120518/ab-c100-n30000.txt
@@ -0,0 +1,13 @@
framework QPS, LOAD, MEM(KB), TIME(ms); functions, include files
symfony2 1366, 2.44,1711.57, 12.99; 1367, 1.39,1711.57, 13.09; 1368, 0.50,1711.57, 12.28; 1367, 1.44,1711.57, 12.79; 792, 15
zf 677,13.57,2576.47, 17.56; 680,12.28,2576.47, 20.86; 676, 4.22,2576.47, 22.23; 678,10.02,2576.47, 20.22; 1789, 61
zf2 325,77.95,4011.02, 29.41; 326,73.03,4011.02, 29.71; 327,72.97,4011.02, 30.93; 326,74.65,4011.02, 30.02; 5620, 124
cakephp 881, 5.91,2824.26, 14.93; 861, 4.63,2824.26, 14.35; 878, 4.75,2824.26, 14.91; 873, 5.10,2824.26, 14.73; 834, 37
fuelphp 1425, 2.51,1094.53, 12.57; 1427, 3.43,1094.53, 12.59; 1418, 0.82,1094.53, 12.62; 1423, 2.25,1094.53, 12.59; 1120, 27
ci 2337, 0.50, 752.55, 7.26; 2309, 2.80, 752.55, 7.07; 2348, 1.64, 752.55, 7.39; 2331, 1.65, 752.55, 7.24; 491, 22
yii 2337, 1.63,1180.15, 6.62; 2360, 0.47,1180.15, 6.62; 2362, 0.68,1180.15, 6.59; 2353, 0.93,1180.15, 6.61; 269, 19
slim 2321, 1.87, 699.77, 7.23; 2285, 1.81, 699.77, 7.30; 2316, 0.73, 699.77, 7.13; 2307, 1.47, 699.77, 7.22; 521, 14
laravel 3129, 1.95, 518.36, 4.47; 3125, 0.53, 518.36, 4.45; 3123, 0.46, 518.36, 4.46; 3126, 0.98, 518.36, 4.46; 238, 26
colaphp 5940, 0.66, 257.55, 2.22; 5915, 0.41, 257.55, 2.21; 5937, 0.09, 257.55, 2.21; 5931, 0.39, 257.55, 2.21; 111, 9
micromvc4 6447, 0.02, 176.73, 2.19; 6479, 0.52, 176.73, 2.21; 6492, 0.10, 176.73, 2.25; 6473, 0.21, 176.73, 2.22; 123, 12
yaf 7334, 0.24, 67.89, 1.29; 7329, 0.02, 67.89, 1.28; 7307, 0.02, 67.89, 1.26; 7323, 0.09, 67.89, 1.28; 18, 4
Binary file added results/v20111201-4-20120518/ab-c200-n50000.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions results/v20111201-4-20120518/ab-c200-n50000.txt
@@ -0,0 +1,13 @@
framework QPS, LOAD, MEM(KB), TIME(ms); functions, include files
symfony2 1322, 3.63,1711.57, 13.06; 1345, 1.35,1711.57, 12.55; 1332, 5.02,1711.57, 9.71; 1333, 3.33,1711.57, 11.77; 792, 15
zf 671, 7.18,2576.47, 17.53; 666,14.24,2576.47, 18.31; 670, 1.72,2576.47, 17.37; 669, 7.71,2576.47, 17.74; 1789, 61
zf2 324,123.89,4011.02, 30.19; 326,134.25,4011.02, 29.92; 326,85.21,4011.02, 31.60; 325,114.45,4011.02, 30.57; 5620, 124
cakephp 850, 0.68,2824.26, 14.96; 860, 2.15,2824.26, 16.19; 862, 0.37,2824.26, 15.10; 857, 1.07,2824.26, 15.42; 834, 37
fuelphp 1373, 3.43,1094.53, 12.61; 1374, 0.27,1094.53, 12.63; 1371, 0.97,1094.53, 12.62; 1373, 1.56,1094.53, 12.62; 1120, 27
ci 2211, 0.68, 752.55, 7.27; 2215, 3.56, 752.55, 7.04; 2212, 3.02, 752.55, 7.33; 2213, 2.42, 752.55, 7.21; 491, 22
yii 2304, 3.21,1180.15, 6.65; 2262, 0.51,1180.15, 6.68; 2238, 0.70,1180.15, 6.64; 2268, 1.47,1180.15, 6.66; 269, 19
slim 2131, 3.83, 699.77, 7.17; 2128, 1.68, 699.77, 7.20; 2172, 2.49, 699.77, 7.23; 2144, 2.67, 699.77, 7.20; 521, 14
laravel 3014, 1.52, 518.36, 4.42; 3018, 0.72, 518.36, 4.44; 2916, 0.46, 518.36, 4.44; 2983, 0.90, 518.36, 4.43; 238, 26
colaphp 5099, 0.46, 257.55, 2.22; 5306, 0.39, 257.55, 2.26; 5336, 0.16, 257.55, 2.25; 5247, 0.34, 257.55, 2.24; 111, 9
micromvc4 5283, 0.78, 176.73, 2.25; 5709, 0.18, 176.73, 2.22; 5440, 0.10, 176.73, 2.25; 5477, 0.35, 176.73, 2.24; 123, 12
yaf 6220, 0.02, 67.89, 1.28; 6426, 0.09, 67.89, 1.27; 4952, 0.17, 67.89, 1.28; 5866, 0.09, 67.89, 1.28; 18, 4
Binary file added results/v20111201-4-20120518/loadavg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/v20111201-4-20120518/memory-usage.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/v20111201-4-20120518/number-of-files.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/v20111201-4-20120518/response-time.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/v20111201-4-20120518/symfony2/funmap2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d6fde8

Please sign in to comment.