gecko-dev/memory/replace/dmd/test/full-sampled-live-expected.txt

82 строки
1.7 KiB
Plaintext
Исходник Обычный вид История

#-----------------------------------------------------------------
Bug 1094552 (part 5) - DMD: choose the profiling mode at start-up. r=mccr8. This patch moves profiling mode selection from post-processing (in dmd.py) to DMD start-up. This will make it easier to add new kinds of profiling, such as cumulative heap profiling. Specifically: - There's a new --mode option. |LiveWithReports| is the default, as it is currently. - dmd.py's --ignore-reports option is gone. - There's a new |mode| field in the JSON output. - Reports-related operations are now no-ops if DMD isn't in LiveWithReports mode. - Diffs are only allowed for output files that have the same mode. - A new function ResetEverything() replaces the SetSampleBelowSize() and ClearBlocks(), which were used by the test to change DMD options. - The tests in SmokeDMD.cpp are split up so they can be run multiple times, in different modes. The exact combinations of tests and modes has been changed a bit. --HG-- rename : memory/replace/dmd/test/full-reports-empty-expected.txt => memory/replace/dmd/test/full-empty-dark-matter-expected.txt rename : memory/replace/dmd/test/full-heap-empty-expected.txt => memory/replace/dmd/test/full-empty-live-expected.txt rename : memory/replace/dmd/test/full-heap-sampled-expected.txt => memory/replace/dmd/test/full-sampled-live-expected.txt rename : memory/replace/dmd/test/full-reports-unsampled1-expected.txt => memory/replace/dmd/test/full-unsampled1-dark-matter-expected.txt rename : memory/replace/dmd/test/full-heap-unsampled1-expected.txt => memory/replace/dmd/test/full-unsampled1-live-expected.txt rename : memory/replace/dmd/test/full-reports-unsampled2-expected.txt => memory/replace/dmd/test/full-unsampled2-dark-matter-expected.txt rename : memory/replace/dmd/test/script-diff-basic-expected.txt => memory/replace/dmd/test/script-diff-live-expected.txt rename : memory/replace/dmd/test/script-diff1.json => memory/replace/dmd/test/script-diff-live1.json rename : memory/replace/dmd/test/script-diff2.json => memory/replace/dmd/test/script-diff-live2.json extra : rebase_source : bf32cc4e0d82aa1a20ceb55e8ea259850b49cc06
2014-12-09 01:45:14 +03:00
# dmd.py --filter-stacks-for-testing -o full-sampled-live-actual.txt full-sampled-live.json
Invocation {
Bug 1094552 (part 5) - DMD: choose the profiling mode at start-up. r=mccr8. This patch moves profiling mode selection from post-processing (in dmd.py) to DMD start-up. This will make it easier to add new kinds of profiling, such as cumulative heap profiling. Specifically: - There's a new --mode option. |LiveWithReports| is the default, as it is currently. - dmd.py's --ignore-reports option is gone. - There's a new |mode| field in the JSON output. - Reports-related operations are now no-ops if DMD isn't in LiveWithReports mode. - Diffs are only allowed for output files that have the same mode. - A new function ResetEverything() replaces the SetSampleBelowSize() and ClearBlocks(), which were used by the test to change DMD options. - The tests in SmokeDMD.cpp are split up so they can be run multiple times, in different modes. The exact combinations of tests and modes has been changed a bit. --HG-- rename : memory/replace/dmd/test/full-reports-empty-expected.txt => memory/replace/dmd/test/full-empty-dark-matter-expected.txt rename : memory/replace/dmd/test/full-heap-empty-expected.txt => memory/replace/dmd/test/full-empty-live-expected.txt rename : memory/replace/dmd/test/full-heap-sampled-expected.txt => memory/replace/dmd/test/full-sampled-live-expected.txt rename : memory/replace/dmd/test/full-reports-unsampled1-expected.txt => memory/replace/dmd/test/full-unsampled1-dark-matter-expected.txt rename : memory/replace/dmd/test/full-heap-unsampled1-expected.txt => memory/replace/dmd/test/full-unsampled1-live-expected.txt rename : memory/replace/dmd/test/full-reports-unsampled2-expected.txt => memory/replace/dmd/test/full-unsampled2-dark-matter-expected.txt rename : memory/replace/dmd/test/script-diff-basic-expected.txt => memory/replace/dmd/test/script-diff-live-expected.txt rename : memory/replace/dmd/test/script-diff1.json => memory/replace/dmd/test/script-diff-live1.json rename : memory/replace/dmd/test/script-diff2.json => memory/replace/dmd/test/script-diff-live2.json extra : rebase_source : bf32cc4e0d82aa1a20ceb55e8ea259850b49cc06
2014-12-09 01:45:14 +03:00
$DMD = '--mode=live --sample-below=128'
Mode = 'live'
Sample-below size = 128
}
#-----------------------------------------------------------------
Live {
~4 blocks in heap block record 1 of 7
~512 bytes (~512 requested / ~0 slop)
Individual block sizes: ~128 x 3; 128
35.56% of the heap (35.56% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
Live {
1 block in heap block record 2 of 7
256 bytes (256 requested / 0 slop)
17.78% of the heap (53.33% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
Live {
1 block in heap block record 3 of 7
160 bytes (160 requested / 0 slop)
11.11% of the heap (64.44% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
Live {
1 block in heap block record 4 of 7
128 bytes (128 requested / 0 slop)
8.89% of the heap (73.33% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
Live {
~1 block in heap block record 5 of 7
~128 bytes (~128 requested / ~0 slop)
8.89% of the heap (82.22% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
Live {
~1 block in heap block record 6 of 7
~128 bytes (~128 requested / ~0 slop)
8.89% of the heap (91.11% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
Live {
~1 block in heap block record 7 of 7
~128 bytes (~128 requested / ~0 slop)
8.89% of the heap (100.00% cumulative)
Allocated at {
#01: ... DMD.cpp ...
}
}
#-----------------------------------------------------------------
Summary {
Total: ~1,440 bytes in ~10 blocks
}