{"id":7576,"date":"2013-07-09T16:50:16","date_gmt":"2013-07-09T21:50:16","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=7576"},"modified":"2015-08-16T13:12:33","modified_gmt":"2015-08-16T17:12:33","slug":"why-mobile-web-apps-are-slow","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/07\/09\/why-mobile-web-apps-are-slow\/","title":{"rendered":"Why Mobile Web Apps Are Slow"},"content":{"rendered":"<p>This whole long <a href=\"http:\/\/sealedabstract.com\/rants\/why-mobile-web-apps-are-slow\/\">article by Drew Crawford<\/a> is worth reading, but here are some interesting nuggets:<\/p>\r\n<blockquote cite=\"http:\/\/sealedabstract.com\/rants\/why-mobile-web-apps-are-slow\/\"><p>The thing is, JITing JavaScript was a 60-year old idea with 60 years of research, and literally thousands of implementations for every conceivable programming language demonstrating that it was a good idea.  But now that we&rsquo;ve done it, we&rsquo;ve run out of 60-year-old ideas.  That&rsquo;s all, folks.  Show&rsquo;s over.  Maybe we can grow another good idea in the next 60 years.<\/p><\/blockquote>\r\n<blockquote cite=\"http:\/\/sealedabstract.com\/rants\/why-mobile-web-apps-are-slow\/\"><p>But at any rate, what I can tell you, from publicly available information, is that Apple&rsquo;s claims of 3.8x faster whatever does not necessarily translate into anything useful to you. I can also tell you that if I had benchmarks that refuted Apple&rsquo;s claims of beating Chrome, I would not be allowed to publish them.<\/p><\/blockquote>\r\n<blockquote cite=\"http:\/\/sealedabstract.com\/rants\/why-mobile-web-apps-are-slow\/\"><p>What this chart says is &ldquo;As long as you have about 6 times as much memory as you really need, you&rsquo;re fine [with garbage collection]. But woe betide you if you have less than 4x the required memory.&rdquo;<\/p><\/blockquote>\r\n<p>There are also some good comments on <a href=\"https:\/\/news.ycombinator.com\/item?id=6013784\">Hacker News<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This whole long article by Drew Crawford is worth reading, but here are some interesting nuggets: The thing is, JITing JavaScript was a 60-year old idea with 60 years of research, and literally thousands of implementations for every conceivable programming language demonstrating that it was a good idea. But now that we&rsquo;ve done it, we&rsquo;ve [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[248,351,288,456,31,346,46,54,103,96],"class_list":["post-7576","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-android","tag-c-sharp","tag-garbargecollection","tag-googlechrome","tag-ios","tag-javascript","tag-languagedesign","tag-objective-c","tag-safari","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=7576"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7576\/revisions"}],"predecessor-version":[{"id":11975,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7576\/revisions\/11975"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=7576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=7576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=7576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}