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!
Refactored PHP engine makes Wordpress 20% faster
41–50 of 147 posts
Re: Refactored PHP engine makes Wordpress 20% faster
#42> Wordpress 3.6 – 20.0% gain (253 vs 211 req/sec) How do you generate 211 pages per second on Wordpress to begin with? My server does page generation for my own custom-built blog in ~15ms, but takes a whopping three seconds for a single Wordpress page. I know it's somewhat offtopic and it's about the relative results, but what hardware is this?
Are you running an opcache like Zend Opcache, APC, XCache etc? 3 seconds is amazingly slow.
Re: Refactored PHP engine makes Wordpress 20% faster
#43Earlier 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.
But at the rate PHP's release cycle has accelerated (remember that 5.3 dates from 2009...) it's entirely likely that the trend will continue. And more hosts are offering up-to-date PHP versions as an option.
I still see a future for Zend PHP.
Re: Refactored PHP engine makes Wordpress 20% faster
#44Earlier quoted context omitted.
Depends on the WP plugins, I suppose (and Indexes created, and MySQL tuning, etc)
And themes. It's not unusual to see themes that cause 100+ database queries. Per pageview.
Re: Refactored PHP engine makes Wordpress 20% faster
#45Earlier quoted context omitted.
Are you running an opcache like Zend Opcache, APC, XCache etc? 3 seconds is amazingly slow.
I meant raw page generation times. With caching it was much quicker of course. I assume the PHP benchmarks are also non-cached, else you're just benchmarking the caching method.
This makes PHP much, much faster. The only time the files are recompiled are if you restart your webserver, or if you modify the .php files.
I'm not talking about static html generation, that's another thing all together.
Re: Refactored PHP engine makes Wordpress 20% faster
#46I love how, through all the hate and bandwagoning, some people don't get discouraged and actually do something to improve the product. We still do new projects in PHP and we couldn't be happier.
> We still do new projects in PHP and we couldn't be happier. I concur, especially when frameworks like Symfony exist. Reading all this smack talk about PHP on HN is so alien considering how thriving the PHP community actually is.
Many have been where you are now, and then moved on to other languages to never ever look back. From what I've seen, the reverse is much less common.
Re: Refactored PHP engine makes Wordpress 20% faster
#47> Wordpress 3.6 – 20.0% gain (253 vs 211 req/sec) How do you generate 211 pages per second on Wordpress to begin with? My server does page generation for my own custom-built blog in ~15ms, but takes a whopping three seconds for a single Wordpress page. I know it's somewhat offtopic and it's about the relative results, but what hardware is this?
Re: Refactored PHP engine makes Wordpress 20% faster
#48I love how, through all the hate and bandwagoning, some people don't get discouraged and actually do something to improve the product. We still do new projects in PHP and we couldn't be happier.
Re: Refactored PHP engine makes Wordpress 20% faster
#49Earlier quoted context omitted.
> We still do new projects in PHP and we couldn't be happier. I concur, especially when frameworks like Symfony exist. Reading all this smack talk about PHP on HN is so alien considering how thriving the PHP community actually is.
Nobody mentions how much or little the PHP community thrives. People point out how bad PHP compares against other languages. The fact that you enjoy using PHP and that you can create great products with it does not imply that it has no flaws. Many have been where you are now, and then moved on to other languages to never ever look back. From what I've seen, the reverse is much less common.
Re: Refactored PHP engine makes Wordpress 20% faster
#50> Wordpress 3.6 – 20.0% gain (253 vs 211 req/sec) How do you generate 211 pages per second on Wordpress to begin with? My server does page generation for my own custom-built blog in ~15ms, but takes a whopping three seconds for a single Wordpress page. I know it's somewhat offtopic and it's about the relative results, but what hardware is this?