mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Refactor common infrastructure for creating memory reports. (#36579)
This removes a bunch of duplicated code needed to support ConditionalMallocSizeOf correctly, and fixes multiple places where that code was subtly wrong (the seen pointers hashset was never cleared). Testing: Measuring https://www.nist.gov/image-gallery lots of times. Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
2a81987590
commit
5e2d42e944
11 changed files with 68 additions and 57 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -5835,6 +5835,7 @@ dependencies = [
|
|||
"log",
|
||||
"malloc_size_of_derive",
|
||||
"serde",
|
||||
"servo_allocator",
|
||||
"servo_config",
|
||||
"servo_malloc_size_of",
|
||||
"signpost",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue