{"id":187,"date":"2013-06-28T17:15:01","date_gmt":"2013-06-28T21:15:01","guid":{"rendered":"http:\/\/blog.mozilla.org\/nfroyd\/?p=187"},"modified":"2013-06-28T17:15:01","modified_gmt":"2013-06-28T21:15:01","slug":"chasing-down-android-performance-problems","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nfroyd\/2013\/06\/28\/chasing-down-android-performance-problems\/","title":{"rendered":"chasing down android performance problems"},"content":{"rendered":"<p>In the last week or two, I&#8217;ve started looking at speeding up our startup and page render speed on Android.\u00a0 We want to be significantly faster on things like <a href=\"http:\/\/eideticker.wrla.ch\/#\/samsung-gn\/nytimes-load\/timetostableframe\">eideticker&#8217;s New York Times loading benchmark<\/a>.\u00a0 Notable things that have happened this week:<\/p>\n<ul>\n<li><a href=\"http:\/\/sriramramani.wordpress.com\/\">Sriram Ramasubramanian<\/a> shaved a couple hundred milliseconds off startup by <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=886528\">changing how we construct menus<\/a>.<\/li>\n<li>There&#8217;s a longstanding bug about <a title=\"gcc version comparison, part 1.5\/n: corrections\" href=\"http:\/\/blog.mozilla.org\/nfroyd\/2013\/02\/03\/gcc-version-comparison-part-1-5n-corrections\/\">how we determine whether to enable linker deletion of dead code<\/a> on Unix platforms; <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=887902\">this bug has bitten Android<\/a>.\u00a0 Once it gets fixed, Android libxul should get significantly smaller, which translates into less I\/O and faster startup times.<\/li>\n<li>I&#8217;ve been looking at adding <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=887824\">more Android-only startup timeline events<\/a> so it&#8217;s easier to find which areas are contributing more to startup time.<\/li>\n<li>Changing <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=760152\">when we load libxul<\/a> will improve performance on multi-core devices; <a href=\"http:\/\/glandium.org\/blog\">Mike Hommey<\/a> and <a href=\"http:\/\/blog.lassey.us\/\">Brad Lassey<\/a> are both looking into this.<\/li>\n<li>Network performance on Android can be quite different from desktop.\u00a0 <a href=\"http:\/\/bitsup.blogspot.com\/search\/label\/firefox\">Patrick McManus<\/a> has been looking into that and has found <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=888268\">latency issues in how common ethernet drivers on Android work<\/a>.\u00a0 With some tweaks to our networking code, performance on wifi connections is significantly improved.<\/li>\n<\/ul>\n<p>Want to contribute?\u00a0 Know of something that affects startup or page load time on Android?\u00a0 We have <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=807322\">an open bug for all issues connected with Android startup<\/a>.\u00a0 Start looking there!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last week or two, I&#8217;ve started looking at speeding up our startup and page render speed on Android.\u00a0 We want to be significantly faster on things like eideticker&#8217;s New York Times loading benchmark.\u00a0 Notable things that have happened this week: Sriram Ramasubramanian shaved a couple hundred milliseconds off startup by changing how we [&hellip;]<\/p>\n","protected":false},"author":320,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[15889,31952,62,794],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/posts\/187"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/users\/320"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}