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
Show Result Confidence Charts

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):
Do not show results matching title/arguments (delimit multiple options with a comma):


Early PHP 8.0 Performance BenchmarksOpenBenchmarking.orgPhoronix Test SuiteIntel 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 8.0-devPHP 8.0-dev + JITPHP 7.4.3PHP 7.3.15PHP 7.2.28PHP 7.1.33PHP 7.0.33PHP 5.6.40Result OverviewPhoronix Test Suite100%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 Benchmarkspts-self-test: Total Timepts-self-test: Render Testpts-self-test: Merge Resultspts-self-test: Peak Memory Usagephp: Zend benchphp: Zend micro_benchphpbench: PHP Benchmark SuitePHP 8.0-devPHP 8.0-dev + JITPHP 7.4.3PHP 7.3.15PHP 7.2.28PHP 7.1.33PHP 7.0.33PHP 5.6.40131.55132.7022.869501.4220.2451.330876420125.82831.8822.773497.4220.2441.338875197130.97733.1732.978501.4220.2671.391814217129.78732.7982.939500.4180.3351.622815975170.78645.2963.188498.4180.3431.803771616157.57441.5333.216499.4180.3441.883700227158.91941.8243.288499.4180.3711.957620286585.456174.3068.622689.750.9514.618288326OpenBenchmarking.org

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 8.0-devPHP 8.0-dev + JITPHP 7.4.3PHP 7.3.15PHP 7.2.28PHP 7.1.33PHP 7.0.33PHP 5.6.40130260390520650SE +/- 1.31, N = 3SE +/- 0.08, N = 3SE +/- 0.69, N = 3SE +/- 0.35, N = 3SE +/- 1.67, N = 3SE +/- 0.40, N = 3SE +/- 0.48, N = 3SE +/- 3.09, N = 3131.55125.83130.98129.79170.79157.57158.92585.46

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

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

OpenBenchmarking.orgMB, Fewer Is BetterPhoronix Test Suite Self Test 1.0Test: Peak Memory UsagePHP 8.0-devPHP 8.0-dev + JITPHP 7.4.3PHP 7.3.15PHP 7.2.28PHP 7.1.33PHP 7.0.33PHP 5.6.40150300450600750SE +/- 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 = 2501.42497.42501.42500.42498.42499.42499.42689.75

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 8.0-devPHP 8.0-dev + JITPHP 7.4.3PHP 7.3.15PHP 7.2.28PHP 7.1.33PHP 7.0.33PHP 5.6.400.2140.4280.6420.8561.07SE +/- 0.000, N = 3SE +/- 0.001, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.001, N = 3SE +/- 0.000, N = 3SE +/- 0.001, N = 3SE +/- 0.002, N = 30.2450.2440.2670.3350.3430.3440.3710.951

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

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 8.0-devPHP 8.0-dev + JITPHP 7.4.3PHP 7.3.15PHP 7.2.28PHP 7.1.33PHP 7.0.33PHP 5.6.40200K400K600K800K1000KSE +/- 757.49, N = 3SE +/- 2699.13, N = 3SE +/- 2435.70, N = 3SE +/- 1496.61, N = 3SE +/- 2964.12, N = 3SE +/- 1015.12, N = 3SE +/- 1013.30, N = 3SE +/- 1024.39, N = 3876420875197814217815975771616700227620286288326

7 Results Shown

Phoronix Test Suite Self Test:
  Total Time
  Render Test
  Merge Results
  Peak Memory Usage
PHP Micro Benchmarks:
  Zend bench
  Zend micro_bench
PHPBench