Measuring data structure sizes: Firefox (C++) vs. Servo (Rust)

Firefox’s about:memory page presents fine-grained measurements of memory usage. Here’s a short example. 725.84 MB (100.0%) — explicit ├──504.36 MB (69.49%) — window-objects │ ├──115.84 MB (15.96%) — top(https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound, id=2147483655) │ │ ├───85.30 MB (11.75%) — active │ │ │ ├──84.75 MB (11.68%) — window(https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound) │ │ │ │ ├──36.51 MB (05.03%) — dom │ … Continue reading Measuring data structure sizes: Firefox (C++) vs. Servo (Rust)