Skip to content

Instantly share code, notes, and snippets.

@compojoom
Created June 13, 2017 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save compojoom/92e0b2ca8bab231d9cf4f7924dae540d to your computer and use it in GitHub Desktop.
Save compojoom/92e0b2ca8bab231d9cf4f7924dae540d to your computer and use it in GitHub Desktop.
Memory measurement with disabled addons
Main Process
Explicit Allocations
158.27 MB (100.0%) -- explicit
├───54.50 MB (34.44%) -- js-non-window
│ ├──35.92 MB (22.69%) -- zones
│ │ ├──32.70 MB (20.66%) -- zone(0x112a47000)
│ │ │ ├──21.24 MB (13.42%) ++ (288 tiny)
│ │ │ ├───3.64 MB (02.30%) -- shapes
│ │ │ │ ├──2.53 MB (01.60%) -- gc-heap
│ │ │ │ │ ├──1.85 MB (01.17%) ── tree
│ │ │ │ │ └──0.68 MB (00.43%) ++ (2 tiny)
│ │ │ │ └──1.11 MB (00.70%) ++ malloc-heap
│ │ │ ├───3.64 MB (02.30%) ── unused-gc-things
│ │ │ ├───2.12 MB (01.34%) ++ scopes
│ │ │ └───2.05 MB (01.30%) ++ strings
│ │ ├───2.65 MB (01.68%) -- zone(0x112a20000)
│ │ │ ├──2.57 MB (01.62%) -- strings/string(<non-notable strings>)
│ │ │ │ ├──1.98 MB (01.25%) -- gc-heap
│ │ │ │ │ ├──1.98 MB (01.25%) ── latin1
│ │ │ │ │ └──0.00 MB (00.00%) ── two-byte
│ │ │ │ └──0.59 MB (00.37%) ++ malloc-heap
│ │ │ └──0.09 MB (00.05%) ++ (5 tiny)
│ │ └───0.57 MB (00.36%) ++ (2 tiny)
│ ├──16.04 MB (10.13%) -- runtime
│ │ ├───6.76 MB (04.27%) ── script-data
│ │ ├───5.14 MB (03.25%) -- gc
│ │ │ ├──5.00 MB (03.16%) ── nursery-committed
│ │ │ └──0.14 MB (00.09%) ++ (3 tiny)
│ │ ├───2.10 MB (01.33%) ── atoms-table
│ │ └───2.04 MB (01.29%) ++ (11 tiny)
│ └───2.55 MB (01.61%) -- gc-heap
│ ├──2.00 MB (01.26%) ── unused-chunks
│ └──0.55 MB (00.35%) ++ (2 tiny)
├───31.96 MB (20.19%) ── heap-unclassified
├───16.88 MB (10.66%) -- window-objects
│ ├───7.85 MB (04.96%) -- top(chrome://browser/content/browser.xul, id=5)
│ │ ├──6.15 MB (03.88%) -- active
│ │ │ ├──6.00 MB (03.79%) -- window(chrome://browser/content/browser.xul)
│ │ │ │ ├──1.83 MB (01.16%) ++ js-compartment([System Principal], about:blank)
│ │ │ │ ├──1.77 MB (01.12%) ── style-sheets
│ │ │ │ ├──1.67 MB (01.05%) ++ layout
│ │ │ │ └──0.74 MB (00.47%) ++ (2 tiny)
│ │ │ └──0.14 MB (00.09%) ++ window(about:blank)
│ │ └──1.70 MB (01.08%) ++ js-zone(0x1233f9000)
│ ├───3.54 MB (02.24%) -- top(https://self-repair.mozilla.org/de/repair, id=27)
│ │ ├──2.15 MB (01.36%) ++ js-zone(0x12277c000)
│ │ └──1.40 MB (00.88%) ++ active
│ ├───3.22 MB (02.03%) ++ (5 tiny)
│ └───2.27 MB (01.43%) ++ top(chrome://browser/content/hiddenWindow.xul, id=1)
├───13.47 MB (08.51%) -- heap-overhead
│ ├──10.73 MB (06.78%) ── bin-unused
│ ├───1.79 MB (01.13%) ── bookkeeping
│ └───0.95 MB (00.60%) ── page-cache
├───11.13 MB (07.03%) -- gfx
│ ├──10.95 MB (06.92%) ── heap-textures
│ └───0.18 MB (00.12%) ++ (4 tiny)
├────9.22 MB (05.82%) -- storage/sqlite
│ ├──3.25 MB (02.05%) -- places.sqlite
│ │ ├──3.09 MB (01.95%) ── cache-used [3]
│ │ └──0.16 MB (00.10%) ++ (2 tiny)
│ ├──2.14 MB (01.36%) -- webappsstore.sqlite
│ │ ├──2.11 MB (01.34%) ── cache-used [2]
│ │ └──0.03 MB (00.02%) ++ (2 tiny)
│ ├──1.94 MB (01.23%) ++ (4 tiny)
│ └──1.88 MB (01.19%) ── other
├────6.80 MB (04.30%) ++ (15 tiny)
├────4.42 MB (02.79%) -- workers/workers(chrome)
│ ├──2.27 MB (01.43%) ++ worker(resource://gre/modules/osfile/osfile_async_worker.js, 0x11d0de800)
│ └──2.15 MB (01.36%) ++ worker(resource:///modules/sessionstore/SessionWorker.js, 0x121f09800)
├────3.95 MB (02.49%) -- startup-cache
│ ├──3.95 MB (02.49%) ── data
│ └──0.00 MB (00.00%) ── mapping
├────2.36 MB (01.49%) -- images
│ ├──1.71 MB (01.08%) ++ chrome
│ └──0.65 MB (00.41%) ++ content/raster/used
├────1.95 MB (01.23%) ++ layout
└────1.65 MB (01.04%) ++ xpconnect
Other Measurements
5.39 MB (100.0%) -- decommitted
├──4.41 MB (81.87%) ── js-non-window/gc-heap/decommitted-arenas
└──0.98 MB (18.13%) -- workers/workers(chrome)
├──0.51 MB (09.43%) ── worker(resource:///modules/sessionstore/SessionWorker.js, 0x121f09800)/gc-heap/decommitted-arenas
└──0.47 MB (08.70%) ── worker(resource://gre/modules/osfile/osfile_async_worker.js, 0x11d0de800)/gc-heap/decommitted-arenas
1,684 (100.0%) -- event-counts
└──1,684 (100.0%) -- window-objects
├──1,185 (70.37%) -- top(chrome://browser/content/browser.xul, id=5)/active
│ ├──1,183 (70.25%) -- window(chrome://browser/content/browser.xul)/dom
│ │ ├──1,166 (69.24%) ── event-listeners
│ │ └─────17 (01.01%) ── event-targets
│ └──────2 (00.12%) ── window(about:blank)/dom/event-targets [2]
├────264 (15.68%) -- top(chrome://browser/content/hiddenWindow.xul, id=1)/active
│ ├──247 (14.67%) -- window(chrome://browser/content/hiddenWindow.xul)/dom
│ │ ├──246 (14.61%) ── event-listeners
│ │ └────1 (00.06%) ── event-targets
│ └───17 (01.01%) ++ (2 tiny)
├────201 (11.94%) -- top(about:newtab, id=18)/active
│ ├──200 (11.88%) -- window(about:newtab)/dom
│ │ ├──199 (11.82%) ── event-listeners
│ │ └────1 (00.06%) ── event-targets
│ └────1 (00.06%) ── window(about:blank)/dom/event-targets
├─────19 (01.13%) ++ top(about:memory, id=16)/active
└─────15 (00.89%) ++ (3 tiny)
1 (100.0%) -- file-blob-urls
└──1 (100.0%) ── owner unknown/blob:null/995a37d9-3d06-8a42-b3a1-87b49cf27d78
117.03 MB (100.0%) -- heap-committed
├──103.56 MB (88.49%) ── allocated
└───13.47 MB (11.51%) ── overhead
2.36 MB (100.0%) -- images
├──1.71 MB (72.62%) -- chrome
│ ├──1.08 MB (45.63%) -- vector/used
│ │ ├──1.07 MB (45.49%) ── source
│ │ └──0.00 MB (00.14%) ── decoded-heap
│ └──0.64 MB (26.99%) -- raster
│ ├──0.63 MB (26.88%) -- used
│ │ ├──0.45 MB (18.89%) ── decoded-nonheap
│ │ ├──0.10 MB (04.45%) ── source
│ │ └──0.08 MB (03.53%) ── decoded-heap
│ └──0.00 MB (00.11%) ++ unused
└──0.65 MB (27.38%) -- content/raster/used
├──0.64 MB (27.16%) ── source
└──0.01 MB (00.23%) ── decoded-heap
66.17 MB (100.0%) -- js-main-runtime
├──24.15 MB (36.50%) -- zones
│ ├───6.18 MB (09.33%) -- shapes
│ │ ├──4.57 MB (06.90%) -- gc-heap
│ │ │ ├──3.33 MB (05.03%) ── tree
│ │ │ ├──1.07 MB (01.62%) ── dict
│ │ │ └──0.16 MB (00.25%) ── base
│ │ └──1.61 MB (02.43%) -- malloc-heap
│ │ ├──0.88 MB (01.34%) ── tree-tables
│ │ └──0.73 MB (01.10%) ++ (2 tiny)
│ ├───4.94 MB (07.46%) ── unused-gc-things
│ ├───4.75 MB (07.18%) -- strings
│ │ ├──2.49 MB (03.76%) -- malloc-heap
│ │ │ ├──1.35 MB (02.04%) ── two-byte
│ │ │ └──1.14 MB (01.72%) ── latin1
│ │ └──2.26 MB (03.42%) -- gc-heap
│ │ ├──2.17 MB (03.29%) ── latin1
│ │ └──0.09 MB (00.13%) ── two-byte
│ ├───2.91 MB (04.39%) -- scopes
│ │ ├──1.64 MB (02.47%) ── malloc-heap
│ │ └──1.27 MB (01.92%) ── gc-heap
│ ├───1.86 MB (02.81%) ── type-pool
│ ├───1.62 MB (02.45%) -- object-groups
│ │ ├──1.58 MB (02.39%) ── gc-heap
│ │ └──0.04 MB (00.06%) ── malloc-heap
│ ├───1.11 MB (01.67%) ++ (5 tiny)
│ └───0.79 MB (01.20%) ── shape-tables
├──23.44 MB (35.42%) -- compartments
│ ├──13.82 MB (20.88%) -- classes/objects
│ │ ├──11.44 MB (17.29%) ── gc-heap
│ │ └───2.37 MB (03.58%) -- malloc-heap
│ │ ├──2.08 MB (03.14%) ── slots
│ │ └──0.29 MB (00.44%) ++ (2 tiny)
│ ├───5.20 MB (07.86%) -- scripts
│ │ ├──3.34 MB (05.04%) ── gc-heap
│ │ └──1.86 MB (02.82%) ── malloc-heap/data
│ ├───1.56 MB (02.36%) ++ (7 tiny)
│ ├───1.20 MB (01.81%) -- type-inference
│ │ ├──0.79 MB (01.19%) ── object-type-tables
│ │ └──0.41 MB (00.61%) ++ (2 tiny)
│ ├───0.96 MB (01.45%) ── cross-compartment-wrapper-table
│ └───0.70 MB (01.07%) ── private-data
├──16.04 MB (24.23%) ── runtime
└───2.55 MB (03.85%) -- gc-heap
├──2.00 MB (03.02%) ── unused-chunks
└──0.55 MB (00.83%) ++ (2 tiny)
312 (100.0%) -- js-main-runtime-compartments
├──301 (96.47%) -- system
│ ├──291 (93.27%) ++ (291 tiny)
│ ├────6 (01.92%) ── [System Principal], about:blank [6]
│ └────4 (01.28%) ── [System Principal], inProcessTabChildGlobal?ownedBy=chrome://browser/content/browser.xul [4]
└───11 (03.53%) -- user
├───8 (02.56%) ── about:blank [8]
└───3 (00.96%) ++ (3 tiny)
32.59 MB (100.0%) -- js-main-runtime-gc-heap-committed
├──25.65 MB (78.71%) -- used
│ ├──24.61 MB (75.52%) -- gc-things
│ │ ├──11.44 MB (35.12%) ── objects
│ │ ├───4.40 MB (13.51%) ── shapes
│ │ ├───3.34 MB (10.24%) ── scripts
│ │ ├───2.26 MB (06.94%) ── strings
│ │ ├───1.58 MB (04.85%) ── object-groups
│ │ ├───1.27 MB (03.90%) ── scopes
│ │ └───0.31 MB (00.96%) ++ (4 tiny)
│ ├───0.55 MB (01.68%) ── chunk-admin
│ └───0.49 MB (01.51%) ── arena-admin
└───6.94 MB (21.29%) -- unused
├──4.94 MB (15.16%) -- gc-things
│ ├──2.40 MB (07.36%) ── objects
│ ├──1.19 MB (03.65%) ── shapes
│ ├──0.54 MB (01.66%) ── object-groups
│ ├──0.47 MB (01.43%) ── strings
│ └──0.35 MB (01.06%) ++ (6 tiny)
├──2.00 MB (06.14%) ── chunks
└──0.00 MB (00.00%) ── arenas
235 (100.0%) -- message-manager
└──235 (100.0%) -- referent
├──184 (78.30%) -- global-manager
│ ├──184 (78.30%) ── strong
│ └────0 (00.00%) ++ weak
├───40 (17.02%) -- parent-process-manager
│ ├──40 (17.02%) ── strong
│ └───0 (00.00%) ++ weak
└───11 (04.68%) -- child-process-manager
├──11 (04.68%) ── strong
└───0 (00.00%) ++ weak
824 (100.0%) -- observer-service
└──824 (100.0%) -- referent
├──634 (76.94%) ── strong
└──190 (23.06%) -- weak
├──190 (23.06%) ── alive
└────0 (00.00%) ── dead
270 (100.0%) -- observer-service-suspect
├──145 (53.70%) ── referent(topic=xpcom-shutdown)
└──125 (46.30%) ── referent(topic=memory-pressure)
1,252 (100.0%) -- preference-service
└──1,252 (100.0%) -- referent
├──1,087 (86.82%) ── strong
└────165 (13.18%) -- weak
├──165 (13.18%) ── alive
└────0 (00.00%) ── dead
5.50 MB (100.0%) -- window-objects
├──2.22 MB (40.31%) -- layout
│ ├──0.89 MB (16.11%) ── style-sets
│ ├──0.45 MB (08.21%) ── style-structs
│ ├──0.33 MB (06.03%) ── pres-shell
│ ├──0.24 MB (04.40%) ── rule-nodes
│ ├──0.14 MB (02.51%) ── frames
│ ├──0.10 MB (01.86%) ── style-contexts
│ └──0.07 MB (01.19%) ++ (3 tiny)
├──2.03 MB (36.84%) ── style-sheets
├──1.25 MB (22.72%) -- dom
│ ├──0.83 MB (15.01%) ── element-nodes
│ ├──0.36 MB (06.51%) ── other
│ └──0.07 MB (01.21%) ++ (5 tiny)
└──0.01 MB (00.12%) ── property-tables
0.00 MB ── gfx-surface-quartz
0.00 MB ── gfx-textures
0.00 MB ── gfx-textures-peak
0.00 MB ── gfx-tiles-waste
0 ── ghost-windows
103.56 MB ── heap-allocated
1.00 MB ── heap-chunksize
133.00 MB ── heap-mapped
1 ── host-object-urls
0.51 MB ── imagelib-surface-cache-estimated-locked
0.51 MB ── imagelib-surface-cache-estimated-total
0 ── imagelib-surface-cache-overflow-count
1.74 MB ── js-main-runtime-temporary-peak
19 ── page-faults-hard
98,862 ── page-faults-soft
311.62 MB ── resident
338.58 MB ── resident-peak
185.70 MB ── resident-unique
5,719.92 MB ── vsize
End of Main Process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment