Closed Bug 1410081 Opened 7 years ago Closed 8 months ago

LabeledEventQueue::HasReadyEvent is slow

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: smaug, Unassigned)

References

(Blocks 1 open bug)

Details

In a Zoom profile HasReadyEvent takes 1% of the time in the main thread in the test case linked in https://bugzilla.mozilla.org/show_bug.cgi?id=1254240#c0. 80% of it is the hashtable iterator.
er, actually the method itself takes most of the time, and then of the rest of the stuff underneath, hashtable iteration is 80%
We should at least stop copying the first entry of the queue that we look at on each iteration of the loop. =/
Depends on: 1410086
Severity: normal → S3

LabeledEventQueue doesn't exist any more. If there's some other problem with whatever the modern equivalent is, let's get a newer bug.

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