?In the past, performance was not considered one of the top priorities when developing web applications. Reasonable hardware was able to compensate for that. However when Google decided to take site speed into account in the search rankings, performance became one of the top priorities alongside functionality. This is yet another way in which improving web performance will have a positive impact on a website.
The benchmarks below, show how efficient Phalcon is when compared with other traditional PHP frameworks. These benchmarks are updated as stable versions are released from any of the frameworks mentioned or Phalcon itself.
We encourage programmers to clone the test suite that we are using for our benchmarks. If you have any additional optimizations or comments please write us. Check out source at Github
过去我们在开发软件时性能未被认为是最优先考虑的问题。一般采用高性能的硬件以补足软件性能的不足。这种情况随着google把站点的处理速度列为站点搜索排名的重要指标之后,性能便成为了功能之外的另一优先考虑的问题。当然还有其它的可以提升网站性能的方式。下面的测试表明了Phalcon与传统的PHP框架相比可以更有效的改善性能。这些测试是基于这些框架的稳定版本进行的。
我们鼓励开发者克隆我们这进而使用的测试用例。如果你有其它的优化策略或是其它意见可以写信给我们。
怎样的测试环境?(What was the test environment?)?
APC intermediate code cache was enabled for all frameworks. Any Apache mod-rewrite feature was disabled when possible to avoid potentially additional overheads.
The testing hardware environment is as follows:
?Operating System: Mac OS X Lion 10.7.4
?Web Server: Apache httpd 2.2.22
?PHP: 5.3.15
?CPU: 2.04 Ghz Intel Core i5
?Main Memory: 4GB 1333 MHz DDR3
?Hard Drive: 500GB SATA Disk
PHP version and info:
APC中间代码缓存器已经启用。mod_rewrite功能被禁用了,它可能会导致性能开销。
测试环境如下:
(略)
APC settings:
(略)
基准测试列表(List of Benchmarks)?
?Hello World Benchmark
?Micro Benchmark
Phalcon 框架基准测试(Framework Benchmarks)
原文地址:http://blog.csdn.net/qzfzz/article/details/39475033