[UPHPU] Which PHP framework is slower?

MilesTogoe miles.togoe at gmail.com
Wed Jul 2 12:23:26 MDT 2008


The results look consistent with what I've read over the past several 
years but benchmarks are so often not very meaningful.  For example, 
I've heard the add-in ORM in codeigniter is really slow.   Likewise, it 
depends on tons of variables such as running javascript, different 
database api's, .......     And it depends on your application - an app 
with lots of related tables and complex reporting is better off with an 
ORM.   New apps are probably driven more by framework programmer 
productivity to get the product out to market, high user apps are more 
driven by raw processing (Rails and Twitter).

If I were forced to prototype something today in PHP I would choose 
CodeIgniter.   But I prototype in Rails (which I've found the most 
productive framework out there).  For the final app I choose Python 
(though straight PHP or Perl would be good choices if that's what the 
staff really knows) - all of which are fast and scalable.


Sheri Bigelow wrote:
> PHP::Impact just posted about a PHP framework
> benchmark study. What are your experiences with the PHP frameworks?
>
> Which PHP framework is slower?
> http://phpimpact.wordpress.com/2008/07/02/which-php-framework-is-slower/
>
>
> All scores are requests per second (higher is better):
>
> *Run 1*
>
> *Run 2*
>
> *Run 3*
>
> *Run 4*
>
> *Average*
> *Baseline HTML*
>
> 1327.5
>
> 1326.5
>
> 1328.6
>
> 1329.1
>
> *1327.9*
> *Baseline PHP*
>
> 331.6
>
> 332.1
>
> 331.4
>
> 332.0
>
> *331.8*
> *CodeIgniter*
>
> 21.5
>
> 21.2
>
> 21.7
>
> 21.7
>
> *21.5*
> *Zend Framework*
>
> 9.3
>
> 9.1
>
> 9.2
>
> 9.3
>
> *9.2*
> *CakePHP*
>
> 3.6
>
> 3.7
>
> 3.8
>
> 3.5
>
> *3.7*
>
>
> Table
> Source: PHP framework comparison benchmarks, June 30th, 2008 | Ekerete.
> http://www.avnetlabs.com/php/php-framework-comparison-benchmarks
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
>   



More information about the UPHPU mailing list