Closed
Bug 1143915
Opened 10 years ago
Closed 10 years ago
memory and timeline actors should support multiple "start" calls
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
With console.profile recording, we ultimately need to get additional start times from these actors, as we can have multiple recordings at once with different start/stop times.
We can have a separate "getTime" method on these actors, or can have subsequent "start" calls just return a time if its already recording (currently they bail out if already recording, so this just provides a way to get the accurate timing.)
Probably should be uplifted to Fx38.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jsantell
Assignee | ||
Comment 1•10 years ago
|
||
Thoughts on uplifting this? Should we do the same for stop methods, even though we don't currently use them?
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7032b1d7e7fc
Attachment #8578336 -
Flags: review?(vporof)
Comment 2•10 years ago
|
||
Comment on attachment 8578336 [details] [diff] [review]
1143915-start-actors.patch
Review of attachment 8578336 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/devtools/server/actors/timeline.js
@@ +243,3 @@
> }
> this._isRecording = true;
> this._startTime = this.docShells[0].now();
While we're at it, let's remove the `this._startTime`, since it's not used anywhere anymore.
Attachment #8578336 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Also removed this._startTime
Attachment #8578336 -
Attachment is obsolete: true
Attachment #8578694 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8579525 -
Flags: checkin?(ryanvm)
Comment 6•10 years ago
|
||
Comment on attachment 8579525 [details] [diff] [review]
1143915-2-fix-allocations-test.patch
https://hg.mozilla.org/integration/fx-team/rev/3d5b8440fdf4
Attachment #8579525 -
Flags: checkin?(ryanvm)
https://hg.mozilla.org/mozilla-central/rev/58aa499dc005
https://hg.mozilla.org/mozilla-central/rev/3d5b8440fdf4
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•