Thursday, November 21, 2024
HomeEveryday WordPressSpeed Tests for Versions 8.1, 8.2, and 8.3

Speed Tests for Versions 8.1, 8.2, and 8.3


PHP is one of the most-used server-side programming languages, powering about 76% of active websites. Every year, we release our in-depth performance benchmarks for various PHP frameworks to see how different PHP versions stack up against each other.

In December 2023, we benchmarked PHP 8.1, 8.2, and 8.3 across 11 content management systems (CMSs) and frameworks: WordPress, WooCommerce, Drupal (versions 7 and 10), Joomla, Laravel, Symfony, CodeIgniter, Craft CMS, Typo3, Opencart, and Statamic. We also benchmarked WordPress and WooCommerce on PHP 7.4 since so many sites still run on this version.

As a best practice, we recommend always using the latest PHP version for optimized performance and security.

Our PHP Benchmarks

To evaluate how a CMS or framework performs against recent PHP versions, we ran benchmark tests. For consistency, we used the same machine and parameters for every tested CMS or framework.

The benchmark tests in this article were performed in the following environments:

  • Machine: Intel Cascade Lake (30 core CPU) @ 3.10GHz, 120GB RAM, 1TB HDD. A Compute-Optimized (C2) virtual machine powered by Google Cloud Platform and running in an isolated container.
  • OS: Ubuntu 20.04.6 LTS (Focal Fossa).
  • CMSs and frameworks: Default setups, installed with DDEV v1.22.5 amd64 on nginx-fpm as --webserver-type based on the image version 1.22.0.
  • PHP versions: 7.4.33, 8.1.26, 8.2.13, 8.3.0
  • Database: ddev-dbserver-mariadb-10.4
  • Tooling: ab – Apache HTTP server benchmarking tool.
    • Concurrency: 15 requests at the same time.
    • Requests: 1000 requests per session.
  • Results: Obtained in requests per second (req/s). The higher the result, the faster the response.

CMSs and Frameworks

PHP is well known for its extensive library of frameworks and CMSs. We considered a few aspects in choosing which to test, including:

  • Popularity
  • Live websites
  • Market position
  • Usage trends
  • Search volume (U.S.)

For example, WordPress keeps shining, representing 62% of the entire CMS market, with over 34 million live websites and a steep increase in usage over time.

On the other hand, while Statamic has a smaller footprint on the web, with some 10,000 live sites, its steep growth and increasing popularity have drawn our attention.

We also included Symfony. Although it’s been dropping in popularity over the past years compared to its previous spike, Symfony still has many active sites and a large monthly search volume.

The other CMSs and frameworks we chose to benchmark met the same standards.

Let’s take a look at the results.



Source link

RELATED ARTICLES
Continue to the category

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Most Popular

Recent Comments