I have a question. How does Yii perform compared to Prado 3, Seagull or Zend Framework, for instance? Do you have some profiling or benchmark?
I know this kind of benchmarks are most of the time hated because there are several aspects which affect the performance, but I'd like to have some basis for deciding to switch to Yii for new developments.
Thanks :-)
Page 1 of 1
Benchmarking/performance
#2
Posted 07 October 2008 - 01:50 PM
Yes, performance is affected by many factors. The one shows on this project website mainly reveals the minimal overhead caused by a framework. This time is crucial because there is no way to avoid it unless the framework is optimized or some server caching technique is used.
The comparison already shows Yii vs. Prado 3. I just profiled Zend framework and the result is very poor: 22 RPS without APC and 14 RPS with APC (this is very interesting, it seems Zend doesn't go well with APC. I repeated the test several times and got similar results.)
I didn't compare Yii with Seagull mainly because Seagull doesn't come with a suitable demo and there are a lot of STRICT PHP notices.
The comparison already shows Yii vs. Prado 3. I just profiled Zend framework and the result is very poor: 22 RPS without APC and 14 RPS with APC (this is very interesting, it seems Zend doesn't go well with APC. I repeated the test several times and got similar results.)
I didn't compare Yii with Seagull mainly because Seagull doesn't come with a suitable demo and there are a lot of STRICT PHP notices.
#3
Posted 08 October 2008 - 01:09 AM
Quote
I have a question. How does Yii perform compared to Prado 3, Seagull or Zend Framework, for instance? Do you have some profiling or benchmark?
I know this kind of benchmarks are most of the time hated because there are several aspects which affect the performance, but I'd like to have some basis for deciding to switch to Yii for new developments.
Thanks :-)
I know this kind of benchmarks are most of the time hated because there are several aspects which affect the performance, but I'd like to have some basis for deciding to switch to Yii for new developments.
Thanks :-)
For some quick numbers, see http://www.yiiframew...om/performance/

#4
Posted 08 October 2008 - 02:28 AM
From the diagram you see that without APC "standard" Yii is faster than yiilite. How comes that?
#5
Posted 08 October 2008 - 05:44 AM
This is because yiilite.php is a file with 163KB. Parsing this big file takes significant time. When APC is enabled, this time is saved.
#6
Posted 08 October 2008 - 12:18 PM
Question: Why is codeigniter v 1.5.4 used while 1.6.3 is the 'current' version ?
#7
Posted 08 October 2008 - 02:35 PM
I just updated the results by replacing CI with 1.6.3 version. Thanks for suggestion.
#9
Posted 08 October 2008 - 08:55 PM
Per your request, I just compiled together the testing scripts. Please download it at http://code.google.com/p/phpmark/
Share this topic:
Page 1 of 1