New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Audit 2017: Loader Snippet Performance in Edge #163

nicjansma opened this Issue Dec 22, 2017 · 0 comments


None yet
1 participant

nicjansma commented Dec 22, 2017

We've found that the Boomerang Loader Snippet performs significantly worse in Edge:


Bug against the Edge team:

The main cost is in the / .write() / .close(): = function() {
    var js = this.createElement("script");
    if(dom) this.domain = dom; = "boomr-if-as";
    js.src = '<version>.js';
  doc.write('<body onload="document._l();">');

With the above code, the snippet takes ~66ms on my desktop. Without the above, the Edge snippet takes only 4ms.

We should investigate if there's another way of injecting Boomerang in Edge that is more performant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment