CI vs Kohana,执行速度以及内存占用比较(外带炮灰cakephp)
原文:http://thislab.com/2008/03/25/kohana-vs-codeigniter-speed-and-memory-usage-performance-benchmark/Execution time
CI 1.6.1: 0.5657s
K SVN: 0.5718s
K 2.1.1: 0.5787s
Memory usage (pre-controller)
CI 1.6.1: 642,136 bytes
K SVN: 1,097,976 bytes
K 2.1.1: 1,076,972 bytes
Memory usage (post-controller)
CI 1.6.1: 2,354,524 bytes
K SVN: 3,062,376 bytes
K 2.1.1: 3,026,884 bytes
Results the lower the better (total time taken).
CI 1.6.1: 110.236098 seconds
K SVN: 130.211059 seconds
K 2.1.1: 130.662462 seconds
Results the higher the better (requests per second).
CI 1.6.1: 122.18 [#/sec]
K SVN: 113.96 [#/sec]
K 2.1.1: 118.54 [#/sec]
As a comparison (just for fun), here are two results for CakePHP:
First run: 18.66 [#/sec]
Second run: 33.47 [#/sec]
The first run was done in default set up whilst the second one was done by using suggested tweaks.
Just for fun. 随便看看就好。 :) 顶 CTO 的技术文章!! 看来性能上CI还是很大优势的嘛
谁能对比下开发速度?嘿嘿。这个问题嘛。。。。嘿嘿 :) :lol :lol :lol :lol 看来性能上CI还是很大优势的嘛
谁能对比下开发速度?嘿嘿。这个问题嘛。。。。嘿嘿
lony 发表于 2008-3-25 08:52 http://codeigniter.org.cn/forums/images/common/back.gif
没看出有优势啊,只是相差一点点而已 CI的速度,在国外框架中算是很快的了。
开发速度上。我个人认为还是用那个框架熟练程度. 全面PHP5化是要牺牲点效率的 解析型语言用面向对象本身就是耗费资源的....
项目的可维护性和效率取舍吧...反正硬件性能也不差了.... 不是说YII更快吗 哎,哎。。。
本人今年的目标是先CI,然后ZF。
ZF之前看过,挺庞大,功能挺全。
但CI用于开发WEB,简直就是首选。
其实不在于框架,而在于个人对框架的应用能力,个人的PHP水平。
说多了,说多了,睡觉去了。
页:
[1]
2