这几天在选择php框架,测试了国外的yii 和国内的qeephp的性能。
使用apache的ab做了简单的性能测试,yii测试的是demo里的phonebook程序,qeephp用的是快速入门的todo,结果发现yii比qee稍微快一些,不向网上说的那样比qeephp慢。
在自己机器上做的测试,仅供参考,本人不承担任何责任。测试过程如下:
C:/Documents and Settings/zxt>D:/APMServ5.2.0/Apache/bin/ab -c 100 -t 30 http:/
/localhost/yii/demos/phonebook/ >c:/testyii.txt
Finished 588 requests
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: Apache/2.2.3
Server Hostname: localhost
Server Port: 80
Document Path: /yii/demos/phonebook/
Document Length: 4409 bytes
Concurrency Level: 100
Time taken for tests: 30.890625 seconds
Complete requests: 588
Failed requests: 0
Write errors: 0
Total transferred: 2757360 bytes
HTML transferred: 2596563 bytes
Requests per second: 19.03 [#/sec] (mean)
Time per request: 5253.508 [ms] (mean)
Time per request: 52.535 [ms] (mean, across all concurrent requests)
Transfer rate: 87.15 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.2 0 15
Processing: 125 4400 1637.0 4297 8171
Waiting: 125 4399 1637.1 4296 8171
Total: 125 4400 1636.9 4312 8171
Percentage of the requests served within a certain time (ms)
50% 4312
66% 5109
75% 5656
80% 6046
90% 6859
95% 7093
98% 7343
99% 7546
100% 8171 (longest request)
C:/Documents and Settings/zxt>D:/APMServ5.2.0/Apache/bin/ab -c 100 -t 30 http://
localhost/todo/public/index.php >c:/testqee.txt
Finished 562 requests
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: Apache/2.2.3
Server Hostname: localhost
Server Port: 80
Document Path: /todo/public/index.php
Document Length: 2150 bytes
Concurrency Level: 100
Time taken for tests: 30.000 seconds
Complete requests: 562
Failed requests: 31
(Connect: 0, Length: 31, Exceptions: 0)
Write errors: 0
Total transferred: 1766807 bytes
HTML transferred: 1498878 bytes
Requests per second: 18.73 [#/sec] (mean)
Time per request: 5338.078 [ms] (mean)
Time per request: 53.381 [ms] (mean, across all concurrent requests)
Transfer rate: 57.50 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.1 0 15
Processing: 484 4856 2689.3 3953 14078
Waiting: 484 4751 2450.7 3953 12140
Total: 484 4856 2689.2 3953 14078
Percentage of the requests served within a certain time (ms)
50% 3953
66% 4343
75% 4828
80% 5890
90% 9562
95% 9875
98% 12171
99% 12343
100% 14078 (longest request)
分享到:
相关推荐
很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架很好用yii框架
yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架yii框架
Yii Yii框架 Yii框架快速入门,自己整理的很全的,很容易看懂
据说是超越所有的PHP框架php最新框架YII框架php最新框架YII框架
一个基于OpenResty的仿Yii的web框架
yii2 advanced 框架,支持MVC,很好用的PHP框架,大大加快开发速度,支持前端和后端
yii框架2.0版本
Yii开发框架简介 Yii是一个高性能的PHP5的web应用程序开发框架。通过一个简单的命令行工具yiic可以快速创建一个web应用程序的代码框架,开发者可以在生成的代码框架基础上添加业务逻辑,以快速完成应用程序的开发。...
yii框架教程yii框架教程yii框架教程yii框架教程yii框架教程yii框架教程
Yii是一个基于组件的高性能PHP框架,用于开发大型Web应用。Yii采用严格的OOP编写,并有着完善的库引用以及全面的教程。从 MVC,DAO/ActiveRecord,widgets,caching,等级式RBAC,Web服务,到主题化,I18N和L10N,...
本书首先介绍 PHP 框架技术的概念及其应用领域,然后开始仿照 Yii 框架源代码 自定义框架,其中包括了 MVC 设计模式、单入口模式和应用(前端控制器模式)的实现。 充分了解了这部分知识后,读者对 Yii 框架也有了...
yii1.1中文文档 yii框架中文手册教程.pdf
Yii是一个高性能的PHP5的web应用程序开发框架。通过一个简单的命令行工具 yiic 可以快速创建一个web应用程序的代码框架,开发者可以在生成的代码框架基础上添加业务逻辑,以快速完成应用程序的开发。 BAE提供了Yii ...
【70】php 高性能yii2框架开发高性能高可用负载均衡集群架构商城视频教程下载 .txt【70】php 高性能yii2框架开发高性能高可用负载均衡集群架构商城视频教程下载 .txt
yii框架源码分析
通过本系列课程的学习,达到可以用Yii2自主...并且,通过本课程学习,开发者可以充分的理解Yii2接口的灵活性,其中包括:按需取值,自由扩展,标准统一的接口开发意义,并享受一个强大开发框架带来得开发效率的提升。
Yii 框架简介 全面轻松入手Yii 从这里开始 简单 明了 言简意赅
yii php框架最新版本 yii php框架最新版本yii php框架最新版本
php 高性能yii2框架开发高性能高可用负载均衡集群架构商城视频教程下载
yii框架 你懂得