Closed Bug 1147604 Opened 5 years ago Closed 4 years ago

Inverted call trees should list (root) as leaves

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P2)

37 Branch
x86
macOS
defect

Tracking

(firefox40 fixed)

RESOLVED FIXED
Firefox 40
Tracking Status
firefox40 --- fixed

People

(Reporter: jsantell, Assigned: fitzgen)

References

Details

Attachments

(1 file)

Example script:
let a = () => b();
let b = () => console.log("");

for (let i = 10000; i; --i) {
  a();
  b();
}

In an inverted tree view, my tree is:

b
 \_ a

Which indicates that b is only called from a, which is not the case, as it can be called directly.

b
 \_ a
 \_ (root)

Not sure how important this is, because if this was wrapped in another function, it'd render fine:

b
 \_ a
   \_ wrapper
 \_ wrapper
Attachment #8598854 - Flags: review?(jsantell)
Attachment #8598854 - Flags: review?(jsantell) → review+
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Priority: -- → P2
https://hg.mozilla.org/mozilla-central/rev/bf89860e49f7
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.