https://wiki.kumbiaphp.com/api.php?action=feedcontributions&user=Adokadrik&feedformat=atom
KumbiaPHP Framework Wiki - Contribuciones del usuario [es]
2024-03-28T18:56:03Z
Contribuciones del usuario
MediaWiki 1.34.1
https://wiki.kumbiaphp.com/index.php?title=KumbiaPHP_Framework_Benchmark&diff=3203
KumbiaPHP Framework Benchmark
2011-07-11T11:13:45Z
<p>Adokadrik: /* Version 1.0 Spirit pre beta vs (Symfony, Zend, CakePHP) */</p>
<hr />
<div>== Version 1.0 pre beta Spirit vs (Symfony, Zend, CakePHP) ==<br />
Began publishing a series of Benchmark we've made to version 1.0 Spirit vs (Symfony, Zend and CakePHP) are all in PHP MVC Frameworks. The intention is to show the progress we have achieved with the latest version (Spirit) of kumbiaphp framework.<br />
<br />
We're working to further improve the speed before the final version. In addition to speed, have also made changes to it even faster and easier to use, [http://www.allwritingsource.co.uk/essay-writing-service.php Essay Writing] by facilitating the reuse of code in different parties and may be shared with the community.<br />
<br />
The methodology, each to be applied Framework tests were done using the most minimal of configuration and control measures possible in order to enforce a "Hello World", the minimalist approach measures the responsiveness of the components of the Framework. No application code to run the controller actions in the Framework of everyone to do as little as possible to call a hearing. [http://www.assignmentmojo.co.uk/buy-assignments-online/ Buy Assignment] This shows the best performance possible, adding only reduce the response code.<br />
<br />
Each of the Framework's Benchmark uses the following scripts or equivalent ...<br />
<br />
* Bootstrap.<br />
* Default setting.<br />
* Front-controller or dispatcher.<br />
* Page-controller-controller or action.<br />
* A code-free action, others who call a hearing.<br />
* Vista static with just "Hello World!".<br />
<br />
Apache is used by reference "ab" tool for the measurement of requests per second on localhost to negate the effects of network latency, [http://www.mightydesigners.com Logo Design Competition] with 10 concurrent requests for 60 seconds without APC. The command is as follows:<br />
<br />
<pre> ab-c 10-t 60 http://localhost/ [path] </ pre><br />
<br />
==Servidor==<br />
<br />
* Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz.<br />
* 3GiB Memoria RAM.<br />
* 160GiB Disco Duro.<br />
* Server version: Apache/2.2.11 .<br />
* S.O. Debian Squeeze.<br />
* ApacheBench, Version 2.3.<br />
<br />
==Resultados==<br />
<br />
<pre>Document Path: /phpmark-read-only/baseline/index.html<br />
Requests per second: 2124.27 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/baseline/index.php<br />
Requests per second: 1255.32 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/kumbiaphp-1.0/hola_mundo<br />
Requests per second: 34.07 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/cakephp-1.2.0/benchmark<br />
Requests per second: 15.87 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/cakephp-1.2.1/benchmark<br />
Requests per second: 15.91 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/symfony-1.1.6/web/index.php<br />
Requests per second: 12.60 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/symfony-1.2.1/web/index.php<br />
Requests per second: 10.10 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/symfony-1.2.2/web/index.php<br />
Requests per second: 11.55 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/zend-1.6.2/index.php<br />
Requests per second: 23.71 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/zend-1.7.2/index.php<br />
Requests per second: 23.26 [#/sec] (mean)<br />
Document Path: /phpmark-read-only/zend-1.7.3/index.php<br />
Requests per second: 23.50 [#/sec] (mean)</pre><br />
<br />
==Gráfica==<br />
[[Imagen:Benchmark.png|Benchmark Framework KumbiaPHP vs (Symfony, Zend y CakePHP)]]<br />
<br />
==Detalles Resultados==<br />
<pre>~~~ Testing baseline-html : http://localhost/phpmark-read-only/baseline/index.html<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/baseline/index.html<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 23.537 seconds<br />
Complete requests: 50000<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 16602988 bytes<br />
HTML transferred: 550099 bytes<br />
Requests per second: 2124.27 [#/sec] (mean)<br />
Time per request: 4.707 [ms] (mean)<br />
Time per request: 0.471 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 688.85 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 2 0.9 2 9<br />
Processing: 1 3 0.9 3 118<br />
Waiting: 0 2 0.7 2 22<br />
Total: 1 5 1.1 5 118<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 5<br />
66% 5<br />
75% 5<br />
80% 5<br />
90% 5<br />
95% 5<br />
98% 5<br />
99% 6<br />
100% 118 (longest request)<br />
~~~ Testing baseline-php : http://localhost/phpmark-read-only/baseline/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/baseline/index.php<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.003 seconds<br />
Complete requests: 37663<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 9755494 bytes<br />
HTML transferred: 414326 bytes<br />
Requests per second: 1255.32 [#/sec] (mean)<br />
Time per request: 7.966 [ms] (mean)<br />
Time per request: 0.797 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 317.53 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 3 1.9 4 22<br />
Processing: 1 5 3.4 4 109<br />
Waiting: 0 4 3.1 4 109<br />
Total: 1 8 3.7 9 109<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 9<br />
66% 9<br />
75% 9<br />
80% 9<br />
90% 9<br />
95% 9<br />
98% 13<br />
99% 21<br />
100% 109 (longest request)<br />
~~~ Testing kumbiaphp 1.0 : http://localhost/phpmark-read-only/kumbiaphp-1.0/hola_mundo<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/kumbiaphp-1.0/hola_mundo<br />
Document Length: 10 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.027 seconds<br />
Complete requests: 1023<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 469557 bytes<br />
HTML transferred: 10230 bytes<br />
Requests per second: 34.07 [#/sec] (mean)<br />
Time per request: 293.514 [ms] (mean)<br />
Time per request: 29.351 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 15.27 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 1 10.1 0 133<br />
Processing: 56 291 82.4 282 689<br />
Waiting: 55 268 84.0 261 689<br />
Total: 67 292 81.9 283 689<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 283<br />
66% 309<br />
75% 329<br />
80% 343<br />
90% 384<br />
95% 436<br />
98% 535<br />
99% 598<br />
100% 689 (longest request)<br />
~~~ Testing CakePHP 1.2.0 : http://localhost/phpmark-read-only/cakephp-1.2.0/benchmark<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/cakephp-1.2.0/benchmark<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.063 seconds<br />
Complete requests: 477<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 123543 bytes<br />
HTML transferred: 5247 bytes<br />
Requests per second: 15.87 [#/sec] (mean)<br />
Time per request: 630.255 [ms] (mean)<br />
Time per request: 63.026 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 4.01 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 0 2.9 0 37<br />
Processing: 161 623 94.1 621 972<br />
Waiting: 147 605 98.0 607 949<br />
Total: 178 623 93.9 622 972<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 621<br />
66% 653<br />
75% 674<br />
80% 688<br />
90% 732<br />
95% 768<br />
98% 849<br />
99% 896<br />
100% 972 (longest request)<br />
~~~ Testing CakePHP 1.2.1 : http://localhost/phpmark-read-only/cakephp-1.2.1/benchmark<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/cakephp-1.2.1/benchmark<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.098 seconds<br />
Complete requests: 479<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 124061 bytes<br />
HTML transferred: 5269 bytes<br />
Requests per second: 15.91 [#/sec] (mean)<br />
Time per request: 628.349 [ms] (mean)<br />
Time per request: 62.835 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 4.03 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 2 13.6 0 109<br />
Processing: 188 619 93.1 621 982<br />
Waiting: 188 602 99.7 608 973<br />
Total: 272 621 91.2 621 982<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 621<br />
66% 658<br />
75% 678<br />
80% 692<br />
90% 731<br />
95% 763<br />
98% 821<br />
99% 841<br />
100% 982 (longest request)<br />
~~~ Testing Symfony 1.1.6 : http://localhost/phpmark-read-only/symfony-1.1.6/web/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/symfony-1.1.6/web/index.php<br />
Document Length: 541 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.150 seconds<br />
Complete requests: 380<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 375820 bytes<br />
HTML transferred: 205580 bytes<br />
Requests per second: 12.60 [#/sec] (mean)<br />
Time per request: 793.432 [ms] (mean)<br />
Time per request: 79.343 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 12.17 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 2 13.8 0 106<br />
Processing: 388 781 101.8 777 1193<br />
Waiting: 382 765 105.5 762 1177<br />
Total: 495 783 101.7 777 1193<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 777<br />
66% 814<br />
75% 834<br />
80% 848<br />
90% 902<br />
95% 980<br />
98% 1030<br />
99% 1074<br />
100% 1193 (longest request)<br />
~~~ Testing Symfony 1.2.1 : http://localhost/phpmark-read-only/symfony-1.2.1/web/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/symfony-1.2.1/web/index.php<br />
Document Length: 541 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.105 seconds<br />
Complete requests: 304<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 240160 bytes<br />
HTML transferred: 164464 bytes<br />
Requests per second: 10.10 [#/sec] (mean)<br />
Time per request: 990.280 [ms] (mean)<br />
Time per request: 99.028 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 7.79 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 3 20.7 0 175<br />
Processing: 703 974 142.6 949 1841<br />
Waiting: 667 958 141.9 938 1807<br />
Total: 703 977 150.6 951 2015<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 951<br />
66% 1005<br />
75% 1037<br />
80% 1072<br />
90% 1156<br />
95% 1251<br />
98% 1297<br />
99% 1453<br />
100% 2015 (longest request)<br />
~~~ Testing Symfony 1.2.2 : http://localhost/phpmark-read-only/symfony-1.2.2/web/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/symfony-1.2.2/web/index.php<br />
Document Length: 541 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.042 seconds<br />
Complete requests: 347<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 274130 bytes<br />
HTML transferred: 187727 bytes<br />
Requests per second: 11.55 [#/sec] (mean)<br />
Time per request: 865.769 [ms] (mean)<br />
Time per request: 86.577 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 8.91 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 2 17.8 0 155<br />
Processing: 475 855 106.2 856 1232<br />
Waiting: 473 839 109.8 840 1232<br />
Total: 544 857 108.1 857 1250<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 856<br />
66% 895<br />
75% 912<br />
80% 932<br />
90% 984<br />
95% 1026<br />
98% 1137<br />
99% 1219<br />
100% 1250 (longest request)<br />
~~~ Testing Zend 1.6.2 : http://localhost/phpmark-read-only/zend-1.6.2/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/zend-1.6.2/index.php<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.029 seconds<br />
Complete requests: 712<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 184408 bytes<br />
HTML transferred: 7832 bytes<br />
Requests per second: 23.71 [#/sec] (mean)<br />
Time per request: 421.757 [ms] (mean)<br />
Time per request: 42.176 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 6.00 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 1 9.2 0 97<br />
Processing: 164 418 81.9 414 805<br />
Waiting: 121 393 83.3 390 797<br />
Total: 164 419 81.3 414 805<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 414<br />
66% 445<br />
75% 463<br />
80% 474<br />
90% 518<br />
95% 557<br />
98% 622<br />
99% 702<br />
100% 805 (longest request)<br />
~~~ Testing Zend 1.7.2 : http://localhost/phpmark-read-only/zend-1.7.2/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/zend-1.7.2/index.php<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.008 seconds<br />
Complete requests: 698<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 180782 bytes<br />
HTML transferred: 7678 bytes<br />
Requests per second: 23.26 [#/sec] (mean)<br />
Time per request: 429.911 [ms] (mean)<br />
Time per request: 42.991 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 5.88 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 2 12.5 0 131<br />
Processing: 161 425 84.2 417 884<br />
Waiting: 125 402 83.6 395 884<br />
Total: 208 427 83.0 419 884<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 419<br />
66% 446<br />
75% 464<br />
80% 475<br />
90% 514<br />
95% 565<br />
98% 688<br />
99% 753<br />
100% 884 (longest request)<br />
~~~ Testing Zend 1.7.3 : http://localhost/phpmark-read-only/zend-1.7.3/index.php<br />
This is ApacheBench, Version 2.3 <$Revision: 655654 $><br />
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />
Licensed to The Apache Software Foundation, http://www.apache.org/<br />
<br />
Benchmarking localhost (be patient)<br />
<br />
<br />
Server Software: Apache/2.2.11<br />
Server Hostname: localhost<br />
Server Port: 80<br />
<br />
Document Path: /phpmark-read-only/zend-1.7.3/index.php<br />
Document Length: 11 bytes<br />
<br />
Concurrency Level: 10<br />
Time taken for tests: 30.003 seconds<br />
Complete requests: 705<br />
Failed requests: 0<br />
Write errors: 0<br />
Total transferred: 182595 bytes<br />
HTML transferred: 7755 bytes<br />
Requests per second: 23.50 [#/sec] (mean)<br />
Time per request: 425.573 [ms] (mean)<br />
Time per request: 42.557 [ms] (mean, across all concurrent requests)<br />
Transfer rate: 5.94 [Kbytes/sec] received<br />
<br />
Connection Times (ms)<br />
min mean[+/-sd] median max<br />
Connect: 0 2 17.0 0 185<br />
Processing: 131 421 88.3 415 828<br />
Waiting: 75 398 91.8 393 828<br />
Total: 131 423 86.8 416 828<br />
<br />
Percentage of the requests served within a certain time (ms)<br />
50% 415<br />
66% 446<br />
75% 465<br />
80% 478<br />
90% 519<br />
95% 574<br />
98% 640<br />
99% 752<br />
100% 828 (longest request)<br />
</pre><br />
<br />
==Código Utilizado==<br />
<br />
===KumbiaPHP===<br />
Para KumbiaPHP Framework en su version 1.0 Spirit<br />
<pre><?php<br />
class HolaMundoController extends ApplicationController<br />
{<br />
public $template = null; <br />
public function index()<br />
{<br />
$this->render(null);<br />
echo 'Hola Mundo';<br />
}<br />
}</pre><br />
<br />
===CakePHP===<br />
Para CakePHP en sus versiones 1.2.0; 1.2.1 se utilizo el siguiente código<br />
<pre><?php<br />
class BenchmarkController extends AppController {<br />
var $helpers = null; //Because the 'Html' and 'Form' helpers are enabled by default<br />
var $uses = array();<br />
var $components = array();<br />
var $layout = null;<br />
var $autoLayout = false;<br />
var $autoRender = false;<br />
<br />
<br />
function index() {<br />
echo 'Hello World';<br />
}<br />
}<br />
<br />
?></pre><br />
<br />
===Symfony===<br />
Para Symfony en sus versiones 1.1.6, 1.2.1 y 1.2.2.<br />
<br />
<pre><?php<br />
<br />
/**<br />
* content actions.<br />
*<br />
* @package sf_sandbox<br />
* @subpackage content<br />
* @author Your name here<br />
* @version SVN: $Id: actions.class.php 9301 2008-05-27 01:08:46Z dwhittle $<br />
*/<br />
class contentActions extends sfActions<br />
{<br />
/**<br />
* Executes index action<br />
*<br />
* @param sfRequest $request A request object<br />
*/<br />
public function executeIndex($request)<br />
{<br />
echo 'hello world';<br />
}<br />
}</pre><br />
<br />
===Zend Framework===<br />
Para Zend Framework en sus versiones 1.6.2, 1.7.2 y 1.7.3<br />
<br />
<pre><?php<br />
require_once 'Zend/Controller/Action.php';<br />
class IndexController extends Zend_Controller_Action<br />
{<br />
public function indexAction()<br />
{<br />
Zend_Controller_Action_HelperBroker::removeHelper('ViewRenderer');<br />
echo( 'hello world');<br />
}<br />
}</pre><br />
<br />
<br />
[[Categoría:PHP Framework Benchmarks]]</div>
Adokadrik