Thursday, January 1, 2009

Re: new benchmarks of PHP frameworks

Your benchmarks are still "Hello World" examples, from what I can see there.
Great as a benchmark for those using static only pages with their frameworks, but I suggest that the majority of developers out there are doing something more complex.

Cheers,
Graham Weldon


kiang wrote:
You could have a look at the result I did. ;)    ---  kiang    On 1月2日, 上午6時37分, Graham Weldon <gra...@grahamweldon.com> wrote:    
I won't say I have looked extensively through the code provided for all  frameworks, but the CakePHP 1.2 BenchmarkController is far from thorough.    Its bypassing view parsing, by putting a die() call in the controller  action:    http://code.google.com/p/phpmark/source/browse/tags/20081226/cakephp-...    Benchmark testing should be done with non-trivial code, and given these  frameworks abstract databases, and that abstraction can affect  performance, it should probably include tests that include database access.    Cheers,  Graham Weldon    kiang wrote:      
Yii project had updated their Performance Comparison page:  http://www.yiiframework.com/performance        
The core developer of Yii also created a project to host the code  needed for benchmarks:  http://code.google.com/p/phpmark/        
Based on that project, I did some tests on my computer and the result  is here:  http://code.google.com/p/twpug/downloads/detail?name=framework_benchm...        
The difference I did was putting the output in view instead of in  controller. And the tool I used is siege with following command:  siege -c 100 -r 3        
With the 'Transaction rate' result, I also make a bar chart with  OpenOffice.org.        
The good news is CakePHP 1.2 is faster than Symfony 1.2.1 on my  computer. ;)        
ps. I didn't use APC, just comparing the execution time in one simple  request.        
---  kiang        
    


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: