3 ms·
PHP 5.4 - A picture is worth 140 chars
- DigitalSea 14y agoWow, that's quite a performance gain. Does PHP 5.4 honestly offer that big of a performance improvement? I knew of the performance improvements, but that's almost unbelievable. I have to upgrade to 5.4, but this is compelling me to do it right now!
- lonnyk 14y agoThere are performance improvements, but the graph is actually pretty extreme. If you read the full discussion on twitter he reveals that it isn't a web server, but a server running CLI scripts constantly. It is entirely possible there was a performance improvement in one thing that was constantly running and it may not actually be an accurate representation of overall performance improvement in PHP 5.4.
- Gigablah 14y agoUsually not that much, but still significant. My own Silex app had response times reduced by 1/3, and memory usage dropped by almost half.
- donutdan4114 14y agoWas it just that before upgrading they weren't using APC? Obviously, using opcode cache would improve performance... http://2bits.com/articles/php-op-code-caches-accelerators-a-must-for-a-large-site.html http://2bits.com/articles/php-op-code-caches-accelerators-a-...
- lonnyk 14y agoSomewhere in the twitter conversation he says he used APC both times.