mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Comment change only, suggestion for leak-testing a set of source code changes.
This commit is contained in:
parent
1e1836b11a
commit
65063f855d
@ -1,5 +1,19 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
#
|
||||||
|
# Munges the output from
|
||||||
|
# XPCOM_MEM_BLOAT_LOG=1; mozilla-bin -f bloaturls.txt
|
||||||
|
# so that it does some summary and stats stuff.
|
||||||
|
#
|
||||||
|
# To show leak test results for a set of changes, do something like this:
|
||||||
|
#
|
||||||
|
# XPCOM_MEM_BLOAT_LOG=1
|
||||||
|
# mozilla -f bloaturls.txt > a.out
|
||||||
|
# **make change**
|
||||||
|
# mozilla -f bloaturls.txt > b.out
|
||||||
|
# bloatdiff.pl a.out b.out
|
||||||
|
#
|
||||||
|
|
||||||
$OLDFILE = $ARGV[0];
|
$OLDFILE = $ARGV[0];
|
||||||
$NEWFILE = $ARGV[1];
|
$NEWFILE = $ARGV[1];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user