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.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 2002269-VE-PHPBENCHM24
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
PHP 5.6.40
February 26 2020
  41 Minutes
PHP 7.0.33
February 26 2020
  12 Minutes
PHP 7.1.33
February 26 2020
  12 Minutes
PHP 7.2.28
February 26 2020
  13 Minutes
PHP 7.3.15
February 26 2020
  10 Minutes
PHP 7.4.3
February 26 2020
  10 Minutes
PHP 8.0-dev
February 26 2020
  10 Minutes
PHP 8.0-dev + JIT
February 26 2020
  10 Minutes
Invert Hiding All Results Option
  15 Minutes

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):


Early PHP 8.0 Performance BenchmarksOpenBenchmarking.orgPhoronix Test Suite 10.6.0Intel 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 20200220ext41920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLVulkanCompilerFile-SystemScreen ResolutionEarly PHP 8.0 Performance BenchmarksSystem Logs- Scaling Governor: intel_pstate powersave - CPU Microcode: 0xca- 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

PHP 5.6.40PHP 7.0.33PHP 7.1.33PHP 7.2.28PHP 7.3.15PHP 7.4.3PHP 8.0-devPHP 8.0-dev + JITResult OverviewPhoronix Test Suite 10.6.0100%212%323%435%547%Phoronix Test Suite Self TestPhoronix Test Suite Self TestPHP Micro BenchmarksPHP Micro BenchmarksPhoronix Test Suite Self TestPHPBenchPhoronix Test Suite Self TestRender TestTotal TimeZend benchZend micro_benchMerge ResultsP.B.SPeak Memory Usage

Early PHP 8.0 Performance Benchmarksphpbench: PHP Benchmark Suitephp: Zend benchphp: Zend micro_benchpts-self-test: Total Timepts-self-test: Render Testpts-self-test: Merge Resultspts-self-test: 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 + JIT2883260.9514.618585.456174.3068.622689.756202860.3711.957158.91941.8243.288499.4187002270.3441.883157.57441.5333.216499.4187716160.3431.803170.78645.2963.188498.4188159750.3351.622129.78732.7982.939500.4188142170.2671.391130.97733.1732.978501.4228764200.2451.330131.55132.7022.869501.4228751970.2441.338125.82831.8822.773497.422OpenBenchmarking.org

PHPBench

PHPBench is a benchmark suite for PHP. It performs a large number of simple tests in order to bench various aspects of the PHP interpreter. PHPBench can be used to compare hardware, operating systems, PHP versions, PHP accelerators and caches, compiler options, etc. The number of iterations used is 1,000,000. Learn more via the OpenBenchmarking.org test page.

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
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 + JIT150K300K450K600K750KMin: 286295 / Avg: 288326.33 / Max: 289573Min: 618294 / Avg: 620285.67 / Max: 621606Min: 698208 / Avg: 700227.33 / Max: 701419Min: 765698 / Avg: 771615.67 / Max: 774881Min: 813047 / Avg: 815974.67 / Max: 817978Min: 809516 / Avg: 814217.33 / Max: 817673Min: 874920 / Avg: 876420 / Max: 877354Min: 870014 / Avg: 875197.33 / Max: 879095

PHP Micro Benchmarks

Various small PHP micro-benchmarks. Learn more via the OpenBenchmarking.org test page.

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
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 + JIT246810Min: 0.95 / Avg: 0.95 / Max: 0.95Min: 0.37 / Avg: 0.37 / Max: 0.37Min: 0.34 / Avg: 0.34 / Max: 0.34Min: 0.34 / Avg: 0.34 / Max: 0.34Min: 0.33 / Avg: 0.33 / Max: 0.34Min: 0.27 / Avg: 0.27 / Max: 0.27Min: 0.24 / Avg: 0.24 / Max: 0.25Min: 0.24 / Avg: 0.24 / Max: 0.25

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
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 + JIT246810Min: 4.58 / Avg: 4.62 / Max: 4.67Min: 1.95 / Avg: 1.96 / Max: 1.97Min: 1.87 / Avg: 1.88 / Max: 1.91Min: 1.8 / Avg: 1.8 / Max: 1.81Min: 1.62 / Avg: 1.62 / Max: 1.62Min: 1.38 / Avg: 1.39 / Max: 1.4Min: 1.33 / Avg: 1.33 / Max: 1.33Min: 1.33 / Avg: 1.34 / Max: 1.35

Phoronix Test Suite Self Test

This is a wrapper around the phoronix-test-suite debug-self-test sub-command for testing hot Phoronix Test Suite code paths and if wanting to compare different PHP implementations. Learn more via the OpenBenchmarking.org test page.

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
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 + JIT100200300400500Min: 581.16 / Avg: 585.46 / Max: 591.46Min: 158.27 / Avg: 158.92 / Max: 159.85Min: 156.79 / Avg: 157.57 / Max: 158.09Min: 168.99 / Avg: 170.79 / Max: 174.12Min: 129.09 / Avg: 129.79 / Max: 130.2Min: 129.78 / Avg: 130.98 / Max: 132.16Min: 128.94 / Avg: 131.55 / Max: 132.89Min: 125.74 / Avg: 125.83 / Max: 125.99

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
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 + JIT306090120150Min: 172.37 / Avg: 174.31 / Max: 176.25Min: 41.79 / Avg: 41.82 / Max: 41.86Min: 41.45 / Avg: 41.53 / Max: 41.61Min: 45.27 / Avg: 45.3 / Max: 45.32Min: 32.55 / Avg: 32.8 / Max: 33.05Min: 32.84 / Avg: 33.17 / Max: 33.51Min: 32.63 / Avg: 32.7 / Max: 32.78Min: 31.87 / Avg: 31.88 / Max: 31.9

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
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 + JIT3691215Min: 8.49 / Avg: 8.62 / Max: 8.75Min: 3.27 / Avg: 3.29 / Max: 3.31Min: 3.18 / Avg: 3.22 / Max: 3.25Min: 3.18 / Avg: 3.19 / Max: 3.2Min: 2.92 / Avg: 2.94 / Max: 2.96Min: 2.94 / Avg: 2.98 / Max: 3.01Min: 2.85 / Avg: 2.87 / Max: 2.88Min: 2.76 / Avg: 2.77 / Max: 2.79

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
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 + JIT120240360480600Min: 689.75 / Avg: 689.75 / Max: 689.75Min: 499.42 / Avg: 499.42 / Max: 499.42Min: 499.42 / Avg: 499.42 / Max: 499.42Min: 497.42 / Avg: 498.42 / Max: 499.42Min: 499.42 / Avg: 500.42 / Max: 501.42Min: 501.42 / Avg: 501.42 / Max: 501.42Min: 501.42 / Avg: 501.42 / Max: 501.42Min: 497.42 / Avg: 497.42 / Max: 497.42