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.




Strugle with slow Magento! We can help! Fill out the form below.


Like the article? Share:


Other articles you might be interested in:

  1. Magento Preview Release - old notification.rss bug!
  2. Upgrade Magento 1.9.1 php issue
  3. Remove Powered by Webforms note in footer
  4. Magento Zend PDF export and php 5.4
  5. How to use more than 2 decimal places for prices


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

Thank You!