{"id":216641,"date":"2014-03-21T15:55:04","date_gmt":"2014-03-21T11:55:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=216641"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=216641","title":{"rendered":"<span class=\"post_title\">\u0411\u044b\u0441\u0442\u0440\u044b\u0439 gzip \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u0440\u043e\u0435\u043a\u0442 <a href=\"https:\/\/github.com\/nodeca\/pako\">pako<\/a>, \u044d\u0442\u043e \u043f\u043e\u0440\u0442 \u043d\u0430 \u044f\u0432\u0430\u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<br \/>  \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u0438 \u0438 \u0434\u0435\u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 <a href=\"http:\/\/zlib.net\">zlib<\/a>. <\/p>\n<p>  \u041e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0435\u043d \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0435\u0441\u0442\u043e\u0432.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0430 \u0434\u0432\u0438\u0436\u043a\u0435 v8 \u0433\u043e\u0434\u043e\u0432\u0430\u043b\u043e\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043d\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u0445<br \/>  \u0432\u0441\u0435\u0433\u043e \u0432 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0440\u0430\u0437\u0430 \u0443\u0441\u0442\u0443\u043f\u0430\u043b\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 C. \u0410 \u0432 \u0431\u043e\u043b\u0435\u0435<br \/>  \u0441\u0432\u0435\u0436\u0435\u0439 \u043d\u043e\u0434\u0435 \u043e\u0442\u0440\u044b\u0432 \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043b\u0441\u044f \u0434\u043e 1.2-1.3 \u0440\u0430\u0437. \u0412\u043e\u0442 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438:<\/p>\n<p>  node v0.10.26, 1mb sample:<\/p>\n<blockquote><p> deflate-dankogai x 4.74 ops\/sec \u00b10.68% (15 runs sampled)<br \/>   deflate-gildas x 4.61 ops\/sec \u00b11.73% (15 runs sampled)<br \/>   deflate-imaya x 3.10 ops\/sec \u00b13.73% (11 runs sampled)<br \/>  ! deflate-pako x 7.11 ops\/sec \u00b10.26% (21 runs sampled)<br \/>   deflate-pako-untyped x 4.34 ops\/sec \u00b11.35% (14 runs sampled)<br \/>   deflate-zlib x 14.34 ops\/sec \u00b12.90% (68 runs sampled)<br \/>   inflate-dankogai x 31.29 ops\/sec \u00b10.72% (56 runs sampled)<br \/>   inflate-imaya x 30.49 ops\/sec \u00b10.84% (53 runs sampled)<br \/>  ! inflate-pako x 70.00 ops\/sec \u00b11.60% (71 runs sampled)<br \/>   inflate-pako-untyped x 17.67 ops\/sec \u00b11.27% (33 runs sampled)<br \/>   inflate-zlib x 70.82 ops\/sec \u00b11.69% (81 runs sampled)<\/p><\/blockquote>\n<p>  node v0.11.11, 1mb sample:<\/p>\n<blockquote><p> deflate-dankogai x 5.61 ops\/sec \u00b10.30% (17 runs sampled)<br \/>   deflate-gildas x 4.97 ops\/sec \u00b15.68% (16 runs sampled)<br \/>   deflate-imaya x 3.53 ops\/sec \u00b14.19% (12 runs sampled)<br \/>  ! deflate-pako x 11.52 ops\/sec \u00b10.23% (32 runs sampled)<br \/>   deflate-pako-untyped x 5.12 ops\/sec \u00b11.44% (17 runs sampled)<br \/>   deflate-zlib x 14.33 ops\/sec \u00b13.34% (63 runs sampled)<br \/>   inflate-dankogai x 42.96 ops\/sec \u00b10.19% (57 runs sampled)<br \/>   inflate-imaya x 85.05 ops\/sec \u00b11.07% (71 runs sampled)<br \/>  ! inflate-pako x 97.58 ops\/sec \u00b10.69% (80 runs sampled)<br \/>   inflate-pako-untyped x 18.06 ops\/sec \u00b10.65% (56 runs sampled)<br \/>   inflate-zlib x 60.60 ops\/sec \u00b12.04% (67 runs sampled)<\/p><\/blockquote>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0438 \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c, \u0442\u043e<br \/>  \u043c\u0430\u0440\u0448\u0430\u043b\u0438\u043d\u0433 (\u043f\u0440\u043e\u0431\u0440\u043e\u0441 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432 \u044f\u0432\u0430\u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e) \u043d\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443<br \/>  \u043d\u0430 \u00ab\u043b\u0451\u0433\u043a\u043e\u043c\u00bb inflate \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0437\u0430\u0431\u0430\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043a\u043e\u0433\u0434\u0430<br \/>  \u00ab\u044f\u0432\u0430\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0441\u0438\u0448\u043d\u043e\u0433\u043e\u00bb. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a. \u041d\u0430 \u0442\u0435\u0441\u0442\u0430\u0445 deflate,<br \/>  \u0433\u0434\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u043e\u043a\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440, \u0434\u043e\u043b\u044f \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 \u043c\u0430\u0440\u0448\u0430\u043b\u0438\u043d\u0433<br \/>  \u043d\u0435\u0432\u0435\u043b\u0438\u043a\u0430, \u0438 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0435\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0430\u0432\u0434\u043e\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c.<\/p>\n<p>  \u042d\u0442\u043e \u041d\u0415 asm.js. \u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u044f\u0432\u0430\u0441\u043a\u0440\u0438\u043f\u0442. \u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434 v8.<br \/>  \u041d\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/github.com\/Stuk\/jszip\/issues\/102#issuecomment-37722920\">\u0442\u0440\u0435\u043a\u0435\u0440\u0435<br \/>  \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 jszip<\/a>,<br \/>  \u0430\u0432\u0442\u043e\u0440\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0442 pako.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/post\/216641\/\"> http:\/\/habrahabr.ru\/post\/216641\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u0440\u043e\u0435\u043a\u0442 <a href=\"https:\/\/github.com\/nodeca\/pako\">pako<\/a>, \u044d\u0442\u043e \u043f\u043e\u0440\u0442 \u043d\u0430 \u044f\u0432\u0430\u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<br \/>  \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u0438 \u0438 \u0434\u0435\u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 <a href=\"http:\/\/zlib.net\">zlib<\/a>. <\/p>\n<p>  \u041e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0435\u043d \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0435\u0441\u0442\u043e\u0432.  <\/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-216641","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/216641","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=216641"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/216641\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=216641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=216641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=216641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}