1
Mamba
PHPNG Dramatic Speedup Features Coming in PHP 6 Release
  • 2014/5/12 9:22

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Very interesting article about future speedup features of PHP in PHPNG

Quote:
What is PHPNG?

PHPNG is a new branch of development that aims to bring a whole new level of performance and memory usage efficiency to PHP.

This branch was added somewhat secretly by Zend developers to the PHP development repository in April 16 but it was openly described only in May 5 when Sebastian Bergmann of the PHPUnit fame asked in the PHP internals about it.

Dmitry Stogov of Zend presented a more or less detailed description of the PHPNG branch. He explained that he has been experimenting using a JIT engine (Just In Time compilation to native machine code) using LLVM.

Using LLVM as a JIT for the Zend Engine was already proposed by Nuno Lopes in 2008. Some work was done with a student that was directed by Nuno Lopes as a Google Summer of Code project that resulted in the PECL LLVM extension. I have covered all possible PHP JIT solutions in an article about this topic in 2011.

The PHPNG branch also features improvements in the PHP memory management. According to Dmitry Stogov, the PHP execution takes a big part of the time dealing with memory allocations, and so that is an aspect that affects significantly PHP performance.

According to his tests the speed improvements of typical PHP applications are significant. For instance, he measured it and noticed that it can server 20% more requests per second when testing a Wordpress installation.

You cannot expect that all PHP applications will benefit from similar performance improvements because most of the time PHP is waiting for database or cache access operations to complete. Those operations will not benefit much from speed improvements in the execution of PHP, as PHP will be idle most of the time.

Read more about it in the article here
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

2
Mamba
Re: PHPNG Dramatic Speedup Features Coming in PHP 6 Release
  • 2014/7/19 4:03

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Wow, PHP NG is now nearly TWICE as fast as PHP 5.6!!!

See this article for more info...

Also interesting is the article about benchmarking PHP NG by Zeev Suraski

This is definitely awesome news for the PHP community, and for all XOOPS users!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

142 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits