Live data from Hacker News

Refactored PHP engine makes Wordpress 20% faster

news.php.net

21–30 of 147 posts

Re: Refactored PHP engine makes Wordpress 20% faster

#22

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.

PHP's success is the result of PHP being available at even the tiniest webhost. I don't see that happen for FaceBook HHVM, though. FaceBook HHVM performance results will spur on Zend's efforts in making the PHP engine faster, though.

Re: Refactored PHP engine makes Wordpress 20% faster

#23

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.

When there is only one, people tend to confuse implementation with language.

Additionally there is also a way to sort out possible bugs in language specification, as differences across implementations are sorted out.

Re: Refactored PHP engine makes Wordpress 20% faster

#24
post #21

Refactoring Wordpress will make it even faster. Look at the difference between Drupal and Wordpress. It's amazing Wordpress is still used for big sites while a ton of recourses could be saved. But great work on the PHP engine!

Agreed. I ran a benchmark against CodeIgniter on a test box recently and was suprised that a single query app performance went from around ~20k req/s with raw PHP (no framework) to around ~3k req/s with CI and thought that was bad for a framework. I didn't realize Wordpress performance was so much worse especially given its popularity.

Most Wordpress sites use a caching plugin like WP Super Cache or Varnish-type setup if they get decent traffic though.

Re: Refactored PHP engine makes Wordpress 20% faster

#26
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.

Yeah well... give it just a couple of more years and there will be kids born as Perl 6 was announced getting webdev jobs.

Re: Refactored PHP engine makes Wordpress 20% faster

#27

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.

It's Facebook, not FaceBook. Spelling it like that makes reading it jarring.

Re: Refactored PHP engine makes Wordpress 20% faster

#29
post #24
post #21

Refactoring Wordpress will make it even faster. Look at the difference between Drupal and Wordpress. It's amazing Wordpress is still used for big sites while a ton of recourses could be saved. But great work on the PHP engine!

Agreed. I ran a benchmark against CodeIgniter on a test box recently and was suprised that a single query app performance went from around ~20k req/s with raw PHP (no framework) to around ~3k req/s with CI and thought that was bad for a framework. I didn't realize Wordpress performance was so much worse especially given its popularity. Most Wordpress sites use a caching plugin like WP Super Cache or Varnish-type setu…

Depends on the WP plugins, I suppose (and Indexes created, and MySQL tuning, etc)

Re: Refactored PHP engine makes Wordpress 20% faster

#30
post #21

Refactoring Wordpress will make it even faster. Look at the difference between Drupal and Wordpress. It's amazing Wordpress is still used for big sites while a ton of recourses could be saved. But great work on the PHP engine!

The speed of wordpress does not matter in the slightest.
Post reply on HN