Early PHP 8.0 Performance Benchmarks

Intel Core i9-9900KS testing of PHP 8.0 development state as of late February 2020. PHP8 performance benchmarks by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/2002269-VE-PHPBENCHM24&grw&sro.

Early PHP 8.0 Performance BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLVulkanCompilerFile-SystemScreen ResolutionPHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JITIntel Core i9-9900KS @ 5.00GHz (8 Cores / 16 Threads)ASUS PRIME Z390-A (1302 BIOS)Intel Cannon Lake PCH16GBSamsung SSD 970 EVO 250GBASUS Intel UHD 630 3GB (1200MHz)Realtek ALC1220ASUS MG28UIntel I219-VUbuntu 20.045.4.0-14-generic (x86_64)GNOME Shell 3.34.3X Server 1.20.7modesetting 1.20.74.6 Mesa 20.0.01.2.131GCC 9.2.1 20200220ext41920x1080OpenBenchmarking.orgProcessor Details- Scaling Governor: intel_pstate powersave - CPU Microcode: 0xcaSecurity Details- itlb_multihit: KVM: Vulnerable + 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: Mitigation of TSX disabled

Early PHP 8.0 Performance Benchmarkspts-self-test: Merge Resultspts-self-test: Peak Memory Usagepts-self-test: Render Testpts-self-test: Total Timephp: Zend benchphp: Zend micro_benchphpbench: PHP Benchmark SuitePHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT8.622689.75174.306585.4560.9514.6182883263.288499.41841.824158.9190.3711.9576202863.216499.41841.533157.5740.3441.8837002273.188498.41845.296170.7860.3431.8037716162.939500.41832.798129.7870.3351.6228159752.978501.42233.173130.9770.2671.3918142172.869501.42232.702131.5510.2451.3308764202.773497.42231.882125.8280.2441.338875197OpenBenchmarking.org

Phoronix Test Suite Self Test

Test: Merge Results

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Merge ResultsPHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT246810SE +/- 0.132, N = 2SE +/- 0.019, N = 2SE +/- 0.035, N = 2SE +/- 0.010, N = 2SE +/- 0.023, N = 2SE +/- 0.036, N = 2SE +/- 0.015, N = 2SE +/- 0.018, N = 28.6223.2883.2163.1882.9392.9782.8692.773

Phoronix Test Suite Self Test

Test: Peak Memory Usage

OpenBenchmarking.orgMB, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Peak Memory UsagePHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT150300450600750SE +/- 0.00, N = 2SE +/- 0.00, N = 2SE +/- 0.00, N = 2SE +/- 1.00, N = 2SE +/- 1.00, N = 2SE +/- 0.00, N = 2SE +/- 0.00, N = 2SE +/- 0.00, N = 2689.75499.42499.42498.42500.42501.42501.42497.42

Phoronix Test Suite Self Test

Test: Render Test

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Render TestPHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT4080120160200SE +/- 1.94, N = 2SE +/- 0.04, N = 2SE +/- 0.08, N = 2SE +/- 0.02, N = 2SE +/- 0.25, N = 2SE +/- 0.33, N = 2SE +/- 0.07, N = 2SE +/- 0.01, N = 2174.3141.8241.5345.3032.8033.1732.7031.88

Phoronix Test Suite Self Test

Test: Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Total TimePHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT130260390520650SE +/- 3.09, N = 3SE +/- 0.48, N = 3SE +/- 0.40, N = 3SE +/- 1.67, N = 3SE +/- 0.35, N = 3SE +/- 0.69, N = 3SE +/- 1.31, N = 3SE +/- 0.08, N = 3585.46158.92157.57170.79129.79130.98131.55125.83

PHP Micro Benchmarks

Test: Zend bench

OpenBenchmarking.orgSeconds, Fewer Is BetterPHP Micro BenchmarksTest: Zend benchPHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT0.2140.4280.6420.8561.07SE +/- 0.002, N = 3SE +/- 0.001, N = 3SE +/- 0.000, N = 3SE +/- 0.001, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.001, N = 30.9510.3710.3440.3430.3350.2670.2450.244

PHP Micro Benchmarks

Test: Zend micro_bench

OpenBenchmarking.orgSeconds, Fewer Is BetterPHP Micro BenchmarksTest: Zend micro_benchPHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT1.03912.07823.11734.15645.1955SE +/- 0.027, N = 3SE +/- 0.006, N = 3SE +/- 0.012, N = 3SE +/- 0.002, N = 3SE +/- 0.001, N = 3SE +/- 0.004, N = 3SE +/- 0.001, N = 3SE +/- 0.007, N = 34.6181.9571.8831.8031.6221.3911.3301.338

PHPBench

PHP Benchmark Suite

OpenBenchmarking.orgScore, More Is BetterPHPBench 0.8.1PHP Benchmark SuitePHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JIT200K400K600K800K1000KSE +/- 1024.39, N = 3SE +/- 1013.30, N = 3SE +/- 1015.12, N = 3SE +/- 2964.12, N = 3SE +/- 1496.61, N = 3SE +/- 2435.70, N = 3SE +/- 757.49, N = 3SE +/- 2699.13, N = 3288326620286700227771616815975814217876420875197


Phoronix Test Suite v10.8.5