Auto merge of #7097 - boghison:memtypes, r=jdm

Measure heap memory usage for more types. Fixes #6951

Also adds HeapSizeOf implementations/derive for some types. I've used "Cannot calculate Heap size" as a reason everywhere, because my imagination is rather limited. If you'd like me to change this message for specific types, please write something like this: "Trusted - Cannot calculate Heap size for Trusted" so that it would be easier for me to replace them through a script :)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7097)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-13 13:16:14 -06:00
commit a03616f379
175 changed files with 669 additions and 94 deletions

View file

@ -13,7 +13,7 @@
#![deny(unsafe_code)]
#![feature(custom_derive, plugin)]
#![plugin(serde_macros)]
#![plugin(serde_macros, plugins)]
#[macro_use]
extern crate bitflags;