PHP 7.3 Performance Benchmarks Are Looking Good Days Ahead Of Its Release

Written by Michael Larabel in Free Software on 24 November 2018 at 12:19 PM EST. 10 Comments
FREE SOFTWARE
Released on Thursday was PHP 7.3 RC6 as the last planned pre-release for the upcoming PHP 7.3. Here are some benchmarks looking at the PHP 7.3 performance compared to PHP releases going back to the v5.5 series on a Linux server.

PHP 7.3 RC6 is the last expected release candidate before the general availability expected around 6 December. The RC6 changes are outlined by the release announcement.


I ran some fresh benchmarks over the past day on PHP 5.5.38, PHP 5.6.38, PHP 7.0.32, PHP 7.1.24, PHP 7.2.12, and the PHP 7.3.0-RC6 test release. All of the PHP5/PHP7 builds were configured and built in the same manner. All tests happened from the same Dell PowerEdge R7425 dual EPYC server running Ubuntu 18.10 Linux.
PHP 7.3 Benchmarks

Besides continuing to evolve the performance of PHP7, the PHP 7.3 release is also delivering on FFI (the Foreign Function Interface) to access functions / variables / data structures from the C language, a platform-independent manner for obtaining information on network interfaces, an is_countable() call, WebP support within GD's image create from string, updated SQLite support, improved PHP garbage collection performance, and many other enhancements.
PHP 7.3 Benchmarks

PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3 is 31% faster than PHP 7.0 or nearly 3x the speed of PHP5.
PHP 7.3 Benchmarks

PHP 7.3 Benchmarks

The PHP micro-benchmarks are running slightly faster on PHP 7.3.0 RC6.
PHP 7.3 Benchmarks

With our own Phoronix Test Suite PHP self-test, PHP 7.3 does very good as well. In fact, going from PHP 7.2 to 7.3 is the largest leap of the PHP7 releases to date.
PHP 7.3 Benchmarks

The "list suites" operation that does a lot of file access and XML parsing is slightly faster.
PHP 7.3 Benchmarks

While the graph render test that does a lot of XML parsing as well as SVG graph generation via the PHP DOM interface saw a significant speed-up with PHP 7.3.
PHP 7.3 Benchmarks

The merge results process was slightly faster. Overall, PHP 7.3 is shaping up to be another notable upgrade to the PHP7 series for its continued performance improvements, the new PHP FFI interface, and other new additions for this PHP release due out in early December.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week