PHP 8 End Of May 2020

PHP 8.0 and PHP 8 + JIT benchmarks for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2006013-NI-PHP8ENDOF89&sor&grs.

PHP 8 End Of May 2020ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLVulkanCompilerFile-SystemScreen ResolutionPHP 5.4.44PHP 5.5.38PHP 5.6.39PHP 7.0.33PHP 7.1.33PHP 7.2.31PHP 7.3.18PHP 7.4.6PHP 8.0 GitPHP 8.0 Git + JITIntel Core i9-10900K @ 5.30GHz (10 Cores / 20 Threads)Gigabyte Z490 AORUS MASTER (F3 BIOS)Intel Device 06ef16GBSamsung SSD 970 EVO 250GBAMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2060/875MHz)Realtek ALC1220DELL P2415QIntel Device 15f3 + Intel Device 06f0Clear Linux OS 332505.6.15-957.native (x86_64)GNOME Shell 3.36.2X Server 1.20.7radeon 19.0.14.6 Mesa 20.1.0-devel (LLVM 10.0.0)1.2.128GCC 10.1.1 20200529 releases/gcc-10.1.0-100-g49824d35e0 + Clang 10.0.0 + LLVM 10.0.0ext43840x2160amdgpu 19.1.0radeon 19.0.1OpenBenchmarking.orgEnvironment Details- FFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -malign-data=abi -fno-semantic-interposition -ftree-vectorize -ftree-loop-vectorize -Wl,--enable-new-dtags -Wa,-mbranches-within-32B-boundaries" CXXFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -Wl,-sort-common -Wl,--enable-new-dtags -mtune=skylake -Wa,-mbranches-within-32B-boundaries -fvisibility-inlines-hidden -Wl,--enable-new-dtags" MESA_GLSL_CACHE_DISABLE=0 FCFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -malign-data=abi -fno-semantic-interposition -ftree-vectorize -ftree-loop-vectorize -Wl,-sort-common -Wl,--enable-new-dtags" CFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -Wl,-sort-common -Wl,--enable-new-dtags -mtune=skylake -Wa,-mbranches-within-32B-boundaries" THEANO_FLAGS="floatX=float32,openmp=true,gcc.cxxflags="-ftree-vectorize -mavx"" Processor Details- Scaling Governor: intel_pstate performance - CPU Microcode: 0xc8Security Details- itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Not affected

PHP 8 End Of May 2020pts-self-test: Render Testphp: Zend micro_benchpts-self-test: Total Timephpbench: PHP Benchmark Suitepts-self-test: Merge Resultsphp: Zend benchpts-self-test: Peak Memory Usagepts-self-test: List SuitesPHP 5.4.44PHP 5.5.38PHP 5.6.39PHP 7.0.33PHP 7.1.33PHP 7.2.31PHP 7.3.18PHP 7.4.6PHP 8.0 GitPHP 8.0 Git + JIT164.6034.156546.5033173037.8920.880690.150.428166.8824.186548.7113123048.1040.856690.100.438164.5734.090544.7233246147.7150.847691.200.43837.7491.790137.8526843283.0400.352499.4180.35337.2851.703136.3097406332.9350.330498.2180.33036.5511.590131.8608309612.8410.340499.4180.32927.4851.715103.5937864022.6430.346500.2180.32326.9741.376101.3878394892.6080.277501.4180.33327.3391.305102.8908983912.6130.241501.4180.32427.4930.713104.60316171832.3880.067497.4180.325OpenBenchmarking.org

Phoronix Test Suite Self Test

Test: Render Test

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Render TestPHP 7.4.6PHP 8.0 GitPHP 7.3.18PHP 8.0 Git + JITPHP 7.2.31PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.4.44PHP 5.5.384080120160200SE +/- 0.18, N = 5SE +/- 0.27, N = 5SE +/- 0.15, N = 5SE +/- 0.12, N = 5SE +/- 0.06, N = 5SE +/- 0.21, N = 5SE +/- 0.07, N = 5SE +/- 1.35, N = 5SE +/- 0.56, N = 5SE +/- 2.69, N = 526.9727.3427.4927.4936.5537.2937.75164.57164.60166.88

PHP Micro Benchmarks

Test: Zend micro_bench

OpenBenchmarking.orgSeconds, Fewer Is BetterPHP Micro BenchmarksTest: Zend micro_benchPHP 8.0 Git + JITPHP 8.0 GitPHP 7.4.6PHP 7.2.31PHP 7.1.33PHP 7.3.18PHP 7.0.33PHP 5.6.39PHP 5.4.44PHP 5.5.380.94191.88382.82573.76764.7095SE +/- 0.001, N = 6SE +/- 0.003, N = 6SE +/- 0.013, N = 6SE +/- 0.003, N = 6SE +/- 0.004, N = 6SE +/- 0.002, N = 6SE +/- 0.010, N = 6SE +/- 0.015, N = 6SE +/- 0.015, N = 6SE +/- 0.044, N = 60.7131.3051.3761.5901.7031.7151.7904.0904.1564.186

