PHP NG (PHP 5.7) performance is nearly 1 time times faster than PHP5.6 _php tutorial

Source: Internet
Author: User

PHP NG (PHP 5.7) performance is nearly 1 time times faster than PHP5.6


PHP NG (PHP 5.7 If you want to) is still in the alpha development phase, but it has shown amazing performance gains. The key is to still maintain compatibility with PHP 5.6.

Dmitry Stogov's first release in mid-January and the milestone update in early May have increased the number of ideas for PHP speed improvements from Xinchen Hui @ snow birds, Nikita Popov, etc.).

By mid-July, these efforts finally came to an end, and the test showed that the version performance in development compared with PHP 5.6 was almost 1 time times higher. The test is performed on the rendered WordPress 3.6 front-end page.

On the same page, PHP 5.6 renders 1000 times for 26.756 seconds, while PHP NG takes 14.81 seconds. It's not over yet, you can learn more about goals and comments through Http://wiki.php.net/phpng.

The secret to this performance boost is that nearly 60% of CPU instructions are replaced with more efficient code. PHP 5.6 performs 100 rendering requiring 9,413,106,833 CPU instructions, while PHP NG requires only 3,627,440,773 instructions.

Because most extensions can support PHP NG, you can easily build your own environment for testing. Due to the large number of plans, PHP NG is not expected to release a stable version this year, hoping to have a stable Beta or even RC version released in 2015.

http://www.bkjia.com/PHPjc/834692.html www.bkjia.com true http://www.bkjia.com/PHPjc/834692.html techarticle php ng (PHP 5.7) performance is up to 1 time times faster than PHP5.6 PHP ng if you want to, you can call PHP 5.7. It's still in the alpha development phase, but it's already showing amazing performance gains. The key is to still protect ...

  • 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.