Closed Bug 1778135 Opened 2 years ago Closed 1 year ago

Add profiler markers for ORB to enable debugging with the profiler.

Categories

(Core :: DOM: Networking, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: farre, Assigned: farre)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged][orb:m1])

Attachments

(1 file)

No description provided.
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [necko-triaged]
Depends on: 1532644
Whiteboard: [necko-triaged] → [necko-triaged][orb:m1]
Assignee: nobody → afarre

For profile markers, I am thinking something similar as the setTimeout deferred marker. Then we can tell how much time we spent in the JS validator for each requests, we can give us a sense of the performance impact.

I am also wondering if we should label the ORB blocked requests inside the network tab of profiles. I can imagine this would give us two benefits.

  1. It lowers the barrier of reporting ORB broken sites, as users can just collect a profile instead of opening the browser console.
  2. It allows us to compare the network requests with ORB and without ORB. We can tell how long do we take to block the requests and how would that compare with it is being loaded normally. I am not sure if we can get some action items from this, but it can give us a sense of the impact of ORB.

Please ignore my requests if you have those already :)

I think I have those already! I'm basing these patches (and the telemetry patches) on the patch for bug 1532644.

Unfortunately D163283 doesn't apply cleanly on central, so I'll have to fiddle a bit to submit to review. But I'll try to put up WIP patches tomorrow.

Attachment #9308016 - Attachment description: Bug 1778135 - Add profile markser for ORB safelist check. r=sefeng! → Bug 1778135 - Add profile marker for ORB safelist check. r=smaug!

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:farre, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(kershaw)
Flags: needinfo?(afarre)
Flags: needinfo?(kershaw)
Attachment #9308016 - Attachment description: Bug 1778135 - Add profile marker for ORB safelist check. r=smaug! → Bug 1778135 - Add profile markser for ORB safelist check. r=sefeng!
Attachment #9308016 - Attachment description: Bug 1778135 - Add profile markser for ORB safelist check. r=sefeng! → Bug 1778135 - Add profile marker for ORB safelist check. r=sefeng!
Pushed by afarre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0fd928c03e0f
Add profile marker for ORB safelist check. r=necko-reviewers,smaug,kershaw
Pushed by afarre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e7378046c8f
Add profile marker for ORB safelist check. r=necko-reviewers,smaug,kershaw
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Flags: needinfo?(afarre)
Whiteboard: [necko-triaged][orb:m1] → [necko-triaged][orb:m1] [sp3]
Whiteboard: [necko-triaged][orb:m1] [sp3] → [necko-triaged][orb:m1]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: