Closed
Bug 1495389
Opened 6 years ago
Closed 5 years ago
Remove performance front specifics out of toolbox class
Categories
(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P3)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox66 fixed)
RESOLVED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: ochameau, Assigned: yulia)
References
Details
(Whiteboard: dt-fission)
Attachments
(6 files, 6 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Toolbox currently handles performance front instantiation and destruction: https://searchfox.org/mozilla-central/source/devtools/client/framework/toolbox.js#3026-3074 Most of this code should be moved to the front class. The toolbox should only register its event listener and that's it: this.performance.on("*", this._onPerformanceFrontEvent); Moving the initialization code to the front will depend on bug 1495387, while still being able to listen for events will depend on bug 1495386.
Assignee | ||
Updated•6 years ago
|
Summary: Remove performance front speficics out of toolbox class → Remove performance front specifics out of toolbox class
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → ystartsev
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D10564
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D11293
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D11294
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D11295
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D11296
Updated•6 years ago
|
Attachment #9023564 -
Attachment is obsolete: true
Assignee | ||
Comment 8•6 years ago
|
||
This returns the old behavior of populating the performanceController with recordings from the toolbox. This is based on a comment that alex made regarding "console-profile-start" being intrinsic to the toolbox. This is an optional revision Depends on D11296
Assignee | ||
Comment 9•6 years ago
|
||
This introduces some more logic to how async fronts are managed in the target. At some point this will need to be ported to protocol.js' marshalling methods
Assignee | ||
Comment 10•6 years ago
|
||
Depends on D12119
Assignee | ||
Comment 11•6 years ago
|
||
Depends on D12122
Assignee | ||
Comment 12•6 years ago
|
||
Updated•6 years ago
|
Attachment #9026035 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9025669 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9025672 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9024751 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9021823 -
Attachment description: Bug 1495389 - move performance front to async initialization; r=ochameau → Bug 1495389 - add test for expected async behavior in the performance front; r=ochameau
Updated•6 years ago
|
Attachment #9024394 -
Attachment is obsolete: true
Reporter | ||
Updated•6 years ago
|
Whiteboard: dt-fission
Comment 13•5 years ago
|
||
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c4e9eae1c922 add test for expected async behavior in the performance front; r=ochameau https://hg.mozilla.org/integration/autoland/rev/b9ef729af807 adjust test to use new performance front initialization; r=ochameau https://hg.mozilla.org/integration/autoland/rev/854746ccad9c refactor toolbox to no longer queue performance events; r=ochameau https://hg.mozilla.org/integration/autoland/rev/b7b8fe847021 remove destroy method for performance actor; r=ochameau https://hg.mozilla.org/integration/autoland/rev/4d740f3060ce remove instances of toolbox.performance; r=ochameau
Comment 14•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c4e9eae1c922 https://hg.mozilla.org/mozilla-central/rev/b9ef729af807 https://hg.mozilla.org/mozilla-central/rev/854746ccad9c https://hg.mozilla.org/mozilla-central/rev/b7b8fe847021 https://hg.mozilla.org/mozilla-central/rev/4d740f3060ce
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in
before you can comment on or make changes to this bug.
Description
•