Closed Bug 1421651 Opened 7 years ago Closed 1 year ago

Remove docshell markers

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox119 --- wontfix
firefox120 --- wontfix
firefox121 --- fixed

People

(Reporter: gregtatum, Assigned: aabh)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

Attachments

(3 files, 7 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
The docshell markers need to be removed after we've migrated to the new performance recording panel. This is the bug to track that work.
Priority: -- → P3
Blocks: 1278588
Greg, can you add some background about why we want to do this?
Flags: needinfo?(gtatum)
docshell markers are collected via references to the docshell. This is really nice because it's easy to associate a given event with a particular website. The DevTools performance tool uses these, and created a competing implementation with the Gecko Profiler markers. It would be nice to unify these approaches and only have one implementation of markers. https://searchfox.org/mozilla-central/source/docshell/base/timeline We might need to have a broader conversation to figure out exactly how to accomplish this, as the docshell markers are nice in that they can be targeted at one particular docshell, while the Gecko Profiler ones are associated per content process. It would be nice to do some investigation on figuring out how to get some kind of docshell ID in the marker payloads of the Gecko Profiles. See bug 1417976.
Depends on: 1417976
Flags: needinfo?(gtatum)
Product: Firefox → DevTools

The Firefox Profiler markers now have information about the content they relate to. I believe we can remove docshell markers now as I don't think there's any consumer left.

Of course it would be good while doing that that we also have existing equivalent Firefox Profiler markers.

Severity: normal → S3
Assignee: nobody → abrouwersharries

This patch removes the old docshell timeline AutoTimelineMarker from the codebase and replaces it with an equivalent Gecko profiler marker. This patch also fixes Bug 1834143, which is a subset of 1421651.

Attachment #9345041 - Attachment description: Bug 1421651 - Remove AutoTimelineMarker and references in docs r=canaltinova → Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova
Attachment #9346966 - Attachment is obsolete: true
Attachment #9346965 - Attachment is obsolete: true
Attachment #9346964 - Attachment is obsolete: true
Attachment #9346963 - Attachment is obsolete: true
Attachment #9346962 - Attachment is obsolete: true
Attachment #9346961 - Attachment is obsolete: true
Attachment #9346960 - Attachment is obsolete: true
Whiteboard: [fxp]
Component: Performance Tools (Profiler/Timeline) → Gecko Profiler
Product: DevTools → Core

This patch adds an API to count the number of restyles triggered by animations. This API will replace the existing timeline marker based testing of the animation/restyle system.

This commits integrates the new animation triggered restyle counter into the existing tests to ensure that the counter matches the expected marker count.

Depends on D186714

Pushed by abrouwersharries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac079a84284e Add counter API for animation triggered restyles r=emilio
Pushed by abrouwersharries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/073e03319881 Integrate animation triggered restyle counter into tests r=emilio
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Pushed by abrouwersharries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f98030e536f Integrate animation triggered restyle counter into tests r=emilio
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

The above commit only adds the facilities required to enable removal, unfortunately. Re-opening while waiting for D184217, which will definitively close this.

Status: RESOLVED → REOPENED
Flags: needinfo?(abrouwersharries)
Resolution: FIXED → ---
Pushed by abrouwersharries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/714aaf6484fb Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Backout by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0b9fbacd9ede Backed out changeset 714aaf6484fb for causing Bug 1860719. CLOSED TREE
Pushed by abrouwersharries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02f729ed8438 Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau
Target Milestone: 119 Branch → 121 Branch
Flags: needinfo?(abrouwersharries)
Regressions: 1860719
Blocks: 1928393
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: