<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 5, 2017 at 12:11 PM, Kris Maglione <span dir="ltr"><<a href="mailto:kmaglione@mozilla.com" target="_blank">kmaglione@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Apr 05, 2017 at 10:05:15AM -0700, Dave Townsend wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Tue, Apr 4, 2017 at 2:44 PM, Ehsan Akhgari <<a href="mailto:ehsan.akhgari@gmail.com" target="_blank">ehsan.akhgari@gmail.com</a>><br>
wrote:<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This does mean that the first extension that gets shipped to all users by<br>
default like this will cause this regression to happen, right?<br>
</blockquote>
<br>
Have we measured this regression? Do we have a bug on file for it?<br>
</span></blockquote>
<br>
Yes. See bug 1317681. I believe it's somewhere around 45ms at this point.</blockquote><div><br></div><div>We have an explicit call to webExtension.startup() in our bootstrap.js – would the performance hit be when the startup method is called, or before then (e.g., when the webExtension object is created)?  Just curious if we could accomplish anything by deferring the startup.</div><div><br></div><div>The other possible regression that Screenshots could introduce is that it adds a content script to all <a href="http://screenshots.firefox.com">screenshots.firefox.com</a> pages.  The content script itself isn't a concern IMHO (it's just part of the performance of screenshot pages) but as a result it does activate the the WebExtension matching code that decides whether to add the content script to a given page.</div><div> <br></div></div></div></div>