PHP Benchmarks en Copyright 2017-2018 InfoDroid Twig 2.5 benchmarked <a href="/en/benchmark/apache-bench/php-7.2/select-version/twig.html">Twig 2.5</a> benchmarks available. <br><br> <strong>With Apache Bench</strong> <ul> <li><a href="/en/benchmark/apache-bench/php-7.2/twig-2.5.html">PHP 7.2</a>: 25,369</li> <li><a href="/en/benchmark/apache-bench/php-7.1/twig-2.5.html">PHP 7.1</a>: 23,914</li> <li><a href="/en/benchmark/apache-bench/php-7.0/twig-2.5.html">PHP 7.0</a>: 25,303</li> </ul> <strong>With Siege</strong> <ul> <li><a href="/en/benchmark/siege/php-7.2/twig-2.5.html">PHP 7.2</a>: 26,690</li> <li><a href="/en/benchmark/siege/php-7.1/twig-2.5.html">PHP 7.1</a>: 25,222</li> <li><a href="/en/benchmark/siege/php-7.0/twig-2.5.html">PHP 7.0</a>: 25,360</li> </ul> <br> <strong>Twig 2.5</strong> results are similars to other versions. Fri, 27 Jul 2018 16:00:00 +0200 Latte 2.2, 2.3 and 2.4 benchmarked <a href="" target="_blank">Latte</a>, template engine of <a href="" target="_blank">Nette</a> framework is benchmarked for <a href="">2.2</a>, <a href="">2.3</a> and <a href="">2.4</a> versions. <br><br> 2.2 et 2.3 versions are not compatibles with PHP 7.2 <a href="" target="_blank">due to a class with Object name</a> who is a reserved keyword in PHP 7.2 for type hint. <br><br> With PHP 7.1, <a href="">2.2 and 2.3 versions are very close</a>. But 2.4 decrease performance by 11%. Sat, 07 Jul 2018 17:40:00 +0200 Added performance tools Tools to help you increase your code performance are shown on <a href="/en/benchmark/apache-bench/php-7.2/symfony-4.1.html">results page</a>. <br><br> You can <a href="/en/contact.html">ask us to add your tool</a>, to make it known to the community. Sun, 17 Jun 2018 17:30:00 +0200 Added 2 benchmarks for PHP All PHP versions have 2 new benchmarks: <a href="/en/comparator/php.html?type=templating-small-overload">Small overload</a> and <a href="/en/comparator/php.html?type=templating-big-overload">Big overload</a>, templating engine oriented. <br> You will find all details on <a href="/en/benchmark/apache-bench/php-7.2.html">results pages</a>. <br><br> <a href="/en/comparator/php.html?highlight=php-7.2">PHP 7.2</a> is the fastest version: <ul> <li><strong>Small overload</strong> : +20% compared to PHP 7.1 and 7.0, and +131% compared to PHP 5.6</li> <li><strong>Big overload</strong> : +14% compared to PHP 7.1 and 7.0, and +64% compared to PHP 5.6</li> </ul> <br> Purpose of this 2 benchmarks is to compare performances between PHP and templating engines. <br> Same type benchmarks for Twig, Plates and Smarty will be available soon. Sun, 10 Jun 2018 23:30:00 +0200 New score calculation The score calculation mode has been completely redone, so that all benchmarks have the same impact on the final score. <br><br> You will find all explanations on <a href="/en/benchmark-protocol.html">Protocol</a> page. Sun, 10 Jun 2018 23:00:00 +0200 Twig 1.3x benchmarked Twig 1.30 to 1.35 benchmarks are available.<br><br><a href="/en/benchmark/apache-bench/php-7.2/twig-1.33.html">Twig 1.33</a> is <a href="/en/comparator/compare.html?benchmarkTools=apache-bench&phpVersions=php-7.2&groups=twig-1.3x~twig-2.x&components=&highlight=twig-1.33">the fastest Twig version</a>, although all versions are very close (9% difference only). Fri, 01 Jun 2018 08:30:00 +0200 Symfony 4.1 benchmarked <a href="/en/benchmark/apache-bench/php-7.2/symfony-4.1.html">Symfony 4.1</a> benchmarks are available. <br><br>Results are similars to BETA-3. <br><a href="/en/comparator/compare.html?benchmarkTools=apache-bench&phpVersions=php-7.2&groups=&components=symfony-4.0~symfony-4.1">Compared to Symfony 4.0</a>, Symfony 4.1 is a little bit slower for <a href="/en/comparator/compare.html?benchmarkTools=apache-bench&phpVersions=php-7.2&groups=&components=symfony-4.0~symfony-4.1&type=hello-world">Hello World (-7%)</a> but faster for <a href="/en/comparator/compare.html?benchmarkTools=apache-bench&phpVersions=php-7.2&groups=&components=symfony-4.0~symfony-4.1&type=rest-api">REST API (+11%)</a>. Thu, 31 May 2018 08:00:00 +0200 Symfony 4.1-BETA3 benchmarked <a href="/en/benchmark/apache-bench/php-7.2/symfony-4.1.html">Symfony 4.1-BETA3</a> benchmarks are available.<br><br>Compared to BETA-2, Hello World benchmarks have same results, and <strong>REST API win 5,654 points (2,5x faster)</strong>!<br>Performances has been increased with <a href="" target="_blank">an improvement of Nicolas GREKAS</a>, following BETA-2 benchmarks. Tue, 29 May 2018 21:30:00 +0200 Fix REST API benchmark for Symfony 4.1-BETA2 <a href="/en/benchmark/apache-bench/php-7.2/symfony-4.1.html">Symfony 4.1-BETA2</a> API REST benchmark has been launched with debug mode activated. <br><br> A new benchmark version has been done, without debug mode : <strong>REST API win 719 points (+23%)</strong>. <br><br> Nicolas Grekas (Symfony main dev) use API REST benchmark results to find <a href="" target="_blank">a performance problem</a>, who will be fixed in next Symfony 4.1 BETA. Thu, 24 May 2018 13:30:00 +0200 Symfony 4.1-BETA2 benchmarked Benchmarks for <a href="/en/benchmark/apache-bench/php-7.2/symfony-4.1.html">Symfony 4.1</a> are available. <br><br> <strong>With Apache Bench</strong> <ul> <li><a href="/en/benchmark/apache-bench/php-7.2/symfony-4.1.html">PHP 7.2</a> (50,382)</li> <li><a href="/en/benchmark/apache-bench/php-7.1/symfony-4.1.html">PHP 7.1</a> (45,193)</li> </ul> <strong>Avec Siege</strong> <ul> <li><a href="/en/benchmark/siege/php-7.2/symfony-4.1.html">PHP 7.2</a> (39,380)</li> <li><a href="/en/benchmark/siege/php-7.1/symfony-4.1.html">PHP 7.1</a> (37,263)</li> </ul> <br> <strong>Symfony 4.1</strong> is <a href="/en/comparator/compare.html?benchmarkTools=apache-bench&phpVersions=php-7.2&groups=&components=symfony-4.0~symfony-4.1&type=hello-world">7% slower (Hello World)</a> and <a href="/en/comparator/compare.html?benchmarkTools=apache-bench&phpVersions=php-7.2&groups=&components=symfony-4.0~symfony-4.1&type=rest-api">2,7x slower (REST API)</a> than <strong>Symfony 4.0</strong>. <br><br>We need to wait Symfony 4.1 release to see final results. Wed, 23 May 2018 18:55:00 +0200