gecko-dev/tools/rb
Gabriele Svelto 1b38644136 Bug 1493365 - Reduce the amount of memory consumed when reading symbol files r=ted
When reworking the script each entry holding a function name was replaced by a
dictionary holding both the function name and its size. This significantly
increased memory consumption as using a full-fledged dictionary for only two
fields is very space inefficient. This patch uses a named tuple instead of a
dictionary for every entry, reducing memory consumption by almost four times.

Differential Revision: https://phabricator.services.mozilla.com/D6603

--HG--
extra : moz-landing-system : lando
2018-09-24 20:43:37 +00:00
..
filter-log.pl
find_leakers.py
find-comptr-leakers.pl
fix_linux_stack.py
fix_macosx_stack.py
fix_stack_using_bpsyms.py Bug 1493365 - Reduce the amount of memory consumed when reading symbol files r=ted 2018-09-24 20:43:37 +00:00
make-tree.pl
python.ini Bug 1470223 - Prefer FUNC entries to PUBLIC entries when fixing symbols r=ted 2018-09-21 12:50:32 +00:00
README
test_fix_stack_using_bpsyms.py Bug 1470223 - Prefer FUNC entries to PUBLIC entries when fixing symbols r=ted 2018-09-21 12:50:32 +00:00

This is the Refcount Balancer.  See
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Refcount_tracing_and_balancing
for documentation.

Previous CVS history for the perl scripts is available at:
http://www.mozilla.org/webtools/bonsai/cvslog.cgi?file=mozilla-org/html/performance/find-leakers.pl&rev=&root=/cvsroot/
http://www.mozilla.org/webtools/bonsai/cvslog.cgi?file=mozilla-org/html/performance/make-tree.pl&rev=&root=/cvsroot/