{"id":1841,"date":"2012-03-21T13:08:20","date_gmt":"2012-03-21T02:08:20","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=1841"},"modified":"2012-03-21T13:52:29","modified_gmt":"2012-03-21T02:52:29","slug":"memshrink-progress-week-40","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2012\/03\/21\/memshrink-progress-week-40\/","title":{"rendered":"MemShrink progress, week 40"},"content":{"rendered":"<p>The past week was fairly quiet for MemShrink.<\/p>\n<h3>Add-ons<\/h3>\n<p>Our <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=730737\">testing of the top 100 installed add-ons<\/a> is progressing slowly.\u00a0 We need more help here.\u00a0 Please join in if you are interested!<\/p>\n<p>The <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=691102\">Image Zoom<\/a> and <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=728528\">Baow<\/a> add-ons were downgraded to &#8220;preliminarily reviewed&#8221; status because they cause zombie compartments, as per the new AMO policy.\u00a0 The main effect of the downgrade is that they&#8217;ll show up lower in AMO search results.<\/p>\n<h3>Miscellaneous<\/h3>\n<p>I <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=712865\">modified the storage of CSS properties and values<\/a> to minimize waste caused by alignment.\u00a0 On 64-bit platforms this reduced the size of a property\/value pair from 24 bytes to 18 bytes, which saves about 0.5MB for an instance of Gmail.\u00a0 (Gmail uses a lots of CSS!)\u00a0 On 32-bit platforms the reduction is 1\/3 the size, with a property\/value pair dropping from 12 to 10 bytes.<\/p>\n<p>Justin Lebar <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=732820\">capped the amount of memory used for decoded images<\/a>.\u00a0 Decoded images in background tabs are currently discarded 20-40 seconds after they stop being visible in the foreground tab.\u00a0 With Justin&#8217;s patch, there is now a second criterion:\u00a0 if the decoded image cap is exceeded, decoded images in background tabs will be discarded until the cap is met.\u00a0 (Decoded images in the foreground tab are never discarded, so it&#8217;s possible that all decoded images in background tabs are discarded and the cap is still exceeded.)\u00a0 The cap defaults to 50MiB, but it can be changed in about:config with the <code>image.mem.max_decoded_image_kb<\/code> option.\u00a0 The main effect of this change is that decoded images in background tabs will be discarded more quickly than they used to be in some circumstances.<\/p>\n<h3>Bug counts<\/h3>\n<p>This week\u2019s bug counts:<\/p>\n<ul>\n<li>P1: 22 (-2\/+0)<\/li>\n<li>P2: 129 (-6\/+3)<\/li>\n<li>P3: 92 (-3\/+3)<\/li>\n<li>Unprioritized: 0 (-0\/+0)<\/li>\n<\/ul>\n<p>That&#8217;s a net reduction of five bugs!\u00a0 Furthermore, we only had five bugs to triage in today&#8217;s MemShrink meeting.\u00a0 Good signs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The past week was fairly quiet for MemShrink. Add-ons Our testing of the top 100 installed add-ons is progressing slowly.\u00a0 We need more help here.\u00a0 Please join in if you are interested! The Image Zoom and Baow add-ons were downgraded to &#8220;preliminarily reviewed&#8221; status because they cause zombie compartments, as per the new AMO policy.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[119,30,4544,4546],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/1841"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=1841"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/1841\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=1841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=1841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=1841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}