Closed
Bug 1140569
Opened 9 years ago
Closed 9 years ago
timeline should show asyncParent
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
8.96 KB,
patch
|
Details | Diff | Splinter Review |
Now that stack traces can have an asyncParent (see bug 1083359), this information should be displayed on timeline markers as well.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ttromey
Assignee | ||
Comment 1•9 years ago
|
||
This arranges for async parents to be displayed in a timeline marker's stack trace. Right now these seem to be attached to promises, but more could be added later. I went back and forth on how to indicate that the parent frame is async. Right now I have it show "(Async: Cause)" as its own line in the stack trace. The "Cause" is the string supplied by the core. For promises, it is "Promise".
Assignee | ||
Comment 2•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d7052b73363e
Assignee | ||
Updated•9 years ago
|
Attachment #8575433 -
Flags: review?(vporof)
Comment 3•9 years ago
|
||
Comment on attachment 8575433 [details] [diff] [review] show async stacks attached to timeline markers Review of attachment 8575433 [details] [diff] [review]: ----------------------------------------------------------------- Cool
Attachment #8575433 -
Flags: review?(vporof) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 4•9 years ago
|
||
I just remembered this will need a slight rebase once bug 1141553 goes in. So removing checkin-needed for now.
Keywords: checkin-needed
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8575433 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d3cf2d70afa5
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Comment 8•9 years ago
|
||
Setting qe-verify- since this is already covered by automated testing. Tom, if you think there's something manual QA should look at here, please flip that flag.
Flags: qe-verify-
Updated•9 years ago
|
Keywords: dev-doc-needed
Comment 9•9 years ago
|
||
Sorry for the spam. Moving bugs to Firefox :: Developer Tools: Performance Tools (Profiler/Timeline). dkl
Component: Developer Tools: Timeline → Developer Tools: Performance Tools (Profiler/Timeline)
Comment 10•9 years ago
|
||
I've added something to the Waterfall page on this: https://developer.mozilla.org/en-US/docs/Tools/Performance/Waterfall#Async_stack. Does that cover it? It seems like this is new in Firefox 41 (I don't see it in Firefox 40), although this bug landed a while ago.
Flags: needinfo?(ttromey)
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to Will Bamberg [:wbamberg] from comment #10) > I've added something to the Waterfall page on this: > https://developer.mozilla.org/en-US/docs/Tools/Performance/ > Waterfall#Async_stack. Does that cover it? It seems like this is new in > Firefox 41 (I don't see it in Firefox 40), although this bug landed a while > ago. I don't know what version it first worked in. This looks good to me. One minor thing is that, while right now we only have async stacks for Promises, at some point there will be async stacks for many more things. See bug 1148593. Also, there has been some discussion of preffing off async stacks due to performance issues; there are some bugs open about this as well.
Flags: needinfo?(ttromey)
Updated•9 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•