Nous invitons les futurs étudiants du cours "Symfony Framework" et tous ceux qui souhaitent s'inscrire à un webinaire ouvert sur le thème "Microframes: Comparaison des performances Symfony et Symlex".
Nous partageons également la traduction d'un article utile.
PHP 8.0 devrait sortir le 26 novembre 2020, suivi sous peu par la dernière version de Symfony 5.2. Voici une série de benchmarks effectués sur les dernières versions des deux projets. Ceci est un pur scénario de bonjour du monde et doit être considéré comme tel. Seules les performances relatives comptent. Dans le monde réel de YMMV (vos résultats peuvent différer de ceux-ci).
2: PHP 8.0.0 Symfony 5.2.0 . , , .
PHP 8.0-RC5 Symfony 5.2-RC2. , , . Hetzner Helsinki CCX11 (2 , 8 ), , . Ubuntu 20.20 PHP, .
Symfony 5.2 . HTML 100 999. (1, 10, 25, 50, 100) .
PHP-FPM Nginx:
PHP 7.4 OPCache
PHP 7.4 OPCache
PHP 8.0 OPCache
PHP 8.0 OPCache
PHP 8.0 OPCache JIT
opcache.preload_user=www-data
opcache.memory_consumption=1024
opcache.interned_strings_buffer=256
opcache.max_accelerated_files=30000
opcache.validate_timestamps=0
# only when OPCache Preloading was enabled
opcache.preload=/var/www/php80/var/cache/prod/App_KernelProdContainer.preload.php
# only when JIT was enabled
opcache.jit_buffer_size=512mb
opcache.jit=1225
hey, (req/s) (). , .
, PHP 7.4, 8.0 OPCache. PHP 7.4 , . , , 10 100 , PHP 8.0 JIT, , , 7.4 OPCache, 25+ .
, . OPCache , PHP 7.4 8.0. ( , ) PHP 8.0 , 7.4, . , 10 100. 8.0 JIT : , .
, Symfony, PHP 8.0 7.4. , , JIT PHP 8.0, PHP 7.0, , .
, JIT , OPCache. , , . , JIT PHP.
, 7.4 8.0 . , PHP 7.3 7.4 OPCache. , PHP 8.0 . . , , ( 4.4 PHP 5.0 2004 ). 8.x.
Discourse: PHP 8.0 7.4
"Symfony Framework".
": Symfony Symlex".
OTUS . . OTUS.