Home > Backend Development > PHP Tutorial > Actual performance test of the new version of PHP 7: Drupal 7 is 70% faster, and fractal computing beats Ruby and Python

Actual performance test of the new version of PHP 7: Drupal 7 is 70% faster, and fractal computing beats Ruby and Python

WBOY
Release: 2016-07-29 09:10:08
Original
1267 people have browsed it

PHP 7 has just been officially released on December 3. The web development framework Zend Company immediately published a performance comparison report of the old and new versions of PHP. In addition to PHP 7 and PHP 5.6, HHVM version 3.7 was also included in the comparison.

Zend Company selected several sets of well-known software and frameworks for comparison, including the e-commerce platform Magento, the open source CRM software SugarCRM, CMS systems Drupal and WordPress, development frameworks Laravel and Zend Framework, and even used the same set of fractals The algorithm is compared with other popular dynamic languages ​​such as Ruby, Python, and Perl.

Comparing the execution performance of Drupal and WordPress in different environments based on the number of requests that can be processed per second, it can be seen that Drupal 7 has the largest performance improvement, and just switching from PHP 5.6 to PHP 7 can increase performance by almost 70%. Druapl 8 itself has good performance optimization results, so the impact on the old and new versions of PHP is relatively small. After the WordPress execution environment is changed from 5.6 to the new version of PHP 7, the performance can obviously be doubled. In addition, regardless of which version of Drupal or WordPress, PHP 7 also beats HHVM 3.7 with slight differences. 新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python

新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python

PHP 7 has improved the performance of the open source CRM software SugarCRM by more than 100%, and even greatly outperformed the performance of the HHVM 3.7 environment. E-commerce platform Magento can also use the new version to improve performance.

新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python

新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python

Zend's own PHP development framework Zend Framework and the popular PHP front-end framework Laravel can achieve considerable performance improvements, and PHP 7's acceleration effect on these two frameworks is also significantly better than HHVM 3.7 .
新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python

The last big car comparison is the comparison with other languages. Zend uses PHP 7, Ruby 2.1, Python 2.7.8 and Perl 5.18.4 to execute the same fractal algorithm. The shorter the calculation time, the faster it is. The actual measurement result is that PHP 7 wins.

新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python

The above introduces the actual performance measurement of the new version of PHP 7: Drupal 7 is 70% faster, and fractal computing beats Ruby and Python, including Magent content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template