Processing... Please wait...

Product was successfully added to your shopping cart.

Magento on HHVM beats PHP7

Lets find out what is faster for Magento: PHP7 or HHVM?

PHP7 is supposed to get close to HHVM performance but how close?

Disclaimer: Magento 2 won't work with HHVM. If you have a patch please suggest. Otherwise use PHP7 with Magento 2.


Test Box



Test Case

I picked three different URLs:

  • /
  • customer/account/login/
  • accessories/jewelry.html

and load tested with ab (apache benchmark):

ab -k -c 35 -n 2000 http://m1.goivvy.com/
ab -k -c 35 -n 2000 http://m1.goivvy.com/customer/account/login/
ab -k -c 35 -n 2000 http://m1.goivvy.com/accessories/jewelry.html

PHP7-FPM and HHVM were with default configuration parameters.

Results are below:

PHP7 vs HHVM | Magento PHP7 vs HHVM | Magento

Magento on HHVM beats Magento on PHP7 for every URL I tested.



Magento is still faster on HHVM than on PHP7. Have problems running HHVM? Read this tutorial.




Like the article? Share:


Other articles you might be interested in:

  1. A Technical Overview of Magento
  2. Upgrade Magento 1.9.1 php issue
  3. How to increase speed of magento website
  4. Magento 2 on AWS Debian Jessie 8 Dirty Cheap with Spot Instance
  5. Upgrading Magento to How to Tutorial


Our Magento extensions you might be interested in:


If you find this post interesting do not hesitate to sign up for our newsletter and join the 859 people who receive Magento news, tips and tricks regularly.

Thank You!