Closed Bug 1923463 Opened 1 year ago Closed 1 year ago

AutoProfileRunnable distorts ETW profiles

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: smaug, Assigned: bas.schouten)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3][fxp])

Attachments

(1 file)

It shows up for example in News-Site-Next sp3 profiles.

I think this is Windows specific, since it seems enabling ETW will add some profiler marker overhead in these cases due to https://searchfox.org/mozilla-central/rev/488d81581a9142d532bf814efa60564ff11599ca/tools/profiler/public/ProfilerMarkers.h#139

Bas, can you make this check whether we're actually collecting runnable information with the current ETW session?

Flags: needinfo?(bas)
Summary: AutoProfileRunnable is slow → AutoProfileRunnable distorts ETW profiles

(In reply to Olli Pettay [:smaug][bugs@pettay.fi] from comment #0)

It shows up for example in News-Site-Next sp3 profiles.

A link to an example profile would be nice.

Flags: needinfo?(smaug)
Whiteboard: [sp3]
Assignee: nobody → bas
Status: NEW → ASSIGNED

This should do the job.

Flags: needinfo?(bas)
Priority: -- → P2
Whiteboard: [sp3] → [sp3][fxp]
Pushed by bschouten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc486d6d2a1f Avoid profiling runnables when using ETW and not collecting scheduling information. r=mstange,profiler-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: