mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00

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
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/