惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hacker News - Newest:
Hacker News - Newest: "LLM"
S
SegmentFault 最新的问题
The Cloudflare Blog
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
有赞技术团队
有赞技术团队
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
The Hacker News
The Hacker News
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
大猫的无限游戏
大猫的无限游戏
L
Lohrmann on Cybersecurity
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
博客园 - 叶小钗
量子位
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Simon Willison's Weblog
Simon Willison's Weblog
I
Intezer
S
Secure Thoughts
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
Help Net Security
Help Net Security
爱范儿
爱范儿
C
Cybersecurity and Infrastructure Security Agency CISA
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
T
Tor Project blog
NISL@THU
NISL@THU
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
I
InfoQ
The Register - Security
The Register - Security
Recent Announcements
Recent Announcements
N
News and Events Feed by Topic
B
Blog RSS Feed

Comments for 风雪之隅

深入理解PHP7内核之OBJECT - 风雪之隅 关于调用约定(cdecl、fastcall、stcall、thiscall) 的一点知识 - 风雪之隅 PHP 8新特性之Attributes(注解) - 风雪之隅 博客迁移到腾讯云 - 风雪之隅 提升PHP性能之改变Zend引擎分发方式 - 风雪之隅 如何调试PHP的Core之获取基本信息 - 风雪之隅 请手动释放你的资源(Please release resources manually) - 风雪之隅 在Qcon 2015 北京上的演讲PPT - PHP7 Linux上配置Nginx+PHP5(FastCGI) - 风雪之隅 在PHP Module中获取$_GET/$_POST/$_COOKIE的方法研究 - 风雪之隅 深入理解Javascript之this关键字 - 风雪之隅 Yar-2.1 新功能介绍 - 风雪之隅 PHP CLI模式下的多进程应用 - 风雪之隅 PHP5.2.*防止Hash冲突拒绝服务攻击的Patch - 风雪之隅 PHP中的Hash算法 - 风雪之隅 PHP单引号和双引号的区别 - 风雪之隅 深入理解PHP之数组(遍历顺序) - 风雪之隅 深入理解PHP原理之变量分离/引用(Variables Separation) - 风雪之隅 PHP Taint - 一个用来检测XSS/SQL/Shell注入漏洞的扩展 - 风雪之隅 BTwitter(Twitter In Bash) - 风雪之隅 automake,autoconf使用详解 - 风雪之隅 HTTPOXY漏洞说明 - 风雪之隅 Nginx(PHP/fastcgi)的PATH_INFO问题 - 风雪之隅 关于PHP浮点数你应该知道的(All 'bogus' about the float in PHP) 使用PHP Embed SAPI实现Opcodes查看器 - 风雪之隅 一个关于Zend O+的小分享 - 风雪之隅 深入理解PHP原理之对象(一) - 风雪之隅 在PHP中使用协程实现多任务调度 - 风雪之隅 一些PHP Coding Tips[2011/04/02最后更新] - 风雪之隅 Curl的毫秒超时的一个"Bug" - 风雪之隅 Javascript作用域原理 - 风雪之隅 深入理解PHP原理之Opcodes - 风雪之隅 深入理解Zend SAPIs(Zend SAPI Internals) - 风雪之隅 Nginx + PHP CGI的一个可能的安全漏洞 - 风雪之隅 PHP 8新特性之JIT简介 - 风雪之隅 PHP FFI详解 - 一种全新的PHP扩展方式 - 风雪之隅 令人困惑的strtotime - 风雪之隅 PHP的性能演进(从PHP5.0到PHP7.1的性能全评测) - 风雪之隅 让PHP7达到最高性能的几个Tips - 风雪之隅
Yaf and Phalcon, which is faster?
Prestige par · 2023-07-12 · via Comments for 风雪之隅

After Yaf, there comes another PHP framework in extension(在Yaf发布以后, 又出现了一个PHP扩展的框架 Phalcon): Phalcon.
then there raise a problem, which people have asked multi-times to me, that is , which one is the *fastest*(于是就出现一个问题, 不停的有人问, 到底Yaf和Phalcon哪个快, 因为他们都在他们的主页上宣称是最快的框架)? Yaf, or Phalcon. as they both declared they are the fastest(Yaf, Phalcon)
So I did a simple benchmark(所以我做了个简单的测试), the benchmark scripts is provide by Ruilog, and could be found at: benchmark scripts

Hardware(测试机器)

  • 8 * Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
  • MemTotal: 12296092 kB
  • Apache 2.2
  • PHP 5.4.7 with APC-3.1.13

Benchmakr result(测试结果)

ab -n 30000 -c 100

Bechmark

More details:

framework QPS, LOAD, MEM(KB), TIME(ms); functions, include files
 symfony2     3707, 5.06,   0.00,  0.00;    3707, 5.06,   0.00,  0.00;      0,    0
       zf     1446,25.11,   0.00,  0.00;    1446,25.11,   0.00,  0.00;      0,    0
      zf2      678,49.44,   0.00,  0.00;     678,49.44,   0.00,  0.00;      0,    0
  cakephp     2361,16.11,   0.00,  0.00;    2361,16.11,   0.00,  0.00;      0,    0
  fuelphp     3742, 7.55,   0.00,  0.00;    3742, 7.55,   0.00,  0.00;      0,    0
   kohana     3336, 9.30,   0.00,  0.00;    3336, 9.30,   0.00,  0.00;      0,    0
       ci     5764, 7.14,   0.00,  0.00;    5764, 7.14,   0.00,  0.00;      0,    0
      yii     6343, 6.52,   0.00,  0.00;    6343, 6.52,   0.00,  0.00;      0,    0
     slim     6626, 5.60,   0.00,  0.00;    6626, 5.60,   0.00,  0.00;      0,    0
  laravel     7386, 5.55,   0.00,  0.00;    7386, 5.55,   0.00,  0.00;      0,    0
   doophp    11859, 5.18,   0.00,  0.00;   11859, 5.18,   0.00,  0.00;      0,    0
  colaphp    13701, 4.76,   0.00,  0.00;   13701, 4.76,   0.00,  0.00;      0,    0
micromvc4    13386, 4.59,   0.00,  0.00;   13386, 4.59,   0.00,  0.00;      0,    0
  phalcon    14289, 4.22,   0.00,  0.00;   14289, 4.22,   0.00,  0.00;      0,    0
      yaf    15990, 4.21,   0.00,  0.00;   15990, 4.21,   0.00,  0.00;      0,    0

the result is clear, right?
thanks