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&grw&sor.

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: Peak Memory Usagepts-self-test: Render Testpts-self-test: Merge Resultspts-self-test: List Suitespts-self-test: Total Timephp: Zend benchphp: Zend micro_benchphpbench: PHP Benchmark SuitePHP 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 + JIT690.15164.6037.8920.428546.5030.8804.156317303690.10166.8828.1040.438548.7110.8564.186312304691.20164.5737.7150.438544.7230.8474.090324614499.41837.7493.0400.353137.8520.3521.790684328498.21837.2852.9350.330136.3090.3301.703740633499.41836.5512.8410.329131.8600.3401.590830961500.21827.4852.6430.323103.5930.3461.715786402501.41826.9742.6080.333101.3870.2771.376839489501.41827.3392.6130.324102.8900.2411.305898391497.41827.4932.3880.325104.6030.0670.7131617183OpenBenchmarking.org

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: 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

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

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 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

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

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

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 v10.8.5