PHPNG (PHP5.7) performance is nearly doubled from PHP5.6

Source: Internet
Author: User
PHPNG (PHP5.7 if you want) is still in alpha development, but it has shown amazing performance improvements. The key is to maintain compatibility with PHP5.6.

Php ng (you can call PHP 5.7 if you want) is still in alpha development, but it has shown amazing performance improvements. The key is to maintain compatibility with PHP 5.6.

Dmitry Stogov's first release in middle January this year and the milestone update in early May have more and more ideas on PHP speed improvement (particularly contributed by Xinchen Hui @ snow migratory birds, Nikita Popov, etc ).

In middle July, these efforts finally achieved results. tests showed that the performance of the developed version had almost doubled the performance of PHP 5.6. The test is performed on the front-end page of WordPress 3.6 rendering.

On the same page, PHP 5.6 rendering takes 1000 seconds, while php ng takes 26.756 seconds. This is not over yet, you can learn more about the target and remarks through the http://wiki.php.net/phpng.

The secret to this performance improvement is that nearly 60% of CPU commands are replaced with more efficient code. PHP 5.6 requires 100 CPU commands to execute 9,413,106,833 rendering operations, while php ng requires only 3,627,440,773 commands.

Most extensions support php ng, so you can easily build your own environment for testing. Due to a large number of plans, php ng is not expected to release a stable version this year. it is expected that stable Beta or RC versions will be released in 2015.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.