{"id":287049,"date":"2017-05-30T11:40:04","date_gmt":"2017-05-30T07:40:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=287049"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2017-05-30T07:40:04","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=287049","title":{"rendered":"\u041a\u0430\u043a \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 PHP-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a. \u0421\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435"},"content":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/309\/6ba\/20b\/3096ba20b4834b3e9716d53ee2a9cb03.jpg\" \/><\/div>\n<p>  \u041f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0434\u0430\u0447\u0430 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a, \u043e\u0442 \u00ab\u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u0441\u0451 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c\u00bb \u0434\u043e \u00ab\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u043b\u0438 \u043d\u0430\u043c \u044d\u0442\u0430 \u0444\u0438\u0447\u0430?\u00bb. \u0418 \u0442\u0430\u043a \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437. \u0418\u043c\u0435\u043d\u043d\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043c\u043e\u0437\u0433\u043e\u0432\u043e\u0433\u043e \u0448\u0442\u0443\u0440\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u043d\u0430\u0431\u043e\u0440 \u0444\u0438\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432 \u043d\u0435\u043c \u0438\u043b\u0438 \u0432 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0441 \u043d\u0438\u043c \u043c\u043e\u0434\u0443\u043b\u044f\u0445. <\/p>\n<p>  \u041d\u043e \u043a\u0430\u043a\u043e\u0439 \u0436\u0435 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u043b\u0443\u0447\u0448\u0435, \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435? <\/p>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u044f\u0441\u043d\u0438\u0442\u044c \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <a href=\"https:\/\/systemsarchitect.net\/2013\/04\/23\/performance-benchmark-of-popular-php-frameworks\/\">\u0441\u0442\u0430\u0442\u044c\u0435 <\/a>Lukasz Kujawa \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 PHP \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432. \u041e\u0434\u043d\u043e \u00ab\u043d\u043e\u00bb \u2014 \u0441\u0442\u0430\u0442\u044c\u044f \u0437\u0430 2013 \u0433\u043e\u0434. \u0410 \u0432\u0435\u0434\u044c \u0432\u0440\u0435\u043c\u044f \u0438\u0434\u0451\u0442\u2026 \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0451, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432. <\/p>\n<p>  \u0414\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0431\u044b\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d <a href=\"https:\/\/github.com\/kenjis\/php-framework-benchmark\">PHP Framework Benchmark<\/a>. \u041e\u043d \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 (\u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435), \u043d\u043e \u0430\u0432\u0442\u043e\u0440 \u043d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043d\u043e\u0432\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0447\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e, \u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0441\u043c\u0435\u0440\u0442\u0435\u043b\u044c\u043d\u043e. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e. \u2028<\/p>\n<p>  \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0442\u0430\u043a\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u0443\u0442\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043d\u043e\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 PHP. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0430 \u0420\u041d\u0420 5.6\/7.0\/7.1<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0427\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c?<\/h2>\n<p>  \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438: <\/p>\n<ul>\n<li>slim-3.0<\/li>\n<li>ci-3.0<\/li>\n<li>lumen-5.1<\/li>\n<li>yii-2.0 <\/li>\n<li>silex-1.3<\/li>\n<li>fuel-1.8<\/li>\n<li>phpixie-3.2<\/li>\n<li>zf-2.5 <\/li>\n<li>zf-3.0<\/li>\n<li>symfony-2.7<\/li>\n<li>symfony-3.0 <\/li>\n<li>laravel-5.3 <\/li>\n<li>laravel-5.4<\/li>\n<li>bluz (\u0432\u0435\u0440\u0441\u0438\u044f 7.0.0 \u2014 \u0434\u043b\u044f \u0420\u041d\u04205.6 \u0438 \u0432\u0435\u0440\u0441\u0438\u044f 7.4 \u0434\u043b\u044f \u0420\u041d\u04207.0 \u0438 \u0432\u044b\u0448\u0435) <\/li>\n<li>ze-1.0<\/li>\n<li>phalcon-3.0 <\/li>\n<\/ul>\n<p>  \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u0441\u043b\u043e\u0432\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043e \u043d\u0430 4 \u0432\u0438\u0434\u0430: <\/p>\n<ul>\n<li>\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c (throughput),<\/li>\n<li>\u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c (memory),<\/li>\n<li>\u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (exec time),<\/li>\n<li>\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 (included files).<\/li>\n<\/ul>\n<p>  <\/p>\n<h2>\u041c\u0435\u0442\u043e\u0434\u0438\u043a\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043d\u0434<\/h2>\n<p>  \u041c\u0430\u0448\u0438\u043d\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430\u043c\u0438: <\/p>\n<p>  <code>Operation system: Linux Mint 17 Cinnamon 64-bit<br \/>  Cinnamin Version 2.2.16<br \/>  Linux Kernel: 3.13.0-24-generic<br \/>  Processor: Intel Core i3-4160 CPU 3.60 Ghz X 2 <br \/>  Memory: 8 GB<\/p>\n<p>  Server version: Apache\/2.4.7 (ubuntu)<br \/>  Server build: Jul 15 2016<br \/>  php 7.1 \/ php7.0 \/ php5.6<\/code><\/p>\n<p>  \u0412\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>git clone https:\/\/github.com\/kenjis\/php-framework-benchmark<\/code> \u2014 \u0438 \u0444\u0440\u0435\u0439\u043c \u0443\u0436\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 Mint, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443: \u2028<\/p>\n<p>  <code># Added\u2028net.netfilter.nf_conntrack_max = 100000\u2028net.nf_conntrack_max = 100000\u2028net.ipv4.tcp_max_tw_buckets = 180000\u2028net.ipv4.tcp_tw_recycle = 1\u2028net.ipv4.tcp_tw_reuse = 1\u2028net.ipv4.tcp_fin_timeout = 10<\/p>\n<p>  sudo sysctl -p<\/code><\/p>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0441\u0430\u043c\u043e\u0433\u043e php-framework-benchmark:<\/p>\n<p>  <b>\/benchmarks<\/b> \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 bash-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0435 \u0437\u0430 \u0441\u0431\u043e\u0440 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 (\u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b ab), \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0431\u044b\u043b\u043e \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043e \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u044b\u0437\u044b\u0432\u0430\u043b\u043e\u0441\u044c \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u00ab\u0442\u043e\u0447\u043a\u0438 \u0441\u0442\u0430\u0440\u0442\u0430\u00bb.<\/p>\n<p>  <b>\/lib<\/b> \u2014 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u044b, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0435 \u0437\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u201cHello world\u201d, \u0432\u044b\u0432\u043e\u0434 \u0442\u0430\u0431\u043b\u0438\u0446 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c.<\/p>\n<p>  <b>\/output<\/b> \u2014 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u043e\u0433\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430: .ab.log \u2014 \u043b\u043e\u0433 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u0442\u0438\u043b\u0438\u0442\u044b ab, \u0438 .output \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d (\u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e hello world \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043f\u0430\u043c\u044f\u0442\u0438, \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u043c\u0441\u044f \u0444\u0430\u0439\u043b\u0430\u043c).<\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u043f\u043a\u0438 \u2014 \u044d\u0442\u043e \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u0444\u0440\u0435\u0439\u043c\u043e\u0432, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043e\u0434\u0438\u043d \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0435\u0440\u043d\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u201chello world\u201d \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043f\u043e URI, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0443. <\/p>\n<p>  \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0442\u0435\u0441\u0442\u0430 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0432\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0430. <\/p>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 <code>bash setup.sh<\/code> \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442 \u0442\u0435 \u0444\u0440\u0435\u043c\u0432\u043e\u0440\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 list.sh. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0435\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c: \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0438 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u043f\u0430\u043f\u043a\u0438 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0422\u043e \u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e. <\/p>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <code>bash setup.sh fatfree-3.5\/ slim-3.0\/ lumen-5.1\/ silex-1.3\/<\/code> \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438, \u0437\u0430\u0434\u0430\u0432 \u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043a \u043a\u043e\u043c\u0430\u043d\u0434\u0435. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e, \u043d\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code>bash benchmark.sh<\/code>.<\/p>\n<p>  \u041f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u044c\u044e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u044d\u0442\u0438\u0445 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439. <\/p>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 \u043c\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u0441\u044b\u043b\u043a\u043e\u0439 <a href=\"http:\/\/localhost\/php-framework-benchmark\/\">http:\/\/localhost\/php-framework-benchmark\/<\/a>.<\/p>\n<p>  \u041a\u0430\u043a \u0432\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 Apache \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0444\u0440\u0435\u0439\u043c\u043e\u043c. \u0412\u0441\u0451 \u044d\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 readme, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442.<br \/>  \u2003  <\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432<\/h2>\n<p>  \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0438\u043c\u0435\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u0438\u0437 \u0434\u0432\u0443\u0445 \u0444\u043e\u0440\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432. <\/p>\n<p>  \u041f\u0435\u0440\u0432\u0430\u044f \u0444\u043e\u0440\u043c\u0430 \u2014 \u044d\u0442\u043e \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 \u0442\u0438\u043f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041a\u0430\u0436\u0434\u0430\u044f \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 4 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041a\u0430\u0436\u0434\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439, \u043f\u043b\u044e\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430. \u041e\u043d\u0430 \u0431\u044b\u043b\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0420\u041d\u0420. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u0438\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0439 \u0432 PHP \u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u0445. <\/p>\n<p>  \u0412\u0442\u043e\u0440\u0430\u044f \u0444\u043e\u0440\u043c\u0430 \u2014 \u044d\u0442\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b (\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e \u2014 \u0434\u0430\u0439\u0442\u0435 \u043c\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0438\u0441\u0435\u043b!).<\/p>\n<h3>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c (throughput)<\/h3>\n<p>  \u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430 throughput \u0438\u0437\u043c\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0448 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0435\u043c \u0432\u044b\u0448\u0435 \u044d\u0442\u043e \u0447\u0438\u0441\u043b\u043e, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u043e \u0441\u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/p>\n<p>  \u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b (\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443):  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th>php 5.6<\/th>\n<th>php 7.0<\/th>\n<th>php 7.1<\/th>\n<\/tr>\n<tr>\n<td>phalcon-3.1.2<\/td>\n<td>5058.00<\/td>\n<td>5130.00<\/td>\n<td>7535.00<\/td>\n<\/tr>\n<tr>\n<td>ci-3.0<\/td>\n<td>2943.55<\/td>\n<td>4116.31<\/td>\n<td>4998.05<\/td>\n<\/tr>\n<tr>\n<td>slim-3.0<\/td>\n<td>2074.59<\/td>\n<td>3143.94<\/td>\n<td>3681.00<\/td>\n<\/tr>\n<tr>\n<td>yii-2.0<\/td>\n<td>1256.31<\/td>\n<td>2276.37<\/td>\n<td>2664.61<\/td>\n<\/tr>\n<tr>\n<td>silex-1.3<\/td>\n<td>1401.92<\/td>\n<td>2263.90<\/td>\n<td>2576.22<\/td>\n<\/tr>\n<tr>\n<td>lumen-5.1<\/td>\n<td>1316.46<\/td>\n<td>2384.24<\/td>\n<td>2741.81<\/td>\n<\/tr>\n<tr>\n<td>ze-1.0<\/td>\n<td>1181.14<\/td>\n<td>1989.99<\/td>\n<td>1741.81<\/td>\n<\/tr>\n<tr>\n<td>phpixie-3.2<\/td>\n<td>898.63<\/td>\n<td>1677.15<\/td>\n<td>1896.23<\/td>\n<\/tr>\n<tr>\n<td>fuel-1.8<\/td>\n<td>1044.77<\/td>\n<td>1646.67<\/td>\n<td>1770.13<\/td>\n<\/tr>\n<tr>\n<td>bluz-7.3.1<\/td>\n<td> \u2014 *<\/td>\n<td>1774.00<\/td>\n<td>1890.00<\/td>\n<\/tr>\n<tr>\n<td>zf-2.5<\/td>\n<td>198.66<\/td>\n<td>623.71<\/td>\n<td>739.12<\/td>\n<\/tr>\n<tr>\n<td>zf-3.0<\/td>\n<td>447.88<\/td>\n<td>1012.57<\/td>\n<td>1197.26<\/td>\n<\/tr>\n<tr>\n<td>symfony-2.7<\/td>\n<td>360.03<\/td>\n<td>873.40<\/td>\n<td>989.57<\/td>\n<\/tr>\n<tr>\n<td>symfony-3.0<\/td>\n<td>372.19<\/td>\n<td>853.51<\/td>\n<td>1022.28<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.3<\/td>\n<td>258.62<\/td>\n<td>346.25<\/td>\n<td>625.99<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.4<\/td>\n<td>219.82<\/td>\n<td>413.49<\/td>\n<td>600.42<\/td>\n<\/tr>\n<\/table>\n<p>  * \u2014 bluz-7.3.1 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 php 5.6<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 PHP:<\/p>\n<p>  PHP5.6:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/0ed\/20f\/f2d\/0ed20ff2d7e743bdb92a3c04c38f3e3f.png\"\/><\/p>\n<p>  PHP7.0:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/a60\/25a\/6b1\/a6025a6b186f430baba8a43db1464ac8.png\"\/><\/p>\n<p>  PHP7.1:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/302\/859\/233\/30285923359f48a896137370cb8d0f11.png\"\/><\/p>\n<p>  \u0421\u0432\u043e\u0434\u043d\u0430\u044f \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 (\u043f\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c):<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/6a5\/e4a\/45a\/6a5e4a45a524491a991bc253f17b132d.png\"\/><\/p>\n<h3>\u0417\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c (peak memory) <\/h3>\n<p>  \u042d\u0442\u0430 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430 (\u0432 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u0430\u0445) \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u043e\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0434 \u043d\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0438. \u0427\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0434\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0442\u0435\u043c \u043b\u0443\u0447\u0448\u0435 \u0434\u043b\u044f \u043d\u0430\u0441 \u0438 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430:  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th>php 5.6<\/th>\n<th>php 7.0<\/th>\n<th>php 7.1<\/th>\n<\/tr>\n<tr>\n<td>phalcon-3.1.2<\/td>\n<td>0.27<\/td>\n<td>0.38<\/td>\n<td>0.37<\/td>\n<\/tr>\n<tr>\n<td>ci-3.0<\/td>\n<td>0.42<\/td>\n<td>0.38<\/td>\n<td>0.38<\/td>\n<\/tr>\n<tr>\n<td>slim-3.0<\/td>\n<td>0.61<\/td>\n<td>0.55<\/td>\n<td>0.55<\/td>\n<\/tr>\n<tr>\n<td>yii-2.0<\/td>\n<td>1.31<\/td>\n<td>0.91<\/td>\n<td>0.91<\/td>\n<\/tr>\n<tr>\n<td>silex-1.3<\/td>\n<td>0.74<\/td>\n<td>0.65<\/td>\n<td>0.65<\/td>\n<\/tr>\n<tr>\n<td>lumen-5.1<\/td>\n<td>0.80<\/td>\n<td>0.63<\/td>\n<td>0.63<\/td>\n<\/tr>\n<tr>\n<td>ze-1.0<\/td>\n<td>0.79<\/td>\n<td>0.56<\/td>\n<td>0.56<\/td>\n<\/tr>\n<tr>\n<td>phpixie-3.2<\/td>\n<td>1.22<\/td>\n<td>0.82<\/td>\n<td>0.82<\/td>\n<\/tr>\n<tr>\n<td>fuel-1.8<\/td>\n<td>0.7<\/td>\n<td>0.6<\/td>\n<td>0.6<\/td>\n<\/tr>\n<tr>\n<td>bluz-7.3.1<\/td>\n<td> \u2014 *<\/td>\n<td>0.69<\/td>\n<td>0.69<\/td>\n<\/tr>\n<tr>\n<td>zf-2.5<\/td>\n<td>3.06<\/td>\n<td>1.34<\/td>\n<td>1.34<\/td>\n<\/tr>\n<tr>\n<td>zf-3.0<\/td>\n<td>2.12<\/td>\n<td>1.09<\/td>\n<td>1.08<\/td>\n<\/tr>\n<tr>\n<td>symfony-2.7<\/td>\n<td>3.11<\/td>\n<td>1.41<\/td>\n<td>1.42<\/td>\n<\/tr>\n<tr>\n<td>symfony-3.0<\/td>\n<td>2.86<\/td>\n<td>1.30<\/td>\n<td>1.32<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.3<\/td>\n<td>2.91<\/td>\n<td>2.04<\/td>\n<td>2.04<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.4<\/td>\n<td>3.04<\/td>\n<td>1.45<\/td>\n<td>1.49<\/td>\n<\/tr>\n<\/table>\n<p>  * \u2014 bluz-7.3.1 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 php 5.6<\/p>\n<p>  PHP 5.6:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/e59\/ee9\/d72\/e59ee9d724a9419faed85c1bd6c5fb05.png\"\/><\/p>\n<p>  PHP 7.0:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/572\/e30\/623\/572e306237ba44d6ad109d8f7ac3cebd.png\"\/><\/p>\n<p>  PHP 7.1:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/39c\/0d9\/17c\/39c0d917cc174fef9726e0b34ee6e344.png\"\/><\/p>\n<p>  \u0421\u0432\u043e\u0434\u043d\u0430\u044f \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 (\u043f\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c):<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/cfd\/03e\/a4c\/cfd03ea4c44740e8b74bbf450ef1d07b.png\"\/><\/p>\n<h3>\u0412\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <\/h3>\n<p>  <\/p>\n<blockquote><p>\u0412\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u2014 \u0432\u0440\u0435\u043c\u044f, \u0437\u0430\u0442\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u043e\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0418\u0437\u043c\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043e \u0432\u044b\u0434\u0430\u0447\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439. <\/p><\/blockquote>\n<p>  \u041c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043e\u043d \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442. \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0436\u0438\u0434\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. <b><i>\u0427\u0435\u043c \u043d\u0438\u0436\u0435 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0442\u0435\u043c \u043b\u0443\u0447\u0448\u0435 \u0434\u043b\u044f \u043d\u0430\u0441<\/i><\/b>, \u0434\u0430 \u0438 \u0434\u043b\u044f \u043d\u0435\u0440\u0432\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0412\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043e \u0432 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445 (ms):  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th>php 5.6<\/th>\n<th>php 7.0<\/th>\n<th>php 7.1<\/th>\n<\/tr>\n<tr>\n<td>phalcon-3.1.2<\/td>\n<td>1.300<\/td>\n<td>1.470<\/td>\n<td>1.080<\/td>\n<\/tr>\n<tr>\n<td>ci-3.0<\/td>\n<td>0.996<\/td>\n<td>0.818<\/td>\n<td>1.007<\/td>\n<\/tr>\n<tr>\n<td>slim-3.0<\/td>\n<td>1.530<\/td>\n<td>1.228<\/td>\n<td>0.662<\/td>\n<\/tr>\n<tr>\n<td>yii-2.0<\/td>\n<td>1.478<\/td>\n<td>1.410<\/td>\n<td>1.639<\/td>\n<\/tr>\n<tr>\n<td>silex-1.3<\/td>\n<td>4.657<\/td>\n<td>1.625<\/td>\n<td>2.681<\/td>\n<\/tr>\n<tr>\n<td>lumen-5.1<\/td>\n<td>2.121<\/td>\n<td>1.829<\/td>\n<td>1.228<\/td>\n<\/tr>\n<tr>\n<td>ze-1.0<\/td>\n<td>2.629<\/td>\n<td>2.069<\/td>\n<td>1.528<\/td>\n<\/tr>\n<tr>\n<td>phpixie-3.2<\/td>\n<td>9.329<\/td>\n<td>4.757<\/td>\n<td>1.911<\/td>\n<\/tr>\n<tr>\n<td>fuel-1.8<\/td>\n<td>3.283<\/td>\n<td>2.684<\/td>\n<td>1.425<\/td>\n<\/tr>\n<tr>\n<td>bluz-7.3.1<\/td>\n<td> \u2014 *<\/td>\n<td>1.619<\/td>\n<td>1.921<\/td>\n<\/tr>\n<tr>\n<td>zf-2.5<\/td>\n<td>22.042<\/td>\n<td>5.011<\/td>\n<td>3.998<\/td>\n<\/tr>\n<tr>\n<td>zf-3.0<\/td>\n<td>12.680<\/td>\n<td>2.506<\/td>\n<td>2.989<\/td>\n<\/tr>\n<tr>\n<td>symfony-2.7<\/td>\n<td>6.529<\/td>\n<td>3.902<\/td>\n<td>2.384<\/td>\n<\/tr>\n<tr>\n<td>symfony-3.0<\/td>\n<td>9.335<\/td>\n<td>3.987<\/td>\n<td>2.820<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.3<\/td>\n<td>19.885<\/td>\n<td>4.840<\/td>\n<td>2.622<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.4<\/td>\n<td>19.561<\/td>\n<td>4.758<\/td>\n<td>3.940<\/td>\n<\/tr>\n<\/table>\n<p>  PHP 5.6:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/b24\/1c3\/9a9\/b241c39a95284a19a2a9e481a124b94b.png\"\/><\/p>\n<p>  PHP 7.0:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/b09\/d87\/bbe\/b09d87bbec124e72b9ee52a3f1cfb3b7.png\"\/><\/p>\n<p>  PHP 7.1:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/f51\/436\/5ca\/f514365cab374ce397401f8ce8cd5210.png\"\/><\/p>\n<p>  \u0421\u0432\u043e\u0434\u043d\u0430\u044f \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 (\u043f\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c):<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/431\/64d\/3a8\/43164d3a8062473fb7b024bcc12a45fd.png\"\/><\/p>\n<h3>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/h3>\n<p>  \u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0430\u044f \u0437\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 \u00ab\u0442\u043e\u0447\u043a\u0438 \u0432\u0445\u043e\u0434\u0430\u00bb \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430. \u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0442\u0440\u0430\u0442\u0438\u0442 \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, <b><i>\u0447\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0444\u0430\u0439\u043b\u043e\u0432, \u0442\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u0435\u0435<\/i><\/b> \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0430\u0437\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043a\u044d\u0448\u0435\u043c, \u0447\u0442\u043e \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443:  <\/p>\n<table>\n<tr>\n<td>phalcon-3.1.2<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>ci-3.0<\/td>\n<td>26<\/td>\n<\/tr>\n<tr>\n<td>slim-3.0<\/td>\n<td>53<\/td>\n<\/tr>\n<tr>\n<td>yii-2.0<\/td>\n<td>46<\/td>\n<\/tr>\n<tr>\n<td>silex-1.3<\/td>\n<td>63<\/td>\n<\/tr>\n<tr>\n<td>lumen-5.1<\/td>\n<td>37<\/td>\n<\/tr>\n<tr>\n<td>ze-1.0<\/td>\n<td>68<\/td>\n<\/tr>\n<tr>\n<td>phpixie-3.2<\/td>\n<td>163<\/td>\n<\/tr>\n<tr>\n<td>fuel-1.8<\/td>\n<td>53<\/td>\n<\/tr>\n<tr>\n<td>bluz-7.3.1<\/td>\n<td>95<\/td>\n<\/tr>\n<tr>\n<td>zf-2.5<\/td>\n<td>222<\/td>\n<\/tr>\n<tr>\n<td>zf-3.0<\/td>\n<td>188<\/td>\n<\/tr>\n<tr>\n<td>symfony-2.7<\/td>\n<td>110<\/td>\n<\/tr>\n<tr>\n<td>symfony-3.0<\/td>\n<td>192<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.3<\/td>\n<td>38<\/td>\n<\/tr>\n<tr>\n<td>laravel-5.4<\/td>\n<td>176<\/td>\n<\/tr>\n<\/table>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/f91\/b56\/bfd\/f91b56bfd7eb40cea0694f8411a9aeec.png\"\/><\/p>\n<p>  \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 Laravel 5.3 \u0438 Laravel 5.4 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0439 \u0438 \u0434\u0430\u0442\u044c \u043f\u043e\u0432\u043e\u0434 \u043a \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f\u043c, \u0441\u043f\u043e\u0440\u0430\u043c \u0438 \u0442.\u043f. \u0421\u043f\u0435\u0448\u0438\u043c \u0440\u0430\u0437\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e. \u041a\u0430\u043a \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b<\/p>\n<p>  <code>php artisan optimize --force<\/code><\/p>\n<p>  \u0432 Laravel 5.3 \u043c\u043e\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b compiled.php, \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0441\u043e\u0431\u0440\u0430\u0432 \u0438\u0445 \u0432 \u043e\u0434\u0438\u043d. \u041d\u043e \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e \u00ab\u043d\u043e\u00bb: \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432 Laravel 5.4 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0442. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0440\u0435\u0448\u0438\u043b \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u044d\u0442\u0443 \u0444\u0438\u0447\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b (<a href=\"https:\/\/github.com\/laravel\/framework\/pull\/17003\">https:\/\/github.com\/laravel\/framework\/pull\/17003<\/a>), \u0447\u0442\u043e \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c opcache.<\/p>\n<h2>\u0421\u0442\u043e\u0438\u0442 \u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f?<\/h2>\n<p>  \u0421\u0432\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0432\u0435\u0440\u0441\u0438\u044f\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442, \u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 (\u0438\u043b\u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u044b\u0431\u043e\u0440\u0435) \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e PHP. <\/p>\n<p>  \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0441 PHP 5.6 \u043d\u0430 PHP 7.0 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0447\u0442\u0438 +90%, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b +33% \u0434\u043b\u044f Laravel 5.3, \u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u2014 &gt;200% \u0434\u043b\u044f Zend Framework 2.5.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 7.0 \u043d\u0430 7.1 \u0443\u0436\u0435 \u043d\u0435 \u0442\u0430\u043a \u0448\u043e\u043a\u0438\u0440\u0443\u0435\u0442, \u043d\u043e \u0432\u0441\u0451 \u0436\u0435 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u0434\u0430\u0451\u0442 \u043f\u043e\u0447\u0442\u0438 20% \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0421\u0432\u0435\u0434\u044f \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 PHP, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u0435 \u00ab\u043c\u0430\u0442\u0440\u0430\u0441\u044b\u00bb:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/ee5\/6ed\/e41\/ee56ede41a3a45c4893ac9b066c88fed.png\"\/><br \/>  <b>\u0417\u0430\u0431\u0430\u0432\u043d\u044b\u0439 \u0444\u0430\u043a\u0442<\/b>: Laravel 5.3 \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 PHP 5.6 \u043d\u0430 PHP 7.0, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043f\u0440\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 7.0 \u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044e 7.1, \u0438 \u043a\u0430\u043a \u0438\u0442\u043e\u0433 \u2014 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c Laravel 5.3 \u0438 5.4 \u043d\u0430 PHP 7.1 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430.<\/p>\n<p>  \u041f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u0442\u043e\u0436\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 PHP 5.6 \u043d\u0430 PHP 7.0 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0442\u044c \u043d\u0430 30% \u043c\u0435\u043d\u044c\u0448\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u0438. <\/p>\n<p>  \u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 7.0 \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 7.1 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0434\u0430\u0451\u0442 \u043f\u0440\u0438\u0440\u043e\u0441\u0442\u0430, \u0430 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 Symfony \u0438 Laravel \u0442\u0430\u043a \u0438 \u0432\u043e\u0432\u0441\u0435 \u0443\u0445\u043e\u0434\u0438\u043c \u0432 \u00ab\u043c\u0438\u043d\u0443\u0441\u00bb, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u00ab\u043a\u0443\u0448\u0430\u0442\u044c\u00bb.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/27e\/720\/18e\/27e72018e5ae42c09b78b769cb0c3078.png\"\/><br \/>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0435\u0449\u0451 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0438 \u0434\u0430, \u0442\u0443\u0442 \u0442\u043e\u0436\u0435 \u0432\u0441\u0451 \u043e\u0442\u043b\u0438\u0447\u043d\u043e:<\/p>\n<ul>\n<li>\u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u0441 PHP 5.6 \u043d\u0430 PHP 7.0 \u043f\u043e\u0434\u0430\u0440\u0438\u0442 \u0432\u0430\u043c \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043d\u0430 44%.<\/li>\n<li>\u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u0441 PHP 7.0 \u043d\u0430 PHP 7.1 \u043f\u043e\u0434\u0430\u0440\u0438\u0442 \u0432\u0430\u043c \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u0435\u0449\u0451 \u043d\u0430 14%.<\/li>\n<\/ul>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/e33\/78e\/a4a\/e3378ea4a717481a9dd8b79d588ab76b.png\"\/>  <\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435. \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 ab \u2014 \u0441 \u0447\u0435\u043c \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c<\/h2>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/305\/a25\/20b\/305a2520baf64ec9b37cc784d159ea34.png\"\/><\/p>\n<p>  \u00ab\u0410 \u0447\u0442\u043e \u0441\u043e slim \u0438 phpixie\u00bb \u2014 \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u043f\u043e\u0434\u0442\u043e\u043b\u043a\u043d\u0443\u043b \u043d\u0430 \u0440\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b ab \u043f\u0440\u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438 \u0441 \u044d\u0442\u0438\u043c\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c\u0438. <\/p>\n<p>  \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0442\u0435\u0441\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f Slim-3.0:<\/p>\n<p>  <code>ab -c 10 -t 3 http:\/\/localhost\/php-framework-benchmark\/slim-3.0\/index.php\/hello\/index<\/p>\n<p>  Concurrency Level: 10<br \/>  Time taken for tests: 5.005 seconds<br \/>  Complete requests: 2<br \/>  Failed requests: 0<br \/>  Total transferred: 1800 bytes<br \/>  HTML transferred: 330 bytes<br \/>  Requests per second: 0.40 [#\/sec] (mean)<br \/>  Time per request: 25024.485 [ms] (mean)<br \/>  Time per request: 2502.448 [ms] (mean, across all concurrent requests)<br \/>  Transfer rate: 0.35 [Kbytes\/sec] received<\/code><\/p>\n<p>  \u0427\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u2014 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0432\u0441\u0435\u0433\u043e 0.4 (!)<\/p>\n<p>  <code>ab -c 10 -t 3 http:\/\/localhost\/php-framework-benchmark\/laravel-5.4\/public\/index.php\/hello\/index<\/p>\n<p>  Concurrency Level: 10<br \/>  Time taken for tests: 3.004 seconds<br \/>  Complete requests: 1961<br \/>  Failed requests: 0<br \/>  Total transferred: 1995682 bytes<br \/>  HTML transferred: 66708 bytes<br \/>  Requests per second: 652.86 [#\/sec] (mean)<br \/>  Time per request: 15.317 [ms] (mean)<br \/>  Time per request: 1.532 [ms] (mean, across all concurrent requests)<br \/>  Transfer rate: 648.83 [Kbytes\/sec] received<\/code><\/p>\n<p>  \u0414\u0435\u043b\u043e \u0431\u044b\u043b\u043e \u0432 Keep Alive \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0442\u0443\u0442.<\/p>\n<blockquote><p>\u201cWhen you make requests with \u00abConnection: keep-alive\u00bb the subsequent request to the server will use the same TCP connection. This is called HTTP persistent connection. This helps in reduction CPU load on server side and improves latency\/response time.<\/p>\n<p>  If a request is made with \u00abConnection: close\u00bb this indicates that once the request has been made the server needs to close the connection. And so for each request a new TCP connection will be established.<\/p>\n<p>  By default HTTP 1.1 client\/server uses keep-alive where as HTTP 1.0 client\/server don\u2019t support keep-alive by default.\u201d <\/p><\/blockquote>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u0435\u0441\u0442 \u0434\u043b\u044f Slim \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p>  <code>ab -H 'Connection: close' -c 10 -t 3 http:\/\/localhost\/php-framework-benchmark\/slim-3.0\/index.php\/hello\/index<\/p>\n<p>  Concurrency Level: 10<br \/>  Time taken for tests: 3.000 seconds<br \/>  Complete requests: 10709<br \/>  Failed requests: 0<br \/>  Total transferred: 2131091 bytes<br \/>  HTML transferred: 353397 bytes<br \/>  Requests per second: 3569.53 [#\/sec] (mean)<br \/>  Time per request: 2.801 [ms] (mean)<br \/>  Time per request: 0.280 [ms] (mean, across all concurrent requests)<br \/>  Transfer rate: 693.69 [Kbytes\/sec] received<\/code><\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041a\u0430\u043a \u0438 \u0441\u0442\u043e\u0438\u043b\u043e \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u0431\u0435\u0437\u043e\u0433\u043e\u0432\u043e\u0440\u043e\u0447\u043d\u044b\u043c \u043b\u0438\u0434\u0435\u0440\u043e\u043c \u043f\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 (\u043d\u043e \u043d\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438) \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f Phalcon. \u0412\u0442\u043e\u0440\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u2014 \u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u0441\u0440\u0435\u0434\u0438 PHP-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 (\u0430 \u043d\u0435 C, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 Phalcon) \u2014 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 CodeIgniter 3!<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0431\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0443 \u0441\u0432\u043e\u0451 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0438 \u043b\u0435\u0433\u043a\u0438\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u043d\u0451\u043c \u0447\u0442\u043e-\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0435 \u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 REST API, \u0442\u043e, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438 \u043f\u0440\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430. \u0418 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445, \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 \u043f\u043e\u0432\u043b\u0435\u0447\u0451\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0435 \u0438\u0437\u0434\u0435\u0440\u0436\u043a\u0438 \u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u0434\u0430\u0436\u0435 \u0434\u043b\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u0434 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439.<\/p>\n<p>  \u042d\u0442\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\/\u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c\/\u0443\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u044f\u0437\u044b\u043a\u0430 \u0420\u041d\u0420 \u0432\u0435\u0440\u0441\u0438\u0439 7.0 \u0438 7.1 \u0432 \u0432\u0430\u0448\u0435\u043c \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0438 \u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0434\u043e\u043d\u0435\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043e\u0437\u0440\u043e\u0441\u043b\u0430.<\/p>\n<blockquote><p>\u0420\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430 \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0435\u0439 \u043a\u043e\u0434\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430 \u2014 Abstract Syntax Tree (AST), \u2014 \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u043c\u0443 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u043f\u0430\u043c\u044f\u0442\u0438. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u0430\u043c\u0438 \u043f\u043e \u0441\u0435\u0431\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0435\u0449\u0430\u044e\u0449\u0435: \u0442\u0435\u0441\u0442\u044b, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442, \u0447\u0442\u043e PHP 7 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u0432\u0434\u0432\u043e\u0435 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 PHP 5.6, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0430 50% \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 PHP 7 \u0441\u0438\u043b\u044c\u043d\u044b\u043c \u0441\u043e\u043f\u0435\u0440\u043d\u0438\u043a\u043e\u043c \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 HHVM JIT \u043e\u0442 Facebook.<\/p><\/blockquote>\n<p>  \u0422\u0435\u0441\u0442\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\u0442 \u0438 \u0432\u0434\u0432\u043e\u0435 \u0443\u0441\u043a\u043e\u0440\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0420\u041d\u04207, \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438.<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/329718\/\"> https:\/\/habrahabr.ru\/post\/329718\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/309\/6ba\/20b\/3096ba20b4834b3e9716d53ee2a9cb03.jpg\" \/><\/div>\n<p>  \u041f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0434\u0430\u0447\u0430 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a, \u043e\u0442 \u00ab\u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u0441\u0451 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c\u00bb \u0434\u043e \u00ab\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u043b\u0438 \u043d\u0430\u043c \u044d\u0442\u0430 \u0444\u0438\u0447\u0430?\u00bb. \u0418 \u0442\u0430\u043a \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437. \u0418\u043c\u0435\u043d\u043d\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043c\u043e\u0437\u0433\u043e\u0432\u043e\u0433\u043e \u0448\u0442\u0443\u0440\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u043d\u0430\u0431\u043e\u0440 \u0444\u0438\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432 \u043d\u0435\u043c \u0438\u043b\u0438 \u0432 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0441 \u043d\u0438\u043c \u043c\u043e\u0434\u0443\u043b\u044f\u0445. <\/p>\n<p>  \u041d\u043e \u043a\u0430\u043a\u043e\u0439 \u0436\u0435 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u043b\u0443\u0447\u0448\u0435, \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435? <\/p>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u044f\u0441\u043d\u0438\u0442\u044c \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <a href=\"https:\/\/systemsarchitect.net\/2013\/04\/23\/performance-benchmark-of-popular-php-frameworks\/\">\u0441\u0442\u0430\u0442\u044c\u0435 <\/a>Lukasz Kujawa \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 PHP \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432. \u041e\u0434\u043d\u043e \u00ab\u043d\u043e\u00bb \u2014 \u0441\u0442\u0430\u0442\u044c\u044f \u0437\u0430 2013 \u0433\u043e\u0434. \u0410 \u0432\u0435\u0434\u044c \u0432\u0440\u0435\u043c\u044f \u0438\u0434\u0451\u0442\u2026 \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0451, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432. <\/p>\n<p>  \u0414\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0431\u044b\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d <a href=\"https:\/\/github.com\/kenjis\/php-framework-benchmark\">PHP Framework Benchmark<\/a>. \u041e\u043d \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 (\u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435), \u043d\u043e \u0430\u0432\u0442\u043e\u0440 \u043d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043d\u043e\u0432\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0447\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e, \u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0441\u043c\u0435\u0440\u0442\u0435\u043b\u044c\u043d\u043e. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e. \u2028<\/p>\n<p>  \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0442\u0430\u043a\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u0443\u0442\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043d\u043e\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 PHP. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0430 \u0420\u041d\u0420 5.6\/7.0\/7.1  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-287049","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=287049"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287049\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}