PHP 8 End Of May 2020 PHP 8.0 and PHP 8 + JIT benchmarks for a future article. PHP 5.4.44: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: radeon 19.0.1, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 5.5.38: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: radeon 19.0.1, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 5.6.39: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 7.0.33: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 7.1.33: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 7.2.31: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 7.3.18: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 7.4.6: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 8.0 Git: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: amdgpu 19.1.0, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 PHP 8.0 Git + JIT: Processor: Intel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads), Motherboard: Gigabyte Z490 AORUS MASTER (F3 BIOS), Chipset: Intel Device 06ef, Memory: 16GB, Disk: Samsung SSD 970 EVO 250GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz), Audio: Realtek ALC1220, Monitor: DELL P2415Q, Network: Intel Device 15f3 + Intel Device 06f0 OS: Clear Linux OS 33250, Kernel: 5.6.15-957.native (x86_64), Desktop: GNOME Shell 3.36.2, Display Server: X Server 1.20.7, Display Driver: radeon 19.0.1, OpenGL: 4.6 Mesa 20.1.0-devel (LLVM 10.0.0), Vulkan: 1.2.128, Compiler: GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 3840x2160 Phoronix Test Suite Self Test 1.0 Test: Total Time Seconds < Lower Is Better PHP 5.4.44 ........ 546.50 |=================================================== PHP 5.5.38 ........ 548.71 |=================================================== PHP 5.6.39 ........ 544.72 |=================================================== PHP 7.0.33 ........ 137.85 |============= PHP 7.1.33 ........ 136.31 |============= PHP 7.2.31 ........ 131.86 |============ PHP 7.3.18 ........ 103.59 |========== PHP 7.4.6 ......... 101.39 |========= PHP 8.0 Git ....... 102.89 |========== PHP 8.0 Git + JIT . 104.60 |========== Phoronix Test Suite Self Test 1.0 Test: List Suites Seconds < Lower Is Better PHP 5.4.44 ........ 0.428 |=================================================== PHP 5.5.38 ........ 0.438 |==================================================== PHP 5.6.39 ........ 0.438 |==================================================== PHP 7.0.33 ........ 0.353 |========================================== PHP 7.1.33 ........ 0.330 |======================================= PHP 7.2.31 ........ 0.329 |======================================= PHP 7.3.18 ........ 0.323 |====================================== PHP 7.4.6 ......... 0.333 |======================================== PHP 8.0 Git ....... 0.324 |====================================== PHP 8.0 Git + JIT . 0.325 |======================================= Phoronix Test Suite Self Test 1.0 Test: Render Test Seconds < Lower Is Better PHP 5.4.44 ........ 164.60 |================================================== PHP 5.5.38 ........ 166.88 |=================================================== PHP 5.6.39 ........ 164.57 |================================================== PHP 7.0.33 ........ 37.75 |============ PHP 7.1.33 ........ 37.29 |=========== PHP 7.2.31 ........ 36.55 |=========== PHP 7.3.18 ........ 27.49 |======== PHP 7.4.6 ......... 26.97 |======== PHP 8.0 Git ....... 27.34 |======== PHP 8.0 Git + JIT . 27.49 |======== Phoronix Test Suite Self Test 1.0 Test: Merge Results Seconds < Lower Is Better PHP 5.4.44 ........ 7.892 |=================================================== PHP 5.5.38 ........ 8.104 |==================================================== PHP 5.6.39 ........ 7.715 |================================================== PHP 7.0.33 ........ 3.040 |==================== PHP 7.1.33 ........ 2.935 |=================== PHP 7.2.31 ........ 2.841 |================== PHP 7.3.18 ........ 2.643 |================= PHP 7.4.6 ......... 2.608 |================= PHP 8.0 Git ....... 2.613 |================= PHP 8.0 Git + JIT . 2.388 |=============== Phoronix Test Suite Self Test 1.0 Test: Peak Memory Usage MB < Lower Is Better PHP 5.4.44 ........ 690.15 |=================================================== PHP 5.5.38 ........ 690.10 |=================================================== PHP 5.6.39 ........ 691.20 |=================================================== PHP 7.0.33 ........ 499.42 |===================================== PHP 7.1.33 ........ 498.22 |===================================== PHP 7.2.31 ........ 499.42 |===================================== PHP 7.3.18 ........ 500.22 |===================================== PHP 7.4.6 ......... 501.42 |===================================== PHP 8.0 Git ....... 501.42 |===================================== PHP 8.0 Git + JIT . 497.42 |===================================== PHP Micro Benchmarks Test: Zend bench Seconds < Lower Is Better PHP 5.4.44 ........ 0.880 |==================================================== PHP 5.5.38 ........ 0.856 |=================================================== PHP 5.6.39 ........ 0.847 |================================================== PHP 7.0.33 ........ 0.352 |===================== PHP 7.1.33 ........ 0.330 |==================== PHP 7.2.31 ........ 0.340 |==================== PHP 7.3.18 ........ 0.346 |==================== PHP 7.4.6 ......... 0.277 |================ PHP 8.0 Git ....... 0.241 |============== PHP 8.0 Git + JIT . 0.067 |==== PHP Micro Benchmarks Test: Zend micro_bench Seconds < Lower Is Better PHP 5.4.44 ........ 4.156 |==================================================== PHP 5.5.38 ........ 4.186 |==================================================== PHP 5.6.39 ........ 4.090 |=================================================== PHP 7.0.33 ........ 1.790 |====================== PHP 7.1.33 ........ 1.703 |===================== PHP 7.2.31 ........ 1.590 |==================== PHP 7.3.18 ........ 1.715 |===================== PHP 7.4.6 ......... 1.376 |================= PHP 8.0 Git ....... 1.305 |================ PHP 8.0 Git + JIT . 0.713 |========= PHPBench 0.8.1 PHP Benchmark Suite Score > Higher Is Better PHP 5.4.44 ........ 317303 |========== PHP 5.5.38 ........ 312304 |========== PHP 5.6.39 ........ 324614 |========== PHP 7.0.33 ........ 684328 |===================== PHP 7.1.33 ........ 740633 |======================= PHP 7.2.31 ........ 830961 |========================== PHP 7.3.18 ........ 786402 |======================== PHP 7.4.6 ......... 839489 |========================== PHP 8.0 Git ....... 898391 |============================ PHP 8.0 Git + JIT . 1617183 |==================================================