This document summarizes the results of performance tests conducted on a Magento 2 store using different PHP versions and configurations. The tests measured the transaction rate, number of transactions, and response time of Magento 2 using PHP 5.6 alone, PHP 5.6 with Varnish, PHP 7 alone, and PHP 7 with Varnish. The main findings were that PHP 7 significantly outperformed PHP 5.6, and that adding Varnish provided major improvements when combined with both PHP 5.6 and PHP 7, especially in terms reducing response times.
3. Test overview
1. Magento 2 using PHP 5.6 vs Magento 2 using PHP 5.6 and Varnish
2. Magento 2 using PHP 7 vs Magento 2 using PHP 7 and Varnish
3. Magento 2 using PHP 5.6 vs Magento 2 using PHP 7