diff options
Diffstat (limited to 'toolkit/components/aboutmemory/tests/memory-reports-good.json')
-rw-r--r-- | toolkit/components/aboutmemory/tests/memory-reports-good.json | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/toolkit/components/aboutmemory/tests/memory-reports-good.json b/toolkit/components/aboutmemory/tests/memory-reports-good.json new file mode 100644 index 0000000000..21b6d5b0aa --- /dev/null +++ b/toolkit/components/aboutmemory/tests/memory-reports-good.json @@ -0,0 +1,146 @@ +{ + "version": 1, + "hasMozMallocUsableSize": true, + "reports": [ + { + "process": "Main Process (pid NNN)", + "path": "heap-allocated", + "kind": 2, + "units": 0, + "amount": 262144000, + "description": "Heap allocated." + }, + { + "process": "Main Process (pid NNN)", + "path": "other/b", + "kind": 2, + "units": 0, + "amount": 104857, + "description": "Other b." + }, + { + "process": "Main Process (pid NNN)", + "path": "other/a", + "kind": 2, + "units": 0, + "amount": 209715, + "description": "Other a." + }, + { + "process": "Main Process (pid NNN)", + "path": "explicit/a/b", + "kind": 1, + "units": 0, + "amount": 52428800, + "description": "A b." + }, + + { + "process": "Main Process (pid NNN)", + "path": "size/a", + "kind": 1, + "units": 0, + "amount": 1024, + "description": "non-sentence" + }, + { + "process": "Main Process (pid NNN)", + "path": "rss/a", + "kind": 1, + "units": 0, + "amount": 1024, + "description": "non-sentence" + }, + { + "process": "Main Process (pid NNN)", + "path": "pss/a", + "kind": 1, + "units": 0, + "amount": 1024, + "description": "non-sentence" + }, + { + "process": "Main Process (pid NNN)", + "path": "swap/a", + "kind": 1, + "units": 0, + "amount": 1024, + "description": "non-sentence" + }, + { + "process": "Main Process (pid NNN)", + "path": "compartments/system/a", + "kind": 1, + "units": 0, + "amount": 1024, + "description": "" + }, + { + "process": "Main Process (pid NNN)", + "path": "ghost-windows/a", + "kind": 1, + "units": 0, + "amount": 1024, + "description": "" + }, + + { + "process": "Heap-unclassified process", + "path": "heap-allocated", + "kind": 2, + "units": 0, + "amount": 262144000, + "description": "Heap allocated." + }, + { + "process": "Heap-unclassified process", + "path": "explicit/a/b", + "kind": 1, + "units": 0, + "amount": 52428800, + "description": "A b." + }, + { + "process": "Heap-unclassified process", + "path": "explicit/heap-unclassified", + "kind": 1, + "units": 0, + "amount": 209715200, + "description": "Heap unclassified" + }, + + { + "process": "Explicit-only process", + "path": "explicit/a/b", + "kind": 1, + "units": 0, + "amount": 100000, + "description": "A b." + }, + + { + "process": "Other-only process", + "path": "a/b", + "kind": 1, + "units": 0, + "amount": 100000, + "description": "A b." + }, + { + "process": "Other-only process", + "path": "a/c", + "kind": 1, + "units": 0, + "amount": 100000, + "description": "A c." + }, + { + "process": "Other-only process", + "path": "heap-allocated", + "kind": 1, + "units": 0, + "amount": 500000, + "description": "D." + } + ] +} |