gecko-dev/memory/replace/dmd
Nicholas Nethercote a479e9ccad Bug 1121830 - DMD: add "num" property to blocks in the output. r=mccr8.
The new "num" property lets identical blocks be aggregated in the output. This
patch only uses the "num" property for dead blocks, because that's where the
greatest potential benefit lies, but it could be used for live blocks as well.

On one test case (a complex PDF file) running with --mode=cumulative
--sample-below=1 this patch had the following effects.

- Change in running speed was negligible.

- Compressed output file size dropped from 8.8 to 5.0 MB.

- Compressed output file size dropped from 297 to 50 MB.

- dmd.py runtime (without stack fixing) dropped from 30 to 8 seconds.

--HG--
extra : rebase_source : 46a32058cd5c31cd823fe3f1accb5e68bcd320f3
2015-01-15 20:38:38 -08:00
..
test Bug 1121830 - DMD: add "num" property to blocks in the output. r=mccr8. 2015-01-15 20:38:38 -08:00
DMD.cpp Bug 1121830 - DMD: add "num" property to blocks in the output. r=mccr8. 2015-01-15 20:38:38 -08:00
DMD.h Bug 1121830 - DMD: add "num" property to blocks in the output. r=mccr8. 2015-01-15 20:38:38 -08:00
dmd.py Bug 1121830 - DMD: add "num" property to blocks in the output. r=mccr8. 2015-01-15 20:38:38 -08:00
moz.build Bug 1122337 - Mark DMD directories as FAIL_ON_WARNINGS. r=glandium. 2015-01-15 21:17:18 -08:00
README

This is DMD.  See https://wiki.mozilla.org/Performance/MemShrink/DMD for
details on how to use it.