Symfony Benchmarks: Introduction
The PHP runtime had a significant release with PHP 7 this year, and there are a number of benchmarks done with it using Drupal, WordPress and other mainstream tools. Facebook continues it's heavy investment in HHVM, a PHP compatible runtime. It's worth also taking a look at how it compares with the current and previous generation of the official PHP environment using the Symfony framework.
To find out how the different runtimes work with a large scale Symfony Framework application, we'll run eZ Platform, a rather complex application built with the Symfony Framework. In a series of three articles we'll take a look at the difference of the used PHP runtime, HTTP caching and increased server resources affect a real life Symfony application.
We'll use the demo installation of eZ Platform with the latest MySQL version is the latest 5.7.10 version as the database. Database results are stored by the default eZ Platform metadata through the Stash Bundle using the filesystem driver. The Symfony version used with eZ Platform 1.0 is 2.7.
The test setup was created in the UpCloud data centre in Frankfurt with dedicated hosts for both the hosting machine and the load generator. Load testing is done using the 1 Gbit internal network of the data center to minimise network bandwidth and latency effects on the results. No other tasks are done on the virtual servers.
The results are published in a series of articles:
- Symfony Benchmarks: PHP 5.6, HHVM 3.11 and PHP 7.0.1
- Symfony Benchmarks: Scaling PHP by adding CPU & RAM
- Symfony Benchmarks: Symfony Proxy vs. Varnish
- Symfony Benchmarks: PHP-FPM vs. PHP-PM (on PHP 7 and HHVM)
- Symfony Benchmarks: Symfony Microkernel, Lumen, Silex, Slim...