Take the 2-minute tour ×

I am searching for the fastest framework in PHP.

I have found one benchmark in which Yii is faster than CodeIgniter, and another benchmark in which CodeIgniter is faster than Yii.

So, which is faster?

share|improve this question
Benchmarks aren't accurate assessors of performance unless you are going to be performing exactly the task benchmarked in your code. –  Blender Dec 6 '11 at 7:23
Faster to run or faster to develop in, or faster to extend/improve later? –  James Butler Dec 6 '11 at 11:18
Do we have to go through this debate again of which framework is faster? –  Flukey Dec 8 '11 at 15:32
based on Google trends Yii is on the top google.com/trends... –  adi res Jun 21 '13 at 5:01
add comment

3 Answers

up vote 1 down vote accepted

In your first benchmark : there is codeigniter 1.7.0 and Yii 1.0.2
After that codeigniter has many changes and in your second benchmark :
there is codeigniter 2.0 and yii 1.1.6

So latest codeigniter 2.0 is better than yii according to this benchmarks.

share|improve this answer
what about fuelphp? –  Zhianc Dec 6 '11 at 7:35
Frameworks take side to their project. It's not sensible to just trust to these data. –  phpGeek Jan 6 at 13:10
add comment

Although this does not directly apply to speed, we built an open source CRM application (Zurmo.org) using Yii. Before we started building Zurmo, we looked at Yii, Cakephp, Zend, and Codeigniter. We felt Yii was a great framework because it was lightweight, fast, and clean. It had a full set of functionality and matched up well with the other frameworks. We are delighted with the decision.

share|improve this answer
add comment

As per the market stats, Codeigniter is one of the fastest growing framework. Yii is in the initial release of the frameworks. Codeigniter has its own set of libraries whereas the Yii framework inherits the style from the three well known frameworks - Codeigniter, Symphony and Zend. Both of them have a concept of Lazy loading i.e. resources are only loaded when required. So it will be difficult to say which one is faster but they can be used as per the requirement of the product to be developed.

share|improve this answer
And it still is, Codeigniter is tsill growing see Google trends google.com/trends/… –  Marco Demaio Feb 25 '13 at 10:15
add comment

Your Answer


