{"id":324782,"date":"2021-06-11T15:00:31","date_gmt":"2021-06-11T15:00:31","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=324782"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=324782","title":{"rendered":"\u041a\u0430\u043a \u044f \u0443\u0441\u043a\u043e\u0440\u0438\u043b \u0434\u0432\u0438\u0436\u043e\u043a \u043d\u0430 13%"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/562226\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/da\/uw\/5u\/dauw5usarzybttobvmsujidtf5u.png\"><\/div>\n<p><\/a> <br \/>  \u041d\u0435\u0434\u0430\u0432\u043d\u044f\u044f \u0441\u0442\u0430\u0442\u044c\u044f <a href=\"https:\/\/randomascii.wordpress.com\/2021\/02\/16\/arranging-invisible-icons-in-quadratic-time\/\">\u043e \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432<\/a> \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0430 \u043c\u0435\u043d\u044f \u043d\u0430 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044e \u00ab\u0433\u043e\u0440\u044f\u0447\u0435\u0439\u00bb \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u044f \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b, \u0438 \u043a \u043a\u0430\u043a\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u043b\u043e \u2014 \u044f \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443. \u0417\u0430\u0432\u0430\u0440\u0438 \u0432 \u0447\u0430\u0448\u043a\u0435 \u041f\u0443 \u042d\u0440, \u043e\u0442\u043a\u0438\u043d\u044c\u0441\u044f \u043d\u0430 \u0441\u043f\u0438\u043d\u043a\u0443 \u043a\u0440\u0435\u0441\u043b\u0430:<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d\u0412\u0441\u0451 \u2014 JavaScript<\/font><\/h2>\n<p>  <\/p>\n<blockquote><p> \u2026\u0432 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u043d\u0435\u0442, \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0435 \u0441\u0447\u0430\u0441\u0442\u044c\u044f. \u0418\u043b\u0438, \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0435.<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>\u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u044d\u0442\u043e\u0433\u043e <s>\u043a\u043e\u0434\u0430<\/s> \u0433\u043e\u0434\u0430 (\u0438\u043b\u0438 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e) \u0441\u0440\u0435\u0434\u0438 \u0434\u0432\u0438\u0436\u043a\u043e\u0432 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 <a href=\"https:\/\/github.com\/coderaiser\/putout\">putout<\/a> \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0438\u0433\u0440\u043e\u043a: \u0434<a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/v17.5.1\/packages\/engine-processor\">\u0432\u0438\u0436\u043e\u043a \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440<\/a>. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c, \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e <code>js(x)<\/code>,<code> ts(x)<\/code> \u0438 <code>flow<\/code> \u0444\u0430\u0439\u043b\u044b, \u043d\u043e \u0438 <code>markdown<\/code>, <code>yaml<\/code>, <code>ignore<\/code>, <code>json<\/code>, \u0438 \u043b\u044e\u0431\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u0432\u0438\u0436\u043a\u0430.<\/p>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0434\u043e\u0441\u0442\u0430\u0435\u0442 <code>JavaScript<\/code> -\u043a\u043e\u0434 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432, \u0438 \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 <a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/v17.5.1\/packages\/processor-markdown\">\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 Markdown<\/a>.<br \/>   \u041b\u0438\u0431\u043e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 <code>json<\/code>, <code>yaml<\/code> \u0438 <code>ignore<\/code> \u0432 <code>JavaScript<\/code> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a <a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/v17.5.1\/packages\/engine-runner\">\u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438<\/a>).<\/p>\n<p>  <b><font color=\"#3AC1EF\">\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/font><\/b><\/p>\n<ul>\n<li><code>process(rawSource, {fix}) -&gt; [processedSource, processedPlaces]<\/code> \u2014 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043b\u0438\u0431\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0444\u043b\u0430\u0433\u043e\u043c <code>fix<\/code>;<\/li>\n<li><code>preProcess(processedSource) -&gt; preProcessedList<\/code> \u2014 \u0438\u0437\u044b\u043c\u0430\u0435\u0442 <code>JavaScript<\/code> \u0438\u0437 <code>processedSource<\/code> \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f;<\/li>\n<li><code>postProcess(processedSource, preProcessedList) -&gt; processedSource<\/code> \u2014 \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u0435\u0442 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 code&gt;JavaScript<\/li>\n<\/ul>\n<p>  <b><font color=\"#3AC1EF\">\u0421\u0435\u0440\u0434\u0446\u0435 Putout \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 4-\u0445 \u0447\u0430\u0441\u0442\u0435\u0439(\u0434\u0432\u0438\u0436\u043a\u043e\u0432):<\/font><\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/master\/packages\/engine-parser\">\u041f\u0430\u0440\u0441\u0435\u0440<\/a> \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 <code>AST<\/code> \u0438 <code>AST<\/code> \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u0441\u0442\u0440\u043e\u043a\u0443; <\/li>\n<li><a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/master\/packages\/engine-loader\">\u0417\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a<\/a> \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u044b (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0434\u043b\u044f <code>Babel<\/code>), \u0438 \u043a\u043e\u0434\u043c\u043e\u0434\u044b <code>jscodeshift<\/code><\/li>\n<li><a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/master\/packages\/engine-loader\">\u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c<\/a> \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0432\u0438\u0434\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 (\u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0445 4);<\/li>\n<li><a href=\"https:\/\/github.com\/coderaiser\/putout\/tree\/master\/packages\/engine-processor\">\u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 <\/a>\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0442\u0440\u043e\u0438\u0446\u044b;<\/li>\n<\/ul>\n<p>  <b><font color=\"#3AC1EF\">\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/font><\/b><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/bea\/6ab\/b14\/bea6abb14129120551291b8d66b683e5.png\" alt=\"image\"><\/p>\n<h2><font color=\"#3AC1EF\">\u258d\u0418\u0449\u0435\u043c \u00ab\u0433\u043e\u0440\u044f\u0447\u0438\u0435\u00bb \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/font><\/h2>\n<p>  <\/p>\n<blockquote><p> \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u0441\u044f \u0432 \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c \u0437\u0430 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0443\u0441\u043f\u0435\u043b\u0438 \u0432\u044b\u0435\u0445\u0430\u0442\u044c.<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>\u0412 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%97%D0%B0%D0%BA%D0%BE%D0%BD_%D0%9F%D0%B0%D1%80%D0%B5%D1%82%D0%BE\">\u0437\u0430\u043a\u043e\u043d\u043e\u043c \u041f\u0430\u0440\u0435\u0442\u043e<\/a>: 20% \u0432\u0435\u0440\u043d\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0443\u0441\u0438\u043b\u0438\u0439 \u0434\u0430\u0434\u0443\u0442 \u043d\u0430\u043c 80% \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043d\u0430\u0439\u0442\u0438 \u0441\u0430\u043c\u044b\u0435 \u00ab\u0433\u043e\u0440\u044f\u0447\u0438\u0435\u00bb \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0438 \u0441 \u043d\u0438\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. <\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043c <code>isolate<\/code>-\u0444\u0430\u0439\u043b \u0432 <code>node v14<\/code> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u044e\u0447\u0430 <a href=\"https:\/\/nodejs.org\/en\/docs\/guides\/simple-profiling\/\">&#8212;prof<\/a>, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0438\u0437 \u043a\u043e\u0440\u043d\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f:<\/p>\n<pre><code class=\"javascript\">node --prof packages\/putout\/bin\/putout.mjs --fresh .<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u044e\u0447\u0430 <code>--prof-process<\/code>:<\/p>\n<pre><code class=\"javascript\"> node --prof-process isolate-0x1049e5000-86428-v8.log &gt; processed.txt<\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a <code>engine-processor<\/code> \u0432 <code>processed.txt<\/code> \u0437\u0430\u043c\u0435\u0447\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<pre><code class=\"javascript\">334   93.6%            LazyCompile: *module.exports.runProcessors \/Users\/coderaiser\/putout\/packages\/engine-processor\/lib\/processor.js:26:32<\/code><\/pre>\n<p>  \u0410\u0433\u0430, \u0434\u0432\u0438\u0436\u043e\u043a \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 334 \u0442\u0430\u043a\u0442\u0430 \u0438 93,6% \u0432\u044b\u0437\u043e\u0432\u043e\u0432, \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/p>\n<h2><font color=\"#3AC1EF\">\u258d\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e Big O<\/font><\/h2>\n<p>  <\/p>\n<blockquote><p> \u041f\u0440\u043e\u0448\u043b\u043e\u0435 \u2014 \u044d\u0442\u043e \u043b\u043e\u043a\u043e\u043c\u043e\u0442\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u043d\u0435\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u0431\u0443\u0434\u0443\u0449\u0435\u0435. \u0411\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0448\u043b\u043e\u0435, \u0432\u0434\u043e\u0431\u0430\u0432\u043e\u043a \u0447\u0443\u0436\u043e\u0435. \u0422\u044b \u0435\u0434\u0435\u0448\u044c \u0441\u043f\u0438\u043d\u043e\u0439 \u0432\u043f\u0435\u0440\u0451\u0434 \u0438 \u0432\u0438\u0434\u0438\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u0443\u0436\u0435 \u0438\u0441\u0447\u0435\u0437\u043b\u043e. \u0410 \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0439\u0442\u0438 \u0441 \u043f\u043e\u0435\u0437\u0434\u0430, \u043d\u0443\u0436\u0435\u043d \u0431\u0438\u043b\u0435\u0442. \u0422\u044b \u0434\u0435\u0440\u0436\u0438\u0448\u044c \u0435\u0433\u043e \u0432 \u0440\u0443\u043a\u0430\u0445, \u043d\u043e \u043a\u043e\u043c\u0443 \u0442\u044b \u0435\u0433\u043e \u043f\u0440\u0435\u0434\u044a\u044f\u0432\u0438\u0448\u044c?<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>\u0414\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>fn<\/code>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434 <code>data<\/code>, \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 <code>result<\/code>:<\/p>\n<pre><code class=\"javascript\">const result = fn(data);<\/code><\/pre>\n<p>  <a href=\"https:\/\/proglib.io\/p\/asymptotic-complexity\">Big O<\/a> \u0434\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0430\u043c\u043e\u043c \u043f\u0435\u0441\u0441\u0438\u043c\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439.<br \/>  \u0412\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <code>fn<\/code> \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>complexity<\/code>, \u043e\u043d\u0430 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434 <code>operationsCount<\/code>:<\/p>\n<pre><code class=\"javascript\">const time = complexity(operationsCount);<\/code><\/pre>\n<p>  \u0412\u0440\u0435\u043c\u044f \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0431\u0443\u043a\u0432\u043e\u0439 <code>n<\/code>, \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0447\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0447\u0438\u0441\u043b\u0430\u043c\u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0445 \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0432\u0430\u0436\u043d\u043e (\u043e\u0442\u0441\u0435\u043a\u0430\u0435\u043c <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%91%D1%80%D0%B8%D1%82%D0%B2%D0%B0_%D0%9E%D0%BA%D0%BA%D0%B0%D0%BC%D0%B0\">\u0411\u0440\u0438\u0442\u0432\u043e\u0439 \u041e\u043a\u043a\u0430\u043c\u0430<\/a>): \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u2014 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f, \u043d\u0430 \u0441\u043c\u0435\u043d\u0443 \u0441\u043b\u0430\u0431\u044b\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c \u2014 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043d\u043e\u0432\u044b\u0435, \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435. \u0427\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0442\u0430\u043a \u044d\u0442\u043e: <b><font color=\"#3AC1EF\">\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432<\/font><\/b>. \u0418 \u043e\u043d\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442! \u042d\u0442\u043e <i>Big O<\/i>, \u0438 \u0432\u043e\u0442 \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b:<\/p>\n<ul>\n<li><b><font color=\"#3AC1EF\">O(1)<\/font><\/b> \u2014 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c, \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439. \u041a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0432\u0430\u0436\u043d\u043e, \u0432\u0430\u0436\u043d\u043e \u0447\u0442\u043e \u0431\u044b \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0431\u044b\u043b\u0430 \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0439:\n<pre><code class=\"javascript\">time = complexity(2 + n); O(1);  const fn = (name) =&gt; {     const str = `hello ${name}`;     return str; }<\/code><\/pre>\n<p>  <\/li>\n<li><b><font color=\"#3AC1EF\">O(n)<\/font><\/b> \u2014 \u043b\u0438\u043d\u0435\u0439\u043d\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c, \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0432 \u043f\u043b\u0430\u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u0432 \u043e\u0431\u0445\u043e\u0434\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0414\u043b\u044f 10 \u0444\u0430\u0439\u043b\u043e\u0432, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f 100 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439:\n<pre><code class=\"javascript\">time = complexity(n * 10); O(n);  const fn = (files) =&gt; {     const results = [];      for (const file of files) {        results.push(processFile(file));     }      return results; }<\/code><\/pre>\n<p>  <\/li>\n<li><b><font color=\"#3AC1EF\">O(n^2)<\/font><\/b> \u2014 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c, \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0440\u0430\u0441\u0442\u0435\u0442 \u0447\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0446\u0438\u043a\u043b\u043e\u0432 \u043d\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432\u0430\u0436\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u0435\u043c \u043e\u043a\u0440\u0443\u0433\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0434\u043e <code>n<\/code>. \u0415\u0441\u043b\u0438 <code>runners<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 5 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0430 <code>run<\/code> \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u043e 10 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u043b\u0443\u0447\u0438\u043c:\n<pre><code class=\"javascript\">time = complexity(5 * 10); O(n * n);  function process() {     const results = [];      for (const run of runners) {         const files = run();          for (const file of files) {             results.push(processFile(file));         }       return results; }<\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<h2><font color=\"#3AC1EF\">\u258d\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c<\/font><\/h2>\n<p>  <\/p>\n<blockquote><p> \u2014 \u0417\u0430\u043f\u043e\u043c\u043d\u0438, \u043a\u043e\u0433\u0434\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442 \u0441\u043b\u044b\u0448\u0430\u0442\u044c \u0441\u0442\u0443\u043a \u043a\u043e\u043b\u0435\u0441 \u0438 \u0441\u043e\u0433\u043b\u0430\u0441\u0435\u043d \u0435\u0445\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u043e\u043d \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u043e\u043c.<br \/>   \u2014 \u041d\u0430\u0441 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u044b \u043c\u044b \u0438\u043b\u0438 \u043d\u0435\u0442. \u041c\u044b \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u043d\u0438\u043c, \u043a\u0430\u043a \u043c\u044b \u0441\u044e\u0434\u0430 \u043f\u043e\u043f\u0430\u043b\u0438. \u041c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0434\u0435\u043c, \u0438 \u0432\u0441\u0435. \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f.<br \/>  \u2014 \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u0432 \u0436\u0438\u0437\u043d\u0438. \u0415\u0445\u0430\u0442\u044c \u0432 \u043f\u043e\u0435\u0437\u0434\u0435 \u0438 \u043d\u0435 \u0431\u044b\u0442\u044c \u0435\u0433\u043e \u043f\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u043e\u043c.<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>\u0423\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 <a href=\"https:\/\/github.com\/coderaiser\/putout\/blob\/3196a1dfd195e9ca3584702ffa94d7c20e0f906a\/packages\/engine-processor\/lib\/processor.js#L26L93\">\u0414\u0432\u0438\u0436\u043a\u0430 \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432<\/a> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0446\u0438\u043a\u043b \u0432 \u0446\u0438\u043a\u043b\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u0438\u043c\u0435\u0435\u0442 <code>\u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c<\/code>, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">function process() {     const results = [];          for (const run of runners) {         const files = run();            for (const file of files) {             results.push(processFile(file));         }            return results; }<\/code><\/pre>\n<p>  \u0423\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 <a href=\"https:\/\/github.com\/coderaiser\/putout\/blob\/07ced670d1ff03c768844b114f63e70117b15be3\/packages\/engine-processor\/lib\/processor.js)\">\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/a> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0432\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0438\u043a\u043b\u0430, \u0438 \u0438\u043c\u0435\u0435\u0442 <code>\u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c<\/code>, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">function process() {     const results = [];        for (const run of runners) {         files.push(...run());     }          for (const file of files) {         results.push(processFile(file));     }      return results; }<\/code><\/pre>\n<p>  \u0410 \u0432 <a href=\"https:\/\/github.com\/coderaiser\/putout\/commit\/51fabeac0ec9afe694bac35bb114a73fb2efa193?branch=51fabeac0ec9afe694bac35bb114a73fb2efa193&amp;diff=split\">\u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c<\/a> \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435, \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441 \u0446\u0438\u043a\u043b\u0430\u043c\u0438 \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b, \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code class=\"javascript\">function process() {     const files = getFiles(runners);     const getResults = getResults(files);          return getResults; }  function getFiles(runners) {     const files = [];          for (const run of runners) {         files.push(...run());     }          return files; }  function getResults(files) {     const results = [];          for (const file of files) {         results.push(processFile(file));     }         return results; }<\/code><\/pre>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d\u0421\u043d\u0438\u043c\u0430\u0435\u043c \u0437\u0430\u043c\u0435\u0440\u044b<\/font><\/h2>\n<p>  <\/p>\n<blockquote><p> \u0412\u0435\u0441\u044c \u044d\u0442\u043e\u0442 \u043c\u0438\u0440 \u2014 \u043f\u043e\u043f\u0430\u0432\u0448\u0430\u044f \u0432 \u0442\u0435\u0431\u044f \u0436\u0451\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430, \u043f\u043e\u0435\u0437\u0434, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0442\u044b \u0435\u0434\u0435\u0448\u044c \u043a \u0440\u0430\u0437\u0440\u0443\u0448\u0435\u043d\u043d\u043e\u043c\u0443 \u043c\u043e\u0441\u0442\u0443.<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>\u0414\u043b\u044f \u0441\u043d\u044f\u0442\u0438\u044f \u0437\u0430\u043c\u0435\u0440\u043e\u0432 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <code>time<\/code>. \u042d\u0442\u043e \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u0442\u043e\u0447\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u0445 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u0441\u044f, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0432\u0440\u0435\u043c\u044f +- \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043d\u0430 \u043c\u0430\u043a\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u043d\u044c\u0448\u0435 \u0432 \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0447\u0435\u043c \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u043b\u0438\u043d\u0443\u043a\u0441\u0435, \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430\u043c\u0438, \u0443 \u0442\u0435\u0431\u044f \u0432\u0440\u0435\u043c\u044f \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u0441\u044f.<\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u0438\u0448\u0443 <code>putout<\/code> \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 (\u0443\u0436\u0435 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c) 1800 \u0444\u0430\u0439\u043b\u043e\u0432, \u0438 \u043f\u043e\u043b\u0442\u043e\u0440\u044b \u043c\u0438\u043d\u0443\u0442\u044b, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u0435\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f 3000 <a href=\"https:\/\/github.com\/coderaiser\/supertape\">\u0442\u0435\u0441\u0442\u043e\u0432<\/a> \u0437\u0430 15 \u0441\u0435\u043a\u0443\u043d\u0434, \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u044f\u0441\u043d\u043e: \u0435\u0441\u0442\u044c \u043a\u0443\u0434\u0430 \u0440\u0430\u0441\u0442\u0438! \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0442\u0435\u0433 `v17.5.0` \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0441\u0432\u0435\u0436\u0438\u0439 \u043b\u0438\u043d\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/habr.com\/en\/post\/308930\/\">redrun<\/a>:<\/p>\n<pre><code class=\"javascript\">git checkout v17.5.0 &amp;&amp; time redrun fresh:lint &gt; putout . --fresh  real\t1m32.712s user\t1m25.502s sys\t0m6.542s  git checkout master &amp;&amp; time redrun fresh:lint &gt; putout . --fresh  real\t1m20.898s user\t1m13.502s sys\t0m6.542s<\/code><\/pre>\n<p>  \u041d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438: \u043c\u0438\u043d\u0443\u0442\u0430 33 \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u0438 \u043c\u0438\u043d\u0443\u0442\u0430 20 \u0441\u0435\u043a\u0443\u043d\u0434 \u2014 \u0441\u0442\u0430\u043b\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430 13 \u0441\u0435\u043a\u0443\u043d\u0434, \u044d\u0442\u043e \u043e\u043a\u043e\u043b\u043e 12% \u043a \u043d\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0437\u0430\u043c\u0435\u0440 \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043e <a href=\"https:\/\/github.com\/coderaiser\/putout\/commit\/51fabeac0ec9afe694bac35bb114a73fb2efa193?branch=51fabeac0ec9afe694bac35bb114a73fb2efa193&amp;diff=split\">\u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430<\/a> \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u0441\u0435 13%.<\/p>\n<p>  \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0432 \u043f\u043e\u0438\u0441\u043a \u00ab\u0433\u043e\u0440\u044f\u0447\u0438\u0445\u00bb \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435 \u0447\u0438\u0441\u043b\u0430:<\/p>\n<pre><code class=\"javascript\">   73   54.9%            LazyCompile: *module.exports.runProcessors \/Users\/coderaiser\/putout\/packages\/engine-processor\/lib\/processor.js:26:32<\/code><\/pre>\n<p>  \u041e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0445 \u0442\u0430\u043a\u0442\u043e\u0432 \u0432 4 \u0440\u0430\u0437\u0430 \u043c\u0435\u043d\u044c\u0448\u0435, \u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u044b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u0438\u0441\u044c \u0441 93% \u0434\u043e 54%, \u0447\u0442\u043e \u0441\u0430\u043c\u043e \u043f\u043e \u0441\u0435\u0431\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u0435 \u043f\u043b\u043e\u0445\u043e. \u0411\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432 \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0444\u0430\u0439\u043b\u0435\u0440.<\/p>\n<h2><font color=\"#3AC1EF\">\u258d\u0414\u0430\u043b\u0435\u043a\u043e \u0438\u0434\u0443\u0449\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b<\/font><\/h2>\n<p>  <\/p>\n<blockquote><p>\u0417\u0430\u043a\u0440\u044b\u0432 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u0434\u0432\u0435\u0440\u044c, \u0410\u043d\u0434\u0440\u0435\u0439 \u0432\u043a\u043b\u044e\u0447\u0438\u043b \u0432\u043e\u0434\u0443, \u043f\u043e\u0433\u043b\u044f\u0434\u0435\u043b \u043d\u0430 \u0441\u0432\u043e\u0435 \u043b\u0438\u0446\u043e \u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u0435 \u0438 \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043b\u0435\u0442 \u043f\u044f\u0442\u044c \u043e\u043d\u043e \u043d\u0435 \u0442\u043e \u0447\u0442\u043e \u043f\u043e\u0432\u0437\u0440\u043e\u0441\u043b\u0435\u043b\u043e \u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u0430\u0440\u0435\u043b\u043e, \u0430 \u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043a\u0430\u043a \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0438 \u0435\u0435 \u0440\u0430\u0441\u043a\u043b\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0448\u0442\u0430\u043d\u044b, \u0442\u0440\u0430\u043d\u0441\u0446\u0435\u043d\u0434\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0435\u0434\u0438\u0442\u0430\u0446\u0438\u044f \u0438 \u0433\u0440\u0443\u043f\u043f\u0430 \u201cFleetwood Mac\u201d. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u0445\u043e\u0434\u0443 \u0431\u044b\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0438\u0435 \u043b\u0438\u0446\u0430, \u0432 \u0434\u0443\u0445\u0435 \u043f\u0440\u0435\u0434\u0432\u043e\u0435\u043d\u043d\u044b\u0445 \u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044b\u0445, \u0438\u0437 \u0447\u0435\u0433\u043e \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u0438\u0434\u0443\u0449\u0438\u0445 \u0432\u044b\u0432\u043e\u0434\u043e\u0432. \u041f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u044d\u0442\u0438\u043c \u0432\u044b\u0432\u043e\u0434\u0430\u043c \u0438\u0434\u0442\u0438 \u0442\u0443\u0434\u0430 \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u0435\u0441\u0442\u0432\u0435, \u0410\u043d\u0434\u0440\u0435\u0439 \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u043b \u0437\u0443\u0431\u044b, \u0431\u044b\u0441\u0442\u0440\u043e \u0443\u043c\u044b\u043b\u0441\u044f \u0438 \u043f\u043e\u0448\u0435\u043b \u043a \u0441\u0435\u0431\u0435.<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0434 \u0441\u0442\u0430\u043b \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c, \u043d\u043e \u0438 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0449\u0435 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u044b\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043c\u0435\u043b\u043e \u0437\u0430\u044f\u0432\u043b\u044f\u044e: \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u00ab\u0433\u043e\u0440\u044f\u0447\u0438\u0445\u00bb \u043c\u0435\u0441\u0442 \u2014 \u043a\u043e\u0440\u0435\u043d\u044c \u0432\u0441\u0435\u0445 \u0431\u043b\u0430\u0433!<\/p>\n<h2><font color=\"#3AC1EF\">\u258d\u041d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a<\/font><\/h2>\n<blockquote><p> \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043b\u044e\u0434\u0438 \u0447\u0430\u0441\u0442\u043e \u0441\u043f\u043e\u0440\u0438\u043b\u0438, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0438 \u043b\u043e\u043a\u043e\u043c\u043e\u0442\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u043d\u0435\u0442 \u043d\u0430\u0441 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u0435. \u0411\u044b\u0432\u0430\u043b\u043e, \u0447\u0442\u043e \u043e\u043d\u0438 \u0434\u0435\u043b\u0438\u043b\u0438 \u043f\u0440\u043e\u0448\u043b\u043e\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435 \u0438 \u0447\u0443\u0436\u043e\u0435. \u041d\u043e \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0437\u0430 \u0441\u043f\u0438\u043d\u043e\u0439: \u0436\u0438\u0437\u043d\u044c \u0435\u0434\u0435\u0442 \u0432\u043f\u0435\u0440\u0435\u0434, \u0438 \u043e\u043d\u0438, \u043a\u0430\u043a \u0432\u0438\u0434\u0438\u0448\u044c, \u0438\u0441\u0447\u0435\u0437\u043b\u0438. \u0410 \u0447\u0442\u043e \u0432 \u0432\u044b\u0441\u043e\u0442\u0435? \u0421\u043b\u0435\u043f\u043e\u0435 \u0437\u0434\u0430\u043d\u0438\u0435 \u0437\u0430 \u043e\u043a\u043d\u043e\u043c \u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u044b\u0431\u0438 \u043b\u0435\u0442. \u041d\u0443\u0436\u0435\u043d \u043a\u043b\u044e\u0447, \u0430 \u043e\u043d \u0443 \u0442\u0435\u0431\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u2013 \u0442\u0430\u043a \u043a\u0430\u043a \u0442\u044b \u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u0448\u044c \u0438 \u043a\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u044a\u044f\u0432\u0438\u0448\u044c? \u0415\u0434\u0435\u043c \u043f\u043e\u0434 \u0441\u0442\u0443\u043a \u043a\u043e\u043b\u0435\u0441, \u0432\u044b\u0445\u043e\u0434\u0438\u043c \u043f\u043e\u0441\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0443\u043c \u0434\u0432\u0435\u0440\u0438\u00bb.<\/p>\n<p>  &copy; \u0412\u0438\u043a\u0442\u043e\u0440 \u041f\u0435\u043b\u0435\u0432\u0438\u043d \u00ab\u0416\u0435\u043b\u0442\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u0430\u00bb<\/p><\/blockquote>\n<p>  <a href=\"https:\/\/ruvds.com\/news\/read\/142?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=mn3m0n1c_3n3m1&amp;utm_content=kak_ya_uskoril_dvizhok_na_13%\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" width=\"100%\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fd2\/b54\/bc3\/fd2b54bc3722efda2cfd8dc052376907.jpg\"><\/div>\n<p><\/a><br \/>  <a href=\"http:\/\/ruvds.com\/ru-rub?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=mn3m0n1c_3n3m1&amp;utm_content=kak_ya_uskoril_dvizhok_na_13%\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ou\/g5\/kh\/oug5kh6sjydt9llengsiebnp40w.png\"><\/a><\/div>\n<p> \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:\/\/habr.com\/ru\/company\/ruvds\/blog\/562226\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/562226\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/562226\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/da\/uw\/5u\/dauw5usarzybttobvmsujidtf5u.png\"><\/div>\n<p><\/a> <br \/>  \u041d\u0435\u0434\u0430\u0432\u043d\u044f\u044f \u0441\u0442\u0430\u0442\u044c\u044f <a href=\"https:\/\/randomascii.wordpress.com\/2021\/02\/16\/arranging-invisible-icons-in-quadratic-time\/\">\u043e \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432<\/a> \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0430 \u043c\u0435\u043d\u044f \u043d\u0430 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044e \u00ab\u0433\u043e\u0440\u044f\u0447\u0435\u0439\u00bb \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u044f \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b, \u0438 \u043a \u043a\u0430\u043a\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u043b\u043e \u2014 \u044f \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443. \u0417\u0430\u0432\u0430\u0440\u0438 \u0432 \u0447\u0430\u0448\u043a\u0435 \u041f\u0443 \u042d\u0440, \u043e\u0442\u043a\u0438\u043d\u044c\u0441\u044f \u043d\u0430 \u0441\u043f\u0438\u043d\u043a\u0443 \u043a\u0440\u0435\u0441\u043b\u0430:  <\/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-324782","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/324782","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=324782"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/324782\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=324782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=324782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=324782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}