mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Various memory measurement improvements (#36834)
The two significant changes here are 1) a commit that frees memory used to perform memory reporting once the reporting is complete, 2) memory reporting for the system font service. There are various other commits that remove `#[ignore_malloc_size_of]` attributes for data that we are now able to measure, but they do not significantly change our measurements when testing servo.org. Testing: Comparing the output of about:memory on servo.org. --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
e9f364ef51
commit
ba8f923201
19 changed files with 135 additions and 49 deletions
|
@ -179,7 +179,7 @@ pub struct Element {
|
|||
/// <https://dom.spec.whatwg.org/#concept-element-is-value>
|
||||
#[no_trace]
|
||||
is: DomRefCell<Option<LocalName>>,
|
||||
#[ignore_malloc_size_of = "Arc"]
|
||||
#[conditional_malloc_size_of]
|
||||
#[no_trace]
|
||||
style_attribute: DomRefCell<Option<Arc<Locked<PropertyDeclarationBlock>>>>,
|
||||
attr_list: MutNullableDom<NamedNodeMap>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue