aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlhtmlelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-07-15 17:37:30 -0600
committerbors-servo <metajack+bors@gmail.com>2015-07-15 17:37:30 -0600
commit2b0bdbe1c195f2f6dd7671981999d622c505fbc5 (patch)
treea24b89075cb57933e6ba9c60f5f944bd5eb77dd9 /components/script/dom/htmlhtmlelement.rs
parent10f3a89313464c98f11ff64fed741abcba6352a6 (diff)
parent7429b90e02effd086681196050f400b2d1836903 (diff)
downloadservo-2b0bdbe1c195f2f6dd7671981999d622c505fbc5.tar.gz
servo-2b0bdbe1c195f2f6dd7671981999d622c505fbc5.zip
Auto merge of #6572 - nnethercote:js-reporting, r=jdm
Wire up the JS engine's memory reporting. SpiderMonkey provides an extremely fine-grained breakdown of memory usage, but for Servo we aggregate the measurements into a small number of coarse buckets, which seems appropriate for the current level of detail provided by Servo's memory profiler. Sample output: ``` | 17.41 MiB -- url(file:///home/njn/moz/servo/../servo-static-suite/wikipedia/Guardians%20of%20the%20Galaxy%20(film)%20-%20Wikipedia,%20the%20free%20encyclopedia.html) | 7.32 MiB -- js | 3.07 MiB -- malloc-heap | 3.00 MiB -- gc-heap | 2.48 MiB -- used | 0.34 MiB -- decommitted | 0.09 MiB -- unused | 0.09 MiB -- admin | 1.25 MiB -- non-heap ``` Most of the changes are plumbing to get the script task communicating with the memory profiler task. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6572) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlhtmlelement.rs')
0 files changed, 0 insertions, 0 deletions