Open Bug 1585327 Opened 5 years ago Updated 2 years ago

Add normal-priority event queue delay time to Responsiveness measurements

Categories

(Core :: Performance, enhancement, P2)

enhancement

Tracking

()

Performance Impact medium

People

(Reporter: jesup, Unassigned)

References

Details

(Keywords: perf:responsiveness)

The Responsiveness ("jank") recorded by bug 1572337 records eventqueue responsiveness for all threads, and Input-priority responsiveness ("Jank") for PrioritizedEventQueues (aka MainThread).

It would be useful to be able to know the event queue delay for normal events on MainThread as well as for Input events. This merely requires another profiler buffertype and an argument to GetRunningEventDelay to specify which priority we care about.

Corresponding changes to the profiler webapp are needed to handle the new buffertype and display it.

roughly this in DoPeriodicSample():
if (is_a_prioritized_event_queue) {
aRegisteredThread.GetRunningEventDelay(currentEventDelay, currentEventRunning, EventQueuePriority::Normal);
buffer.AddEntry(ProfileBufferEntry::EventQueueDelay(EventQueuePriority::Normal, timeSinceRunningEventQueued));
}

Whiteboard: [qf:p2:responsiveness]
Priority: -- → P2
Assignee: nobody → rjesup

FYI

Assignee: rjesup → nobody
Flags: needinfo?(gsquelart)
Performance Impact: --- → P2
Whiteboard: [qf:p2:responsiveness]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.