Closed
Bug 1474844
Opened 6 years ago
Closed 6 years ago
Filter out empty categories
Categories
(Toolkit :: Performance Monitoring, enhancement, P1)
Toolkit
Performance Monitoring
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: tarek, Assigned: tarek)
Details
Attachments
(1 file)
We're dropping empty categories + improvements on the tests
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8991251 [details] Bug 1474844 - Filter out empty categories - https://reviewboard.mozilla.org/r/256202/#review263076 Tell me more about this windowId == 0. Thanks. ::: dom/workers/WorkerDebugger.cpp:489 (Diff revision 1) > #else > uint32_t pid = getpid(); > #endif > bool isTopLevel= false; > - uint64_t pwid = 0; > + uint64_t windowID = mWorkerPrivate->WindowID(); > nsPIDOMWindowInner* win = mWorkerPrivate->GetWindow(); for nested worker, if you want to get the window, you must follow the chain of WorkerPrivate. Here an example: https://searchfox.org/mozilla-central/rev/a80651653faa78fa4dfbd238d099c2aad1cec304/dom/console/Console.cpp#702-708 follow up? ::: toolkit/components/perfmonitoring/PerformanceMetricsCollector.cpp:63 (Diff revision 1) > } > MOZ_ASSERT(mPendingResults > 0); > > // Each PerformanceInfo is converted into a PerformanceInfoDictionary > for (const PerformanceInfo& result : aMetrics) { > + if (result.windowId() == 0 && result.host().IsEmpty()) { Why are you excluding them? windowId() == 0 could be a SharedWorker or a ServiceWorker.
Attachment #8991251 -
Flags: review?(amarchesini)
Assignee | ||
Comment 3•6 years ago
|
||
mozreview-review-reply |
Comment on attachment 8991251 [details] Bug 1474844 - Filter out empty categories - https://reviewboard.mozilla.org/r/256202/#review263076 > Why are you excluding them? > > windowId() == 0 could be a SharedWorker or a ServiceWorker. When windowId == 0 and host == "" there's not much we can do with the info in about:performance. since this information is used to identify them, that's why I am dropping them here. What would be the best way to uniquely identify SharedWorker or ServiceWorker ?
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8991251 [details] Bug 1474844 - Filter out empty categories - https://reviewboard.mozilla.org/r/256202/#review263622
Attachment #8991251 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 7•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3b64203285bb6be2ebec37aaf64f78b98da25f07
Comment hidden (mozreview-request) |
Pushed by tziade@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e01bc035fe38 Filter out empty categories - r=baku
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e01bc035fe38
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•