Open
Bug 960662
Opened 10 years ago
Updated 2 years ago
Implement console.takeHeapSnapshot
Categories
(DevTools :: Memory, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: fitzgen, Unassigned)
References
Details
We can use the exposed to JS function that creates a dominator tree that includes the given obj and we could report its retained memory size as a console message. The benefit of implementing this early, before the whole tool is ready, is that we can get early users to shake out bugs in our dominator tree and ubi::Node implementations and land tests so no one else breaks our stuff, etc.
Updated•10 years ago
|
Whiteboard: [status:planned
Updated•10 years ago
|
Whiteboard: [status:planned → [status:planned]
Updated•10 years ago
|
Whiteboard: [status:planned] → [status:inflight]
Reporter | ||
Updated•9 years ago
|
Has STR: --- → irrelevant
Reporter | ||
Comment 1•8 years ago
|
||
I don't think we want to save a heap snapshot, compute a dominator tree, and return the retained size of one object all as a console method. Migrating this bug to be a method for taking a heap snapshot (if the devtools are open) via the console.
Priority: -- → P3
Summary: Implement console.retainedSize(obj) → Implement console.takeHeapSnapshot
Whiteboard: [status:inflight]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•