March 25th, 2008
Posted by Fred Wu
This is just a quick and dirty test, please take it with a grain of salt.
We all know that CodeIgniter is a very fast framework, but how about Kohana? Kohana is packed with more features, so does that mean it is slower? Let’s find out.
The following benchmarks are done on my local Macbook Pro machine (C2D 2.4GHz + 4GB), Leopard 10.5.2, MAMP without any code optimisers or caches.
It may be useful to know that one of the main “optimization guys”, who actually made the CI word_limiter() this fast, started working on Kohana a long time ago. If it wasn’t for him, CI’s word_limiter() would be easily 50 times slower.
http://codeigniter.com/forums/.....30/#300297
Awesome, thanks for the heads up Geert. :)
thankyou. it’s always been a long time question to me. which one is faster betweeen Kohana & CI.
Basing from your benchmark. The significant part is Kohana has a higher memory usage. http://www.lorztech.com
Thank you for the benchmark.
What about if you add the latest version of kohana (2.3) on to the bechmark ? may be we can find out if there’s significant performance compared to the previous version.
Hi there, I was looking around for a while searching for unix test and I happened upon this site and your post regarding vs CodeIgniter: Speed and Memory Usage Performance Benchmark | Beyond Coding, I will definitely this to my unix test bookmarks!
I understand that this tests are just for fun, but I wonder how many “Hello World” websites did you saw on the Internet? In my opinion first test is fine, but “hello worlds” are pretty much useless.
Also, when it comes to CI and Kohana, there is actually only one choice – obviously Kohana, despite it lacks documentation, tutorials and examples. CI guys decided to stay PHP4 compatible which is DEAD.
once I got few modules working in CI the memory consumed much more than Kohana
I did some comprehensive performance benchmarks of all the latest PHP MVC Frameworks including Yii 1.1.1, Kohana 2.3.4 and Code Igniter 1.7.2 as well as others. The results and analysis of results is here: Comparing PHP MVC Framework Performance