Open Bug 1410081 Opened 7 years ago Updated 2 months ago

LabeledEventQueue::HasReadyEvent is slow

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

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
You need to log in before you can comment on or make changes to this bug.