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)

37 Branch
x86
macOS
defect
Not set
normal

Tracking

(firefox39 fixed)

RESOLVED FIXED
Firefox 39
Tracking Status
firefox39 --- fixed

People

(Reporter: jsantell, Assigned: jsantell)

References

Details

Attachments

(2 files, 1 obsolete file)

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.
Blocks: 1077464
Assignee: nobody → jsantell
Attached patch 1143915-start-actors.patch (obsolete) (deleted) — Splinter Review
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 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+
Attached patch 1143915-start-actors.patch (deleted) — Splinter Review
Also removed this._startTime
Attachment #8578336 - Attachment is obsolete: true
Attachment #8578694 - Flags: review+
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: