<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hooray for some semblance of performance testing!<br>
</p>
<p>Do you know why ChromeUtils doesn't just have a function for
defining multiple getters? Surely loading a module to avoid
loading modules is self-defeating?</p>
<p>GL<br>
</p>
<div class="moz-cite-prefix">On 29/08/2020 09:43, Mark Banner wrote:<br>
</div>
<blockquote type="cite"
cite="mid:442e4a3c-f02b-d206-5fc7-8ae10cdb1efe@mozilla.com">
<li>Instead, use `ChromeUtils.defineModuleGetter` or
`XPCOMUtils.defineLazyModuleGetters` - these handle
automatically lazy loading your modules when they are actually
needed.</li>
</blockquote>
</body>
</html>