Closed Bug 1631402 Opened 4 years ago Closed 2 years ago

remove code in pickle.cc recording start/end timestamps purely for probes that have expired

Categories

(Core :: IPC, task, P5)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox77 --- wontfix
firefox97 --- fixed

People

(Reporter: Gijs, Assigned: nika)

References

Details

(Whiteboard: [fxperf:p2][fxperfsize=S])

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/a4d62e09a4c46aef918667fa759bf9ae898dc258/toolkit/components/telemetry/Histograms.json#13442-13464

These expired in version 60, but the code is still there, and can be expensive - in https://perfht.ml/2Vqjbal (which is a debug build), the resulting calls to RtlQueryPerformanceCounter top the list of where the worker is spending time - and this is on top of the fact that it's a worker so the probe presumably doesn't care about the data from there, only for the main thread (filtering for which happens only after recording the start time, https://searchfox.org/mozilla-central/rev/a4d62e09a4c46aef918667fa759bf9ae898dc258/ipc/chromium/src/base/pickle.cc#460-469 ).

Blocks: 1346866
Whiteboard: [fxperf] → [fxperf:p2][fxperfsize=S]

The priority flag is not set for this bug.
:jld, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jld)
Flags: needinfo?(jld)
Priority: -- → P5
Severity: -- → N/A
Type: defect → task
Summary: pickle.cc is recording start/end timestamps purely for probes that have expired → remove code in pickle.cc recording start/end timestamps purely for probes that have expired
Assignee: nobody → nika
Status: NEW → ASSIGNED
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/686ae9e71a9c
Remove expired IPC_MAIN_THREAD_LATENCY probes, r=ipc-reviewers,mccr8
Flags: needinfo?(nika)
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/70ef1676998c
Remove expired IPC_MAIN_THREAD_LATENCY probes, r=ipc-reviewers,mccr8
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: