author | Nicholas Nethercote <nnethercote@mozilla.com> |
Mon, 20 Oct 2014 17:45:58 -0700 | |
changeset 238829 | 04015991eea05d65a8eb88eb1eb4f4b08ec27252 |
parent 238828 | e6550843ba9f1d545f421e0306f71bfe1d5ba64b |
child 238830 | 4d4abe4bee7ff87f04fb4d17fdd44f5c74af5aea |
push id | 660 |
push user | raliiev@mozilla.com |
push date | Wed, 18 Feb 2015 20:30:48 +0000 |
treeherder | mozilla-release@49e493494178 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mccr8 |
bugs | 1085727 |
milestone | 36.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/memory/replace/dmd/dmd.py +++ b/memory/replace/dmd/dmd.py @@ -607,18 +607,22 @@ def printDigest(args, digest): def printInvocation(n, dmdEnvVar, sampleBelowSize): out('Invocation{:} {{'.format(n)) out(' $DMD = \'' + dmdEnvVar + '\'') out(' Sample-below size = ' + str(sampleBelowSize)) out('}\n') + # Print command line. Strip dirs so the output is deterministic, which is + # needed for testing. + out(separator, end='') + out('# ' + ' '.join(map(os.path.basename, sys.argv)) + '\n') + # Print invocation(s). - out(separator) if type(dmdEnvVar) is not tuple: printInvocation('', dmdEnvVar, sampleBelowSize) else: printInvocation(' 1', dmdEnvVar[0], sampleBelowSize[0]) printInvocation(' 2', dmdEnvVar[1], sampleBelowSize[1]) # Print records. if args.ignore_reports:
--- a/memory/replace/dmd/test/full-heap-empty-expected.txt +++ b/memory/replace/dmd/test/full-heap-empty-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-heap-empty-actual.txt --ignore-reports full-empty.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-heap-sampled-expected.txt +++ b/memory/replace/dmd/test/full-heap-sampled-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-heap-sampled-actual.txt --ignore-reports full-sampled.json Invocation { $DMD = '1' Sample-below size = 128 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-heap-unsampled1-expected.txt +++ b/memory/replace/dmd/test/full-heap-unsampled1-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-heap-unsampled1-actual.txt --ignore-reports full-unsampled1.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-heap-unsampled2-expected.txt +++ b/memory/replace/dmd/test/full-heap-unsampled2-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-heap-unsampled2-actual.txt --ignore-reports full-unsampled2.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-reports-empty-expected.txt +++ b/memory/replace/dmd/test/full-reports-empty-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-reports-empty-actual.txt full-empty.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-reports-sampled-expected.txt +++ b/memory/replace/dmd/test/full-reports-sampled-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-reports-sampled-actual.txt full-sampled.json Invocation { $DMD = '1' Sample-below size = 128 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-reports-unsampled1-expected.txt +++ b/memory/replace/dmd/test/full-reports-unsampled1-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-reports-unsampled1-actual.txt full-unsampled1.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/full-reports-unsampled2-expected.txt +++ b/memory/replace/dmd/test/full-reports-unsampled2-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o full-reports-unsampled2-actual.txt full-unsampled2.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-diff-basic-expected.txt +++ b/memory/replace/dmd/test/script-diff-basic-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-diff-basic-actual.txt script-diff1.json script-diff2.json Invocation 1 { $DMD = '--sample-below=127' Sample-below size = 127 } Invocation 2 { $DMD = '--sample-below=63'
--- a/memory/replace/dmd/test/script-diff-options-expected.txt +++ b/memory/replace/dmd/test/script-diff-options-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-diff-options-actual.txt --ignore-reports script-diff1.json script-diff2.json Invocation 1 { $DMD = '--sample-below=127' Sample-below size = 127 } Invocation 2 { $DMD = '--sample-below=63'
--- a/memory/replace/dmd/test/script-ignore-alloc-fns-expected.txt +++ b/memory/replace/dmd/test/script-ignore-alloc-fns-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-ignore-alloc-fns-actual.txt --ignore-reports --ignore-alloc-fns script-ignore-alloc-fns.json Invocation { $DMD = '1' Sample-below size = 2500 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-max-frames-1-expected.txt +++ b/memory/replace/dmd/test/script-max-frames-1-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-max-frames-1-actual.txt --ignore-reports --max-frames=1 script-max-frames.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-max-frames-3-expected.txt +++ b/memory/replace/dmd/test/script-max-frames-3-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-max-frames-3-actual.txt --ignore-reports --max-frames=3 --no-fix-stacks script-max-frames.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-max-frames-8-expected.txt +++ b/memory/replace/dmd/test/script-max-frames-8-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-max-frames-8-actual.txt --ignore-reports --max-frames=8 script-max-frames.json Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-sort-by-req-expected.txt +++ b/memory/replace/dmd/test/script-sort-by-req-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-sort-by-req-actual.txt --ignore-reports --sort-by=req --no-fix-stacks script-sort-by.json.gz Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-sort-by-slop-expected.txt +++ b/memory/replace/dmd/test/script-sort-by-slop-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-sort-by-slop-actual.txt --ignore-reports --sort-by=slop script-sort-by.json.gz Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------
--- a/memory/replace/dmd/test/script-sort-by-usable-expected.txt +++ b/memory/replace/dmd/test/script-sort-by-usable-expected.txt @@ -1,9 +1,10 @@ #----------------------------------------------------------------- +# dmd.py --filter-stacks-for-testing -o script-sort-by-usable-actual.txt --ignore-reports --sort-by=usable script-sort-by.json.gz Invocation { $DMD = '1' Sample-below size = 1 } #-----------------------------------------------------------------