Home > php教程 > php手册 > Actual performance test of the new version of PHP7: Drupal7 is 70% faster, and fractal computing beats Ruby and Python

Actual performance test of the new version of PHP7: Drupal7 is 70% faster, and fractal computing beats Ruby and Python

WBOY
Release: 2016-07-06 13:30:31
Original
2591 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, it also included HHVM version 3.7. Compare. Zend selected several well-known software and frameworks for comparison, including e-commerce platform Magento, open source CRM software SugarCRM, and CMS system Drup

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, it also included HHVM version 3.7. Compare.

Zend selected several well-known software and frameworks for comparison, including the e-commerce platform Magento, the open source CRM software SugarCRM, the CMS systems Drupal and WordPress, the development frameworks Laravel and Zend Framework, and even used the same set of fractal algorithms Compare it 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 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.

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 significantly better than HHVM 3.7.

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.


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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template