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&rdt.

PHP 8 End Of May 2020ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLVulkanCompilerFile-SystemScreen ResolutionPHP 8.0 GitPHP 7.4.6PHP 7.3.18PHP 7.2.31PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.5.38PHP 5.4.44PHP 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.7amdgpu 19.1.04.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.0ext43840x2160radeon 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 8.0 GitPHP 7.4.6PHP 7.3.18PHP 7.2.31PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.5.38PHP 5.4.44PHP 8.0 Git + JIT501.41827.3392.6130.324102.8900.2411.305898391501.41826.9742.6080.333101.3870.2771.376839489500.21827.4852.6430.323103.5930.3461.715786402499.41836.5512.8410.329131.8600.3401.590830961498.21837.2852.9350.330136.3090.3301.703740633499.41837.7493.0400.353137.8520.3521.790684328691.20164.5737.7150.438544.7230.8474.090324614690.10166.8828.1040.438548.7110.8564.186312304690.15164.6037.8920.428546.5030.8804.156317303497.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 GitPHP 7.4.6PHP 7.3.18PHP 7.2.31PHP 7.1.33PHP 7.0.33PHP 5.6.39PHP 5.5.38PHP 5.4.44PHP 8.0 Git + JIT150300450600750SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.49, N = 5SE +/- 0.00, N = 5SE +/- 0.49, N = 5SE +/- 0.00, N = 5SE +/- 1.14, N = 5SE +/- 0.06, N = 5SE +/- 0.06, N = 5SE +/- 0.00, N = 5501.42501.42500.22499.42498.22499.42691.20690.10690.15497.42

Phoronix Test Suite Self Test

Test: Render Test

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

Phoronix Test Suite Self Test

Test: Merge Results

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

Phoronix Test Suite Self Test

Test: List Suites

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

Phoronix Test Suite Self Test

Test: Total Time

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

PHP Micro Benchmarks

Test: Zend bench

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

PHP Micro Benchmarks

Test: Zend micro_bench

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

PHPBench

PHP Benchmark Suite

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


Phoronix Test Suite v10.8.5