Closed Bug 1152604 Opened 9 years ago Closed 2 years ago

Multiple meta platform categories when showing only content in new profiler

Categories

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

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jsantell, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

When recording a profile (via console.profile, although I don't think that matters), I saw two entries for "GC". After bug 1108843, these categories should always be combined if they are leaf nodes.
Attached file dupegc.json (obsolete) —
Here's the profile that has duplicate GC entries.
Attached file extragc.json
It seems that the GC entry for "nsCycleCollector::forgetSkippable" is different than the GC entry for "js::Nursery::collect"
Attachment #8589978 - Attachment is obsolete: true
(In reply to Jordan Santell [:jsantell] [@jsantell] (Please needinfo) from comment #2)
> Created attachment 8710769 [details]
> extragc.json
> 
> It seems that the GC entry for "nsCycleCollector::forgetSkippable" is
> different than the GC entry for "js::Nursery::collect"

forgetSkippable should be CC not GC... is this not so?
I think this is because we create the tree from the samples before renaming to categories, so js::Nursery::collect and GCRuntime::collect would be different nodes in the tree, but they have the same category.
All the platform nodes should be flattened into the same category node -- GC is no different, we have many different Graphics, Network, etc frames with different function names, but combined to the same node (if on the same "depth" level)
(In reply to Jordan Santell [:jsantell] [@jsantell] (Please needinfo) from comment #5)
> All the platform nodes should be flattened into the same category node -- GC
> is no different, we have many different Graphics, Network, etc frames with
> different function names, but combined to the same node (if on the same
> "depth" level)

What if we have two sampled stacks:

1. JS->Pseudo(Gecko)->Psuedo(GC)
2. JS->Pseudo(GC)

Will these leaves be properly flattened to the same category node?
Triaging. Filter on ADRENOCORTICOTROPIC (yes).
OS: Mac OS X → Unspecified
Priority: -- → P3
Hardware: x86 → Unspecified
Version: 37 Branch → unspecified
Product: Firefox → DevTools
Severity: normal → S3

This report is related to the old DevTools profiler implementation, which has been removed. The Performance panel is now based on Firefox Profiler at https://profiler.firefox.com/
Closing as invalid

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: