Closed Bug 1169887 Opened 9 years ago Closed 2 years ago

Consecutive similar markers should be aggregated somehow

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sjakthol, Unassigned)

References

Details

Attachments

(2 files)

Attached file testcase.html
STR:
1. Open the attached HTML file.
2. Open profiler and start profiling.
3. Let the recording run for 10-15 seconds.
4. Stop the recording.
5. Look for folded 'Function call' markers and click on a long one.

What happens: The sidebar shows that the function call took [length of the folded marker] seconds while really there was multiple calls a second apart and each took ~0.01ms.

See attached the attached screenshot (especially the upper one is quite confusing).
Attached image screenshots.png
These were backed out in bug 1169439 -- need to come up with a good UX story for these.
Summary: The duration for the parent node of folded markers is misleading → Consecutive similar markers should be aggregated somehow
Keeping everything on a single row sounds like a good idea to me. Basically, maintaing the previous implementation, but don't show the "parent" marker as a single contiguous rectangle.
Check out how Chrome does rasterizing markers -- a bit different as these are on a diff thread, but they have a metamarker "Rasterize x7", and these markers don't have any actionable data. As more meta is added to style/reflow markers, I'd imagine I'd want them uncollapsed by default, but we'll see
On IRC, wilsonpage pinged me of confusion with collapsing of JS markers, since we use different names for generic and specific:

Function Call>
-  Script Tag
-  Script Tag

I think we should reserve any kind of similar marker collapsing to only a few types (recalc, layout, paint)
Triaging. Filter on ADRENOCORTICOTROPIC (yes).
Priority: -- → P3
Product: Firefox → DevTools

Now that we replaced the old performance panel by the Firefox Profiler (see Bug 1668219) we're closing bugs related to this.

Filter on MASSCLOSEOLDPERFTOOLBUGS.

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

Attachment

General

Creator:
Created:
Updated:
Size: