On Wed, Jul 11, 2018 at 5:42 AM, David Bruant <bruan...@gmail.com> wrote:
> > > * Andrew McCreight created a tool for tracking JS memory usage, and >> figuring >> out which scripts and objects are responsible for how much of it >> (https://bugzil.la/1463569). >> > How often is this code run? Is there a place to find the daily output of > this tool applied to a nightly build for instance? > You have to manually run this using a special build (hopefully I'll be able to at least land code so that a special build is not needed). It isn't clear from that description, but the focus here is on the chrome JS that is part of the browser, rather than on websites. Reducing content process chrome JS memory usage is going to have to be a big focus for this effort, because I believe other browsers don't write their UI in JS, and the way JIT stuff works it is harder to share code memory between processes than with AOT compiled code. If you look at about:memory, there's already a decent breakdown of how much memory is used in JS for different things, but that doesn't help you figure out which individual scripts are taking up memory. JSMs and content scripts are run in only a few globals (to save memory), but that means that looking up how much memory a global uses doesn't tell you much. Andrew > Thanks again, > > David > > _______________________________________________ > firefox-dev mailing list > firefox-...@mozilla.org > https://mail.mozilla.org/listinfo/firefox-dev > > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform