Comparative analysis of a selected version of the Symfony framework
Abstract
This article is about research during which selected versions of the Symfony programming framework were compared in terms of their performance. The following versions of the framework were analysed: 3.0, 3.1, 3.2, 3.3, 3.4 LTS, 4.0, 4.1, 4.2, 4.3 and 4.4 LTS. For the purpose of the research, a simple test application in PHP was developed in ten variants corresponding to selected versions of the framework and consisting of 17 fragments of code – methods in the class, each of which operates on one basic component of Symfony. The application prepared in this manner was subject to performance tests in a two-stage experiment. After the experiment, the quantitative analyses were conducted in which the following aspects were taken into consideration: the average values of execution times and the average amounts of memory usage for specific code fragments for individual versions of the Symfony framework components and the average time of execution and demand for memory for the entire tested application. The obtained results for each code fragment representing a given component were visualized in the forms of graphs. The performed analyses showed that the best version of the Symfony programming framework in terms of performance is version 4.1.
Keywords:
Symfony, performance, memory usageReferences
PHP Benchmarks, http://www.phpbenchmarks.com/en/ [03.12.2019]
Google Scholar
Symfony, https://symfony.com/components [04.12.2019]
Google Scholar
F. Zaninotto, F. Potencier, The Definitive Guide to Symfony. Apress, 2007.
Google Scholar
Coding Standards, https://symfony.com/doc/current /contributing/code/standards.html [04.12.2019]
Google Scholar
Symfony Releases, https://symfony.com/releases [04.12.2019]
Google Scholar
https://symfony.com/blog/ [04.12.2019]
Google Scholar
PHPBench’s documentation, https://phpbench.readthedocs.io/en/latest/ [04.12.2019]
Google Scholar
Fast request routing using regular expressions, https://nikic.github.io/2014/02/18/Fast-request-routing-using-regular-expressions.html [15.12.2019]
Google Scholar
Making Symfony’s Router 77.7x faster, https://medium.com/@nicolas.grekas/making-symfonys-router-77-7x-faster-1-2-958e3754f0e1 [15.12.2019]
Google Scholar
Statistics
Abstract views: 454PDF downloads: 314
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.