Repository navigation
Measure heap memory usage for more types. Fixes #6951 - #7097
Conversation
|
☔ The latest upstream changes (presumably #7099) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Is anyone there? |
|
cc @jdm |
|
Sorry about this. A bunch of large PRs have all suddenly appeared on my plate and I'm slowly working through them. |
|
☔ The latest upstream changes (presumably #7164) made this pull request unmergeable. Please resolve the merge conflicts. |
|
components/util/mem.rs, line 417 [r1] (raw file): and it's 0 anyways. Comments from the review on Reviewable.io |
|
components/script/mem.rs, line 241 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/xmlhttprequest.rs, line 120 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/nodeiterator.rs, line 30 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/htmlcollection.rs, line 36 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 55 unresolved discussions, some commit checks failed. components/script/dom/element.rs, line 102 [r1] (raw file): components/script/dom/htmlinputelement.rs, line 73 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/element.rs, line 102 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 55 unresolved discussions, some commit checks failed. components/script/dom/htmlcollection.rs, line 36 [r1] (raw file): components/script/dom/htmlinputelement.rs, line 73 [r1] (raw file): components/script/dom/nodeiterator.rs, line 30 [r1] (raw file): components/script/dom/xmlhttprequest.rs, line 120 [r1] (raw file): components/script/mem.rs, line 241 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/element.rs, line 102 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 55 unresolved discussions, some commit checks failed. components/script/dom/element.rs, line 102 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/mem.rs, line 241 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 55 unresolved discussions, some commit checks failed. components/script/mem.rs, line 241 [r1] (raw file): Comments from the review on Reviewable.io |
|
@jdm Is this ok now? |
|
I think there's only one missing change. Reviewed 47 of 48 files at r2. components/script/dom/workerglobalscope.rs, line 96 [r1] (raw file): Comments from the review on Reviewable.io |
|
Oh, sorry :P What about now? |
|
Sorry, one more! Reviewed 1 of 48 files at r2, 1 of 1 files at r3. components/script/dom/nodelist.rs, line 23 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/nodelist.rs, line 23 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 7 unresolved discussions, all commit checks successful. components/script/dom/nodelist.rs, line 0 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/nodelist.rs, line 23 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 7 unresolved discussions, all commit checks successful. components/script/dom/nodelist.rs, line 0 [r1] (raw file): Comments from the review on Reviewable.io |
|
Just notifying you of the commit 🐱 |
|
@bors-servo: r+ Reviewed 1 of 2 files at r4. Comments from the review on Reviewable.io |
|
📌 Commit 4514510 has been approved by |
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 -->
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 :)