Closed Bug 1349761 Opened 3 years ago Closed 3 years ago
Some code from browser-ctrl
Tab .js is showing up in profiles of opening browser windows
Even when the feature is disabled, ctrlTab.readPref is called, and calls uninit() which calls _init(false). I saw this showing up in a profile of restoring a session with 15 empty windows, and it was taking about 0.3% of the time. So the actual performance impact isn't really significant, but after reading the code out of curiosity I was tempted to clean this up, along with a few other code cleanups in the same file.
Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/bb6c2e991584 uninitialize ctrlTab only if it has been initialized before, r=dao.
Iteration: --- → 55.2 - Apr 3
Priority: -- → P1
Whiteboard: [photon] → [photon-performance]
You need to log in before you can comment on or make changes to this bug.