Skip to content

Instantly share code, notes, and snippets.

@centminmod
Last active Nov 24, 2021
Embed
What would you like to do?
PHP 8.1.0 vs 8.0.13 vs 7.4.26 vs 7.3.33 vs 7.2.34 centminmod vs remi PHP-FPM

System:

  • OVH MC-32 Intel Core i7 4790K
  • 32GB Memory
  • 2x240GB SSD
  • 250Mbit Network Bandwidth
  • CentOS 7.9 64bit
  • Centmin Mod 123.09beta01 LEMP stack - Nginx 1.21.4, MariaDB 10.3 MySQL, + CSF Firewall
  • BHS, Canada
  • Centmin Mod PHP-FPM compiled using GCC 11.2.1
  • Remi PHP-FPM installed via SCL Remi YUM repository
PHP Version bench.php micro_bench.php detailed_benchmark.php
PHP 8.1.0 centminmod.com php-fpm + PGO + JIT 0.0710 0.6377 1.1607
PHP 8.0.13 centminmod.com php-fpm + PGO + JIT 0.0733 0.6730 1.1900
PHP 8.1.0 centminmod.com php-fpm + no PGO + JIT 0.0710 0.6740 1.3440
PHP 8.0.13 centminmod.com php-fpm + no PGO + JIT 0.0730 0.6943 1.3637
PHP 8.1.0 centminmod.com php-fpm + PGO + no JIT 0.3080 1.6547 1.3603
PHP 8.0.13 centminmod.com php-fpm + PGO + no JIT 0.3010 1.6647 1.3333
PHP 8.1.0 centminmod.com php-fpm + no PGO + no JIT 0.2910 1.6600 1.5347
PHP 8.0.13 centminmod.com php-fpm + no PGO + no JIT 0.2843 1.6893 1.5047
PHP 7.4.26 centminmod.com php-fpm + PGO 0.3570 1.7947 1.4710
PHP 7.3.33 centminmod.com php-fpm + PGO 0.3897 1.9693 1.5477
PHP 7.2.34 centminmod.com php-fpm + PGO 0.4173 2.1627 1.6527
PHP 7.4.26 centminmod.com php-fpm + no PGO 0.3230 1.8250 1.5970
PHP 7.3.33 centminmod.com php-fpm + no PGO 0.3827 1.9687 1.6920
PHP 7.2.34 centminmod.com php-fpm + no PGO 0.4133 2.2807 1.8923
PHP 8.1.0 remi scl php-fpm + JIT 0.0713 0.7230 1.5547
PHP 8.0.13 remi scl php-fpm + JIT 0.0750 0.7560 1.5470
PHP 8.1.0 remi scl php-fpm + no JIT 0.2987 1.6923 1.7080
PHP 8.0.13 remi scl php-fpm + no JIT 0.3053 1.6890 1.7103
PHP 7.4.26 remi scl php-fpm 0.3430 1.8297 1.8030
PHP 7.3.33 remi scl php-fpm 0.3880 1.9963 1.9407
PHP 7.2.34 remi scl php-fpm 0.4103 2.1930 2.0230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment