html5中文学习网

您的位置: 首页 > 网络编程 > PHP编程 » 正文

Yaf 2.1性能测试(Yaf 2.1 Benchmark)_PHP教程_编程技术

[ ] 已经帮助:人解决问题

  Thanks to Ruilog agian for his work of second benchmark of Yaf 2.1.4ZGHTML5中文学习网 - HTML5先行者学习网

  Yaf 2.1 (docs) did a lot of work to improve performance and reduce memory usage, so let’s take a look at the result(Yaf 2.1重写了很多逻辑来提升性能, 并且降低内存使用率, 改进结果见测试对比):4ZGHTML5中文学习网 - HTML5先行者学习网

  First of all, I have to say, I am not saying the fastest is the best. every framework list blew is outstanding, and has particular situation to deploy. (首先, 我要申明, 不一定最快的就是最好的, 下面的每一个框架都是优秀的框架, 都有它们适用的场景)4ZGHTML5中文学习网 - HTML5先行者学习网

  Case4ZGHTML5中文学习网 - HTML5先行者学习网

  Test Simple “Hello World” page output, Simple MVC logic(Router -> Controller -> Viewer), No Database Connections, No complex logic. Test scripts can be found here.4ZGHTML5中文学习网 - HTML5先行者学习网

  Hardware platform4ZGHTML5中文学习网 - HTML5先行者学习网

  CPU: Intel Core i5 750 (2.67GHz x4)4ZGHTML5中文学习网 - HTML5先行者学习网

  RAM: 4GB4ZGHTML5中文学习网 - HTML5先行者学习网

  Software Environment4ZGHTML5中文学习网 - HTML5先行者学习网

  Debian 6.0.3 x86_64 (2.6.32-39)4ZGHTML5中文学习网 - HTML5先行者学习网

  apache 2.2.16 (mpm-prefork,mod-php5)4ZGHTML5中文学习网 - HTML5先行者学习网

  php 5.3.84ZGHTML5中文学习网 - HTML5先行者学习网

  php-apc 3.1.9 (Optimization for include/require)4ZGHTML5中文学习网 - HTML5先行者学习网

  Copy all projects to /dev/shm/* (Optimization for files read/write)4ZGHTML5中文学习网 - HTML5先行者学习网

  1. Apache Benchmark4ZGHTML5中文学习网 - HTML5先行者学习网

  Requests pre second (-c 100 -n 30000), the bigger is better4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  ab -c100 -n300004ZGHTML5中文学习网 - HTML5先行者学习网

  Requests pre second (-c 200 -n 50000), the bigger is better4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  ab -c200 -n500004ZGHTML5中文学习网 - HTML5先行者学习网

  2. System LoadAvg4ZGHTML5中文学习网 - HTML5先行者学习网

  System LoadAvg in 1 Minute when Apache Benchmark Complete, the smaller is better (-c 100 -n 30000)4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  System LoadAvg (ab -c100 -n30000)4ZGHTML5中文学习网 - HTML5先行者学习网

  3. Memory usage4ZGHTML5中文学习网 - HTML5先行者学习网

  How many memory usage in one “hello world” page. the smaller is better.4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  Memory usage4ZGHTML5中文学习网 - HTML5先行者学习网

  4. Response time4ZGHTML5中文学习网 - HTML5先行者学习网

  The time of page request to response.4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  Response time4ZGHTML5中文学习网 - HTML5先行者学习网

  5.Number of function calls (Facebook XHProf)4ZGHTML5中文学习网 - HTML5先行者学习网

  The number of functions calls in one “hello world” page.4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  Number of function calls4ZGHTML5中文学习网 - HTML5先行者学习网

  6. Number of included files4ZGHTML5中文学习网 - HTML5先行者学习网

  The number of files included or required in one “hello world” page. the fewer is better.4ZGHTML5中文学习网 - HTML5先行者学习网

  4ZGHTML5中文学习网 - HTML5先行者学习网

/

 4ZGHTML5中文学习网 - HTML5先行者学习网

  Number of included files4ZGHTML5中文学习网 - HTML5先行者学习网

  –EOF–4ZGHTML5中文学习网 - HTML5先行者学习网

4ZGHTML5中文学习网 - HTML5先行者学习网
4ZGHTML5中文学习网 - HTML5先行者学习网
(责任编辑:)
推荐书籍
推荐资讯
关于HTML5先行者 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助