9 ms·
I'm not sure I understand. Is this the framework that "compiles" PHP? Is the 15% performance increase relative to vanilla PHP or to a previous version of HHVM?
by shin_lao 13y ago
I'm not sure I understand. Is this the framework that "compiles" PHP?
Is the 15% performance increase relative to vanilla PHP or to a previous version of HHVM?
- Osiris 13y agoHHVM is a JIT engine for PHP code. The performance increase in relative to the previous release of HHVM.
- plorkyeran 13y agoHipHop was the PHP -> C++ compiler. HHVM is a JIT-compiled implementation of PHP. The 15% increase is relative to HHVM at the beginning of the 3-week sprint they just completed. HHVM was already far faster than vanilla PHP when it was first publicly announced over a year ago.
- ed 13y agoThat's more interesting. How much faster is hhvm overall?
- LogicalBorg 13y agoThe Wikipedia article (https://en.wikipedia.org/wiki/HipHop_for_PHP https://en.wikipedia.org/wiki/HipHop_for_PHP) says "up to 6x", however, about 2x speedup versus plain PHP was a more typical experience for me when I used it before.
- porker 13y agoThat's a good question. PHP 5.5 with the newly-open sourced (and integrated) opcache gave it a good run for its money before this optimisation sprint [1]. Under real-world 'bloated framework' usage, HHVM was already pretty cool [2]. I'd like to see the results after this speedup. 1. For simple code only - once it's more computationally intensive, HHVM wins. http://www.alexfu.it/2013/10/22/symfony-benchmark-on-hhvm.html http://www.alexfu.it/2013/10/22/symfony-benchmark-on-hhvm.ht... 2. http://blog.liip.ch/archive/2013/10/29/hhvm-and-symfony2.html http://blog.liip.ch/archive/2013/10/29/hhvm-and-symfony2.htm...