Phoronix Test Suite Self Test

Test: Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Total TimePHP 7.4.6PHP 8.0 GitPHP 7.3.18PHP 8.0 Git + JITPHP 7.2.31PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.4.44PHP 5.5.38120240360480600SE +/- 0.58, N = 6SE +/- 0.85, N = 6SE +/- 0.50, N = 6SE +/- 0.43, N = 6SE +/- 0.40, N = 6SE +/- 1.17, N = 6SE +/- 0.24, N = 6SE +/- 3.98, N = 6SE +/- 1.79, N = 6SE +/- 3.93, N = 17101.39102.89103.59104.60131.86136.31137.85544.72546.50548.71

PHPBench

PHP Benchmark Suite

OpenBenchmarking.orgScore, More Is BetterPHPBench 0.8.1PHP Benchmark SuitePHP 8.0 Git + JITPHP 8.0 GitPHP 7.4.6PHP 7.2.31PHP 7.3.18PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.4.44PHP 5.5.38300K600K900K1200K1500KSE +/- 1329.52, N = 6SE +/- 798.15, N = 6SE +/- 374.27, N = 6SE +/- 1093.50, N = 6SE +/- 536.78, N = 6SE +/- 906.20, N = 6SE +/- 3547.81, N = 24SE +/- 1616.41, N = 6SE +/- 239.97, N = 6SE +/- 454.81, N = 61617183898391839489830961786402740633684328324614317303312304

Phoronix Test Suite Self Test

Test: Merge Results

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Merge ResultsPHP 8.0 Git + JITPHP 7.4.6PHP 8.0 GitPHP 7.3.18PHP 7.2.31PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.4.44PHP 5.5.38246810SE +/- 0.023, N = 5SE +/- 0.029, N = 5SE +/- 0.059, N = 5SE +/- 0.011, N = 5SE +/- 0.025, N = 5SE +/- 0.022, N = 5SE +/- 0.010, N = 5SE +/- 0.062, N = 5SE +/- 0.021, N = 5SE +/- 0.069, N = 52.3882.6082.6132.6432.8412.9353.0407.7157.8928.104

PHP Micro Benchmarks

Test: Zend bench

OpenBenchmarking.orgSeconds, Fewer Is BetterPHP Micro BenchmarksTest: Zend benchPHP 8.0 Git + JITPHP 8.0 GitPHP 7.4.6PHP 7.1.33PHP 7.2.31PHP 7.3.18PHP 7.0.33PHP 5.6.39PHP 5.5.38PHP 5.4.440.1980.3960.5940.7920.99SE +/- 0.000, N = 6SE +/- 0.000, N = 6SE +/- 0.001, N = 6SE +/- 0.001, N = 6SE +/- 0.001, N = 6SE +/- 0.000, N = 6SE +/- 0.001, N = 6SE +/- 0.002, N = 6SE +/- 0.004, N = 6SE +/- 0.006, N = 60.0670.2410.2770.3300.3400.3460.3520.8470.8560.880

Phoronix Test Suite Self Test

Test: Peak Memory Usage

OpenBenchmarking.orgMB, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Peak Memory UsagePHP 8.0 Git + JITPHP 7.1.33PHP 7.0.33PHP 7.2.31PHP 7.3.18PHP 7.4.6PHP 8.0 GitPHP 5.5.38PHP 5.4.44PHP 5.6.39150300450600750SE +/- 0.00, N = 5SE +/- 0.49, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.49, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.06, N = 5SE +/- 0.06, N = 5SE +/- 1.14, N = 5497.42498.22499.42499.42500.22501.42501.42690.10690.15691.20

Phoronix Test Suite Self Test

Test: List Suites

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: List SuitesPHP 7.3.18PHP 8.0 GitPHP 8.0 Git + JITPHP 7.2.31PHP 7.1.33PHP 7.4.6PHP 7.0.33PHP 5.4.44PHP 5.5.38PHP 5.6.390.09860.19720.29580.39440.493SE +/- 0.003, N = 5SE +/- 0.002, N = 5SE +/- 0.003, N = 5SE +/- 0.002, N = 5SE +/- 0.004, N = 5SE +/- 0.006, N = 5SE +/- 0.001, N = 5SE +/- 0.004, N = 5SE +/- 0.003, N = 5SE +/- 0.004, N = 50.3230.3240.3250.3290.3300.3330.3530.4280.4380.438


Phoronix Test Suite v10.8.5