Live data from Hacker News

Refactored PHP engine makes Wordpress 20% faster

news.php.net

11–20 of 147 posts

Re: Refactored PHP engine makes Wordpress 20% faster

#11

Earlier quoted context omitted.

I suspect this'll be the basis of a new major version, based on early discussions. It probably won't be a 5.x release.

With claims / benchmarks like this I am sure you are right, particularly for a product that ships as much as WordPress does. Wordpress 3.6 – 20.0% gain (253 vs 211 req/sec) I have a few enterprise sites that I am constantly looking for ways to optimize for speed: DNS, CDNs etc. This looks like an easy win.

Looks like it will be 5.7 which is great! Just tested against our codebase, and it builds very quickly (maybe 15-20% increase in speed in unit tests) so very impressed!

Re: Refactored PHP engine makes Wordpress 20% faster

#12
post #2

Good news, any idea which version this will be included in? I know PHP 5.6 is already in beta, so I'd assume this'll be PHP 5.7, but this is really good news. We have some sites that are just begging for an actual 10-30% increase in speed.

I suspect this'll be the basis of a new major version, based on early discussions. It probably won't be a 5.x release.

There are already PHP 6 books out there from 2009 (planned v6 renamed to 5.3): https://www.google.com/search?q=php+6&tbm=bks

They could name it PHP 7 to avoid further confusion.

Re: Refactored PHP engine makes Wordpress 20% faster

#14
post #4
post #3

Earlier quoted context omitted.

It's PHP 5.7.0-dev right now. You can download and compile the development branch yourself: https://wiki.php.net/phpng

Great. Any ETA on phpng stable release?

Give it a year or two. Seriously! 5.5 was just released a little while ago and 5.6 is just in beta now.

Re: Refactored PHP engine makes Wordpress 20% faster

#15
post #14
post #4

Earlier quoted context omitted.

Great. Any ETA on phpng stable release?

Give it a year or two. Seriously! 5.5 was just released a little while ago and 5.6 is just in beta now.

Just try to imagine HHVM in year or two. Zend PHP will be irrelevant by then.

Re: Refactored PHP engine makes Wordpress 20% faster

#16
post #12

Earlier quoted context omitted.

I suspect this'll be the basis of a new major version, based on early discussions. It probably won't be a 5.x release.

There are already PHP 6 books out there from 2009 (planned v6 renamed to 5.3): https://www.google.com/search?q=php+6&tbm=bks They could name it PHP 7 to avoid further confusion.

PHP 6 was really about unicode support. It will actually create even confusion among veterans. Also, those PHP 6 books are really aimed at beginners.

In addition, skipping a version number also creates confusion. If they were going to go this route, they should have done it a long time ago (around 2010-2011).

http://www.slideshare.net/andreizm/the-good-the-bad-and-the-...

Re: Refactored PHP engine makes Wordpress 20% faster

#17
Love the work, but honestly by the time PHP 5.7 is ready for mainstream (with extension support mysqli, memcache, mongo), Facebook HHVM will be the defacto standard. FB has a huge head start and can throw nearly unlimited money and engineering hours at the problem. Seems like a losing battle, but perhaps I am wrong.

Re: Refactored PHP engine makes Wordpress 20% faster

#18
post #11

Earlier quoted context omitted.

With claims / benchmarks like this I am sure you are right, particularly for a product that ships as much as WordPress does. Wordpress 3.6 – 20.0% gain (253 vs 211 req/sec) I have a few enterprise sites that I am constantly looking for ways to optimize for speed: DNS, CDNs etc. This looks like an easy win.

Looks like it will be 5.7 which is great! Just tested against our codebase, and it builds very quickly (maybe 15-20% increase in speed in unit tests) so very impressed!

Are you using a framework? Like ZF, etc?

Re: Refactored PHP engine makes Wordpress 20% faster

#19

Love the work, but honestly by the time PHP 5.7 is ready for mainstream (with extension support mysqli, memcache, mongo), Facebook HHVM will be the defacto standard. FB has a huge head start and can throw nearly unlimited money and engineering hours at the problem. Seems like a losing battle, but perhaps I am wrong.

No one ever says that the different python implementations are fighting a losing battle. People generally seem to say that having multiple implementations is good for the language.

Re: Refactored PHP engine makes Wordpress 20% faster

#20
post #15
post #14

Earlier quoted context omitted.

Give it a year or two. Seriously! 5.5 was just released a little while ago and 5.6 is just in beta now.

Just try to imagine HHVM in year or two. Zend PHP will be irrelevant by then.

The only way that is going to happen is if HHVM was integrated into PHP core (similar to ZendOpcache).
Post reply on HN