Why does it matter? Visitors should never hit WP anyway if you are smart. Set up caching.
Refactored PHP engine makes Wordpress 20% faster
31–40 of 147 posts
Re: Refactored PHP engine makes Wordpress 20% faster
#32Earlier quoted context omitted.
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
#33How 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
#34This sounds like a nice improvement to PHP performance. Are there any parts of the language that will have to change for this enhancement? I expect that that changes will be minimal, if any are needed.
In the internals all of the zend_hash apis have been updated so it may have an effect on some extensions, though the core extensions can all be updated.
Re: Refactored PHP engine makes Wordpress 20% faster
#35Earlier quoted context omitted.
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).
http://grokbase.com/t/php/php-internals/12bvegp9cv/hhvm-and-...
Re: Refactored PHP engine makes Wordpress 20% faster
#36I 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.
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.
Re: Refactored PHP engine makes Wordpress 20% faster
#37Earlier quoted context omitted.
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
#38I 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
#39> 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
#40Refactoring 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!
According to https://wiki.php.net/phpng, they benchmarked against Wordpress 3.6 (the current version is 3.9). I couldn't find anything about the Drupal benchmark, but it could be a simple "Hello world" for all we know.