CodeIgniter Forums
Benchmarking: CI is twice faster than Yii - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Benchmarking: CI is twice faster than Yii (/showthread.php?tid=44215)



Benchmarking: CI is twice faster than Yii - El Forum - 08-07-2011

[eluser]kenjis[/eluser]
Hi there,

My friend benchmarked some PHP frameworks.

Agavi 1.0.6
CakePHP 1.3.11
CakePHP 2.0-beta
Codeigniter 2.0.2
Lithium 0.10
Pinoco 0.5.2 (PHPTAL template)
Silex (Doctrine + Twig(caching on))
Symfony 2.0
Yii 1.1.8
ZendFW 1.11.10

This is a simple benchmarking which read one record from database and show it in a page.

As the result, of course CI is fastest in big 4 PHP frameworks, CakePHP, Symfony2, Zend Framework, CodeIgniter.

And it is very interesting that CI is 1.8 times faster than Yii.

You can read full article if you can read Japanese ;-)
http://d.hatena.ne.jp/cakephper/20110802/1312275110 (Japanese)

You can see the results and graphs in Google Docs:
https://spreadsheets.google.com/spreadsheet/pub?hl=ja&hl=ja&key=0AlU1p67x75_UdEZ0TmstSHZMaFpBQXR4TkVUdHFoV0E&output=html


Benchmarking: CI is twice faster than Yii - El Forum - 08-11-2011

[eluser]toopay[/eluser]
You or your friend should include Kohana too.