Reputation: 81
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?
Upvotes: 7
Views: 8892
Reputation: 774
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.
Upvotes: 3
Reputation: 49
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.
Upvotes: 4
Reputation: 1628
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.
Upvotes: 2