I just completed a benchmark of Yii2 on PHP 5.6.4 vs PHP 7.0.0:
-
PHP 5.6.4 serving between 75-100 Requests per Second at between a 31ms-176ms response time
-
PHP 7.0.0 serving 175 Requests per Second at a 47ms response time.
PHP 7.0.0 does a very nice job here- about 2x the performance for serving Yii2! It seems that it is definitely worth upgrading.
PHP configuration was:
-
Served using NGINX and PHP-FPM
-
OpCache Enabled
-
PHP-FPM pool could spawn up to 25 child processes
You can check out the full post on my findings here: https://caleblloyd.com/software/yii2-php-7-performance/