WordPress Removes HHVM from Testing Infrastructure

Before the release of PHP 7 in 2015, many WordPress managed hosting companies looked to Facebook’s HHVM to provide better performance. Pagely, WP Engine, and SiteGround added HHVM hosting options in 2014 and early 2015. However, PHP 7 performance gains have been enough to preclude wider HHVM adoption.

WordPress core developer John Blackbourn announced yesterday that the project has removed HHVM support in the Travis test suite after April 2017 stats showed a mere several dozen WordPress websites running on HHVM. WordPress never officially supported HHVM but Scott Taylor made many improvements to core for better HHVM compatibility three years ago. Blackbourn clarified on Slack that WordPress is not removing this support but rather will no longer include HHVM in its testing infrastructure.

“Support for HHVM itself hasn’t been dropped, but support for testing WordPress on HHVM has been dropped,” Blackbourn said. “HHVM usage is so minuscule (literally in the dozens according to update stats) that we can’t warrant the time needed to ensure the test infrastructure works.”

The change isn’t likely to affect too many developers, but it’s an important milestone that signifies how well PHP 7 has been performing for sites that have switched. Blackbourn suggests those running WordPress on HHVM should consider switching to PHP 7+, as it is “far more widely supported and tested, and offers all of the memory and performance benefits that HHVM pushed forward.”

The open source MongoDB project also announced yesterday that it will no longer be supporting its HHVM driver, saying it no longer makes good use of contributors’ engineering time.

“At the start of 2015 we began work on an HHVM driver for MongoDB, as part of our project to renew our PHP driver,” Derick Rethans, MongoDB engineer and author of Xdebug, said. “Back then, HHVM was in its ascendancy and outperforming PHP 5.6 two to one. With such a huge performance difference it was reasonable to assume that many users would be switching over…With PHP 7 released, we saw very little use of the HHVM driver for MongoDB.”

These announcements may be the start of more open source projects giving HHVM compatibility a lower priority. On the ticket for removing HHVM from the test matrix on Travis, John Blackbourn thanked HHVM for its importance in helping move PHP forward.

“The PHP world owes a lot to HHVM for helping it push it forward,” Blackbourn said. “Without HHVM, maybe we wouldn’t have seen such incredible performance gains in PHP 7.”

There are 7 comments

Your email address will not be published. Required fields are marked *