PHP框架的选择及几款主流框架的性能基本评测
|
Ver: 1.1 * ColaPHP: Site: http://code.google.com/p/colaphp/ Ver: 1.2-ga # XHProf: A Hierarchical Profiler for PHP Site: http://pecl.php.net/xhprof Ver: 0.9.2 # The source code of this testing: Source: https://github.com/eryx/php-framework-benchmark 1. Apache Benchmark Requests pre second (-c 100 -n 30000), the bigger is better ![]() 请求/秒(-c 200 -n 50000), 数值越大越好 ![]() 2. 系统负载 压力测试一分钟内完成的负载图 越小越好(-c 100 -n 30000) ![]() 3. 内存使用率 测试hello word占用的内存,越小越好. ![]() 4. 响应时间 页面的响应时间.单位微妙 ![]() 5. 调用方法的数量(Facebook XHProf) 单个hello word页面调用了多少方法,zend5620个方法,是不是太臃肿了。 ![]() 6. 文件数量 打开hellow word用到included or required in 文件的数量.越小越好,zend很多,yii19个,yaf才4个,不快才怪。 ![]() (编辑:南阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |







