Closed
Bug 1383691
Opened 7 years ago
Closed 7 years ago
Performance user/resource entries should be reported in about:memory
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file, 1 obsolete file)
15.86 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
This is the separate bug for the memory report for the Performance API.
Attachment #8889434 -
Flags: review?(bzbarsky)
Comment 2•7 years ago
|
||
Comment on attachment 8889434 [details] [diff] [review] measure.patch >+ nsGlobalWindow* inner = aWindow->IsOuterWindow() ? aWindow->GetCurrentInnerWindowInternal() >+ : aWindow; I'd think we only want to report the performance stuff for an inner window, since that's what it's scoped to. >+ RefPtr<Performance> performance = inner->GetPerformance(); GetPerformance() creates the object if it's not there. Might be a good idea to add an accessor (e.g. GetExistingPerformanceObject() or something) that just returns mPerformance, with comments pointing out that it's meant for use from here only. Or better yet, put this code inside nsGlobalWindow::AddSizeOfIncludingThis so that we don't have to create an accessor at all. Then this will also be able to play nicely with whatever summary stats aWindowTotalSizes is keeping track of. The rest looks good, but please address the above.
Attachment #8889434 -
Flags: review?(bzbarsky) → review-
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8889434 -
Attachment is obsolete: true
Attachment #8889740 -
Flags: review?(bzbarsky)
Comment 4•7 years ago
|
||
Comment on attachment 8889740 [details] [diff] [review] measure.patch r=me
Attachment #8889740 -
Flags: review?(bzbarsky) → review+
Comment 5•7 years ago
|
||
The patch landed with the wrong number (1382768) https://hg.mozilla.org/integration/mozilla-inbound/rev/b17eb8514a10 https://hg.mozilla.org/mozilla-central/rev/b17eb8514a10
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•