Performance/MemShrink/DMD: Difference between revisions

Line 35: Line 35:
If you are on a sufficiently recent build (post-{{bug|1013652}}), visit about:memory and click the "DMD" button. (The button won't be present in non-DMD builds, and will be grayed out in DMD builds if DMD isn't enabled at start-up.)
If you are on a sufficiently recent build (post-{{bug|1013652}}), visit about:memory and click the "DMD" button. (The button won't be present in non-DMD builds, and will be grayed out in DMD builds if DMD isn't enabled at start-up.)


If you are on an older build create a bookmark with the following location:
If you are on an older build, visit about:memory, open the web console (with ctrl-shift-k) and in the prompt at the very bottom enter:


   javascript:DMDReportAndDump("out.dmd")
   DMDReportAndDump('out.dmd')
 
and click that instead. Note that this silently fails on certain special pages such as about:memory or an empty tab.


Both actions invoke all the memory reporters and then DMD analyzes the reports, printing this commentary:
Both actions invoke all the memory reporters and then DMD analyzes the reports, printing this commentary:
Confirmed users
1,345

edits