WordPress 4.3 benchmark: HHVM 3.9 vs PHP 7.0
A casual Sunday morning benchmark for August 9th 2015 using latest builds:
1000 Front Pages of WordPress (virtually stock default install) HHVM 11.99, 11.83, 11.81, 11.78, 11.85 seconds PHP7 11.18, 10.95, 10.85, 10.96, 10.88 seconds
WordPress trunk 4.3 RC2
HHVM trunk 3.9-dev
PHP trunk 7.0 RC1
(on CentOS 7)
These are SEQUENTIAL timings, no parallel processing, how fast can each page be served and completely come back to the OS.
Using direct calls via fastcgi socket, this means no nginx or internet overhead to confuse the timings, both HHVM and PHP were called directly to process the webpage.
Both HHVM and PHP 7.0 were first given 1000 passes to “warm up” their caches.
Oh and very interesting side note:
Compile time for HHVM: 35 minutes
Compile time for PHP7: 2 minutes (yes, TWO)
(using make -j5)
HHVM is no longer the king. PHP7 is going to take over.