Closed Bug 1340714 Opened 8 years ago Closed 3 years ago

Change the way responsiveness information is calculated for Gecko profiler samples

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox54 --- affected

People

(Reporter: mstange, Unassigned)

Details

At the moment we calculate responsiveness times by submitting an event to the event loop (CheckResponsivenessTask) and checking how long it took between dispatch and processing. This tells us by how much the event loop is backed up for normal priority events. With different event priorities, this value will become less meaningful. Ehsan told me that what he usually is interested in is whether there are long-running single tasks that the event loop is busy with. So I'm proposing we change the meaning of the "responsiveness" value to be, for each point of time, the time since we started processing the task that's currently running. This requires a bit more instrumentation in the event loop. The disadvantage of this approach is that we won't notice that anything is wrong if the event loop is backed up with a very large number of very short running tasks.
Component: Gecko Profiler → Build Config
Component: Build Config → Gecko Profiler

The responsiveness computation was changed in bug 1572337, so I don't think we'll tackle this bug here.

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