{"id":3838,"date":"2011-12-12T10:30:20","date_gmt":"2011-12-12T18:30:20","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=3838"},"modified":"2011-12-12T10:30:20","modified_gmt":"2011-12-12T18:30:20","slug":"sdk-1-3-performance-impact","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/","title":{"rendered":"SDK 1.3 performance impact"},"content":{"rendered":"<p>Recently Jorge Villalobos ran some tests to measure the impact of using the SDK on Firefox start-up time. Jorge published his finding to the Jetpack google news <a href=\"http:\/\/groups.google.com\/group\/mozilla-labs-jetpack\/browse_thread\/thread\/ed9f4c3b21b4c39f?hl=en\" target=\"_blank\">group<\/a>. His results were encouraging:<\/p>\n<blockquote><p>The results were very favorable this time, with the<br \/>\nempty add-on adding only 1.8% (11ms) to startup, and Infocon adding only<br \/>\n3.6% (22ms), on average. As a reference point, after our initial tests<br \/>\nwe decided that 7% was roughly the line where add-on startup overhead<br \/>\nstopped being &#8220;Excellent&#8221; and began being just &#8220;Good&#8221;.<\/p><\/blockquote>\n<p>The methodology of these tests was to measure Firefox start-up time under three different scenarios:<\/p>\n<ol>\n<li>using a clean profile with no addons enabled.<\/li>\n<li>with a single &#8217;empty&#8217; SDK-based add-on enabled.<\/li>\n<li>with a non-trivial add-on enabled.<\/li>\n<\/ol>\n<p>The great thing about this is that we now have solid data that indicates SDK version 1.3 itself has little effect on Firefox start-up time however, as Jorge suggests, there is much more testing that could be done. In particular, we should continue to run these tests to ensure that future versions of the SDK do not degrade start-up performance as we add new modules or make infrastructure changes to the SDK.<\/p>\n<p>If you&#8217;re curious, we test start-up impact using Talos according to this methodology:<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/en\/Measuring_Add-on_Startup_Performance\">https:\/\/developer.mozilla.org\/en\/Measuring_Add-on_Startup_Performance<\/a><\/p>\n<p>If you want to run the tests yourself, Talos is relatively straightforward to set up:<\/p>\n<p><a href=\"https:\/\/wiki.mozilla.org\/StandaloneTalos#How_to_set_up_Talos_for_testing_at_home\">https:\/\/wiki.mozilla.org\/StandaloneTalos#How_to_set_up_Talos_for_testing_at_home<\/a><\/p>\n<p>I should warn you that the tests themselves can take quite some time to complete!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently Jorge Villalobos ran some tests to measure the impact of using the SDK on Firefox start-up time. Jorge published his finding to the Jetpack google news group. His results &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/\">Read more<\/a><\/p>\n","protected":false},"author":316,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,121,588,742],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SDK 1.3 performance impact - Mozilla Add-ons Community Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Griffiths\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/\",\"name\":\"SDK 1.3 performance impact - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2011-12-12T18:30:20+00:00\",\"dateModified\":\"2011-12-12T18:30:20+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SDK 1.3 performance impact\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/\",\"name\":\"Mozilla Add-ons Community Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433\",\"name\":\"Jeff Griffiths\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g\",\"caption\":\"Jeff Griffiths\"},\"description\":\"Jeff is Product Manager for the Firefox Developer Tools and occasional Open Web hacker, based in Vancouver, BC.\",\"sameAs\":[\"http:\/\/canuckistani.ca\/\",\"https:\/\/x.com\/canuckistani\"],\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/jgriffithsmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SDK 1.3 performance impact - Mozilla Add-ons Community Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/","twitter_misc":{"Written by":"Jeff Griffiths","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/","url":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/","name":"SDK 1.3 performance impact - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2011-12-12T18:30:20+00:00","dateModified":"2011-12-12T18:30:20+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/12\/sdk-1-3-performance-impact\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"SDK 1.3 performance impact"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/addons\/#website","url":"https:\/\/blog.mozilla.org\/addons\/","name":"Mozilla Add-ons Community Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433","name":"Jeff Griffiths","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g","caption":"Jeff Griffiths"},"description":"Jeff is Product Manager for the Firefox Developer Tools and occasional Open Web hacker, based in Vancouver, BC.","sameAs":["http:\/\/canuckistani.ca\/","https:\/\/x.com\/canuckistani"],"url":"https:\/\/blog.mozilla.org\/addons\/author\/jgriffithsmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/3838"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/users\/316"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=3838"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/3838\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=3838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=3838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=3838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